X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=README;h=b2fed8845367c8274f66224046eeee31e4d693da;hp=4bb510cae2b7cf94f7dbc14daa7d5390ad05e3ce;hb=69362330631ab42f9fa2a949ceeed334ae50a6a6;hpb=c263c4eb55ebd2b6caf659a7f524f9543df41544 diff --git a/README b/README index 4bb510c..b2fed88 100644 --- a/README +++ b/README @@ -24,17 +24,18 @@ Make sure you have read permissions on the whole directory. EXAMPLE ------- - -# lttng create lttngtop -# lttng enable-event -k sched_switch -# lttng add-context -k -t pid -t procname -t tid -t ppid -t perf:cache-misses \ +# Get root (or ideally just launch lttng-sessiond as root) +lttng create lttngtop +lttng enable-event -k sched_switch +lttng add-context -k -t pid -t procname -t tid -t ppid -t perf:cache-misses \ -t perf:major-faults -t perf:branch-load-misses -# lttng start -# ...do stuff... -# lttng stop -# lttng destroy +lttng start +#...do stuff... +lttng stop +lttng destroy -$ lttngtop $HOME/lttng-traces/lttngtop-... +# Run lttngtop +lttngtop $HOME/lttng-traces/lttngtop-... BUILDING --------