X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=README;fp=README;h=2900cdf998d6c888bf0fcd181ee7b637b7b77ca8;hp=0d67972735d7e0cfdd672dd28a44eb13ae8dddac;hb=2f6b00433643f92ec5c2881d724c14e7eb326e7a;hpb=8c05e516f6a15a48e16797311e331ff9df5ff18c diff --git a/README b/README index 0d67972..2900cdf 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ LTTngTop -Julien Desfossez +Julien Desfossez April 2012 Lttngtop is an ncurses interface for reading and browsing traces recorded by @@ -11,31 +11,8 @@ version is in alpha and will be available for testing soon. USAGE ----- -Record a trace with LTTng 2.0 with at least the sched_switch event, and the pid, -procname, tid, ppid contexts. To have the perftop view working you can enable -any number of perf contexts (depending on your hardware). -For the iotop view, you need to have some syscall events : sys_read, sys_write -and exit_syscall. - -Once your trace is recorded, you can use lttngtop this way : -$ lttngtop /path/to/your/trace - -Make sure you have read permissions on the whole directory. - -EXAMPLE -------- -# 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 - -# Run lttngtop -lttngtop $HOME/lttng-traces/lttngtop-... +The manpage located in the doc folder of this source tree documents the usage +of LTTngTop. BUILDING --------