add lttctl explanation
[lttv.git] / ltt / branches / poly / QUICKSTART
index be476a14154b4fe9a9644f4be1d38d49416a30ce..59ffb96e9a4cdd4b8468612476ffe8674a02232d 100644 (file)
@@ -98,9 +98,9 @@ echo ltt-control >> /etc/modules
 
 su -
 cd /usr/src
-wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.5-16092005.tar.gz
-gzip -cd LinuxTraceToolkitViewer-0.5-16092005.tar.gz | tar xvof -
-cd LinuxTraceToolkitViewer-0.5-16092005
+wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.6.1-16092005.tar.gz
+gzip -cd LinuxTraceToolkitViewer-0.6.1-16092005.tar.gz | tar xvof -
+cd LinuxTraceToolkitViewer-0.6.1-16092005
 (refer to README to see the development libraries that must be installed on you
 system)
 ./configure
@@ -111,10 +111,10 @@ make install
 
 
 ***********************************************************
-** Section 3 * Using LTTV                                **
+** Section 3 * Using LTTng and LTTV                      **
 ***********************************************************
 
-* Use graphical LTTV
+* Use graphical LTTV to control tracing and analyse traces
 
 lttv-gui (or /usr/local/bin/lttv-gui)
   - Spot the "Tracing Control" icon : click on it
@@ -125,6 +125,21 @@ lttv-gui (or /usr/local/bin/lttv-gui)
     - Yes
       * You should now see a trace
 
+* Use text mode LTTng to control tracing
+
+The tracing can be controlled from a terminal by using the lttctl command.
+
+Start tracing :
+
+lttctl -n trace -d -l /mnt/relayfs/ltt -t /tmp/trace1
+
+Stop tracing and destroy trace channels :
+
+lttctl -n trace -R
+
+see lttctl --help for details.
+
+
 * Use text mode LTTV
 
 Fell free to look in /usr/local/lib/lttv/plugins to see all the text and
This page took 0.046243 seconds and 4 git commands to generate.