Commit | Line | Data |
---|---|---|
3e06508b JD |
1 | #!/bin/bash |
2 | ||
3 | # Just create the live session on localhost | |
4 | ||
5 | SESSION_NAME="lttngtop-live-simple" | |
6 | ||
7 | lttng create $SESSION_NAME --live 1000000 -U net://localhost | |
8 | lttng enable-event -s $SESSION_NAME -k lttng_statedump_start,lttng_statedump_end,lttng_statedump_process_state,lttng_statedump_file_descriptor,lttng_statedump_vm_map,lttng_statedump_network_interface,lttng_statedump_interrupt,sched_process_free,sched_switch,sched_process_fork | |
9 | lttng enable-event -s $SESSION_NAME -k --syscall -a | |
10 | lttng add-context -s $SESSION_NAME -k -t pid -t procname -t tid -t ppid -t perf:cache-misses -t perf:major-faults -t perf:branch-load-misses | |
11 | lttng start $SESSION_NAME |