From 6c91399405c0f4d7a092937665a6b711a1d18d73 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 16 Sep 2005 19:14:36 +0000 Subject: [PATCH] quickstart formatting git-svn-id: http://ltt.polymtl.ca/svn@1226 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/QUICKSTART | 50 +++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index 426fc711..04e24917 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -3,12 +3,36 @@ QUICKSTART How to use LTTng and LTTV in a few lines : +This document is made of four parts : The first one explains how to install +LTTng and LTTV from Debian and RPM binary packages, the second one explains how +to install LTTng and LTTV from sources and the third one describes the steps +to follow to trace a system and view it. The fourth and last part explains +briefly how to add a new trace point to the kernel. + +What you will typically want is to read sections 1 and 3 : install LTTng from +binary packages and use it. If there are no packages ready for your system, you +will have to install from sources (section 2) instead. + These operations are made for installing LTTng 0.2 on a linux 2.6.12-rc2-mm2 kernel. Change the versions to fit your needs. Author : Mathieu Desnoyers, September 2005 + +*********************************************************** +** Section 1 * Installation from Debian or RPM packages ** +*********************************************************** + +No Debian or RPM packages are ready yet. + +TODO + + +*********************************************************** +** Section 2 * Installation from sources ** +*********************************************************** + * Getting the LTTng packages su - @@ -77,7 +101,14 @@ cd LinuxTraceToolkitViewer-0.5-16092005 make make install -* Use LTTV + + + +*********************************************************** +** Section 3 * Using LTTV ** +*********************************************************** + +* Use graphical LTTV lttv-gui (or /usr/local/bin/lttv-gui) - Spot the "Trace Control" icon : click on it @@ -87,6 +118,23 @@ lttv-gui (or /usr/local/bin/lttv-gui) - Yes * You should now see a trace +* Use text mode LTTV + +Fell free to look in /usr/local/lib/lttv/plugins to see all the text and +graphical plugins available. + +For example, a simple trace dump in text format is available with : + +lttv -m textDump -t /tmp/trace + +see lttv -m textDump --help for detailed command line options of textDump. + + + + +*********************************************************** +** Section 4 * Adding new instrumentations with genevent ** +*********************************************************** * Getting and installing genevent -- 2.34.1