Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lttng create
- lttng enable-event -k sched_switch,sys_enter,sys_exit
- lttng add-context -k -t pid -t comm -t tid -t ppid -t perf:branch-instructions -t perf:branch-misses -t perf:context-switches
- lttng add-context -k -e sched_switch -t perf:major-faults
- lttng add-context -k -e sys_enter -t perf:branch-load-misses -t perf:context-switches
- lttng start
- sleep 10
- lttng stop
- lttng destroy
- 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 ] }
- comm = ?
- perf_context_switches = 5 and perf_context_switches = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement