From bc02a7aa917596e98027f6b44f9e3f145e369161 Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Thu, 23 Feb 2012 22:24:38 -0500 Subject: [PATCH] Remove the # in the example so we can just copy/paste it to a shell Signed-off-by: Yannick Brosseau Signed-off-by: Julien Desfossez --- README | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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 -------- -- 2.34.1