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
make
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 "Trace Control" icon : click on it
+ - Spot the "Tracing Control" icon : click on it
+ (it's a traffic light icon)
- enter the root password
- click "start"
- click "stop"
- 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