Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. lttng create
  2. lttng enable-event -k sched_switch,sys_enter,sys_exit
  3. lttng add-context -k -t pid -t comm -t tid -t ppid -t perf:branch-instructions -t perf:branch-misses -t perf:context-switches
  4. lttng add-context -k -e sched_switch -t perf:major-faults
  5. lttng add-context -k -e sys_enter -t perf:branch-load-misses -t perf:context-switches
  6. lttng start
  7. sleep 10
  8. lttng stop
  9. lttng destroy
  10.  
  11.  
  12. timestamp = 92409287441910, name = sys_enter, stream.packet.context = { cpu_id = 1 }, stream.event.context = { perf_context_switches = 5, perf_branch_misses = 395136991272, perf_branch_instructions = 35, ppid = 153744, tid = 0, comm = "<B2><8C>^_", pid = 1735552856 }, event.context = { perf_context_switches = 0, perf_branch_load_misses = 15397457756160 }, event.fields = { id = 16, args = [ [0] = 9, [1] = 3222037606, [2] = 140736606975696, [3] = 0, [4] = 0, [5] = 1 ] }
  13.  
  14. comm = ?
  15. perf_context_switches = 5 and perf_context_switches = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement