debian: update instructions
[lttng-docs.git] / contents / getting-started / viewing-and-analyzing.md
index 72255e74eb6487220fc758f1f891387a568822a4..988ddec12cfd05c6177ee5b7b6068989f0873c5f 100644 (file)
@@ -20,11 +20,7 @@ Many ways exist to read your LTTng traces:
     is an Eclipse plugin used to visualize and analyze various types of
     traces, including LTTng's. It also comes as a standalone application
     and can be downloaded from
-    <a href="http://secretaire.dorsal.polymtl.ca/~gbastien/TracingRCP/TraceCompass/" class="ext">here</a>
-    for a daily build of the latest source code. A version containing
-    some experimental features like Virtual Machine analysis and
-    Critical Path analysis is also available
-    <a href="http://secretaire.dorsal.polymtl.ca/~gbastien/TracingRCP/DorsalExperimental/" class="ext">here</a>.
+    <a href="http://projects.eclipse.org/projects/tools.tracecompass/downloads" class="ext">here</a>.
 
 LTTng trace files are usually recorded in the `~/lttng-traces` directory.
 Let's now view the trace and perform a basic analysis using
@@ -37,8 +33,8 @@ path to `babeltrace` with no options:
 babeltrace ~/lttng-traces/my-session
 </pre>
 
-`babeltrace` will find all traces within the given path recursively and
-output all their events, merging them intelligently.
+`babeltrace` finds all traces within the given path recursively and
+prints all their events, merging them in order of time.
 
 Listing all the system calls of a Linux kernel trace with their arguments is
 easy with `babeltrace` and `grep`:
@@ -130,7 +126,7 @@ def top5proc():
         last_ts = cur_ts
 
     # display top 10
-    for name, ns in exec_times.most_common()[:5]:
+    for name, ns in exec_times.most_common(5):
         s = ns / 1000000000
         print('{:20}{} s'.format(name, s))
 
@@ -147,8 +143,8 @@ python3 top5proc.py ~/lttng-sessions/my-session-.../kernel
 </pre>
 
 Make sure the path you provide is the directory containing actual trace
-files (`channel0_0`, `metadata`, etc.): the `babeltrace` utility recurses
-directories, but the Python binding does not.
+files (`channel0_0`, `metadata`, and the rest): the `babeltrace` utility
+recurses directories, but the Python binding does not.
 
 Here's an example of output:
 
This page took 0.025936 seconds and 4 git commands to generate.