update compat
[lttv.git] / trunk / lttv / QUICKSTART.html
index 63701842d932d83590bffa58c8ee5de5e8e54993..88fd6bdd82900133d4227d149433ef044a2181a7 100644 (file)
 
 <h1>Linux Trace Toolkit Quickstart</h1>
 
 
 <h1>Linux Trace Toolkit Quickstart</h1>
 
-
 Author : Mathieu Desnoyers, September 2005<br>
 Author : Mathieu Desnoyers, September 2005<br>
-Last update : January 9th, 2009<br>
+Last update : January 21st, 2009<br>
 
 
-<p>
-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 and to user space
-applications.
+<h2>Table of Contents</h2>
+<ul>
+
+<li><a href="#intro" name="TOCintro">Introduction</a></li>
+<li><a href="#section1" name="TOCsection1">Installing LTTng and LTTV from
+sources</a></li>
+<li><a href="#section2" name="TOCsection2">Using LTTng and LTTV</a></li>
+<li><a href="#section3" name="TOCsection3">Adding kernel and user-space
+tracepoints</a></li>
+<li><a href="#section4" name="TOCsection4">Creating Debian and RPM packages
+from LTTV</a>
+
+</ul>
 
 
+<hr />
+
+<h2><a href="#TOCintro" name="intro">Introduction</a></h2>
 <p>
 <p>
-What you will typically want is to read sections 2 and 3 : install LTTng from
-sources and use it.
+This document is made of four parts : the first one explains how
+to install LTTng and LTTV from sources, the second one describes the steps
+to follow to trace a system and view it. The third part explains
+briefly how to add a new trace point to the kernel and to user space
+applications. The fourth and last part explains how to create Debian or RPM
+packages from the LTTng and LTTV sources.
 
 <p>
 
 <p>
-These operations are made for installing the LTTng 0.74 tracer on a linux 2.6.X
+These operations are made for installing the LTTng 0.86 tracer on a linux 2.6.X
 kernel. You will also find instructions for installation of LTTV 0.12.x : the
 Linux Trace Toolkit Viewer. 
 kernel. You will also find instructions for installation of LTTV 0.12.x : the
 Linux Trace Toolkit Viewer. 
-
-<p>
-To see the list of compatibilities between LTTng, ltt-control, LTTV and
-markers-userspace, please refer to :
+To see the list of compatibilities between LTTng, ltt-control, LTTV, please
+refer to :
 <a
 href="http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-compatibility.html">LTTng+LTTV versions compatibility</a>
 <a
 href="http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-compatibility.html">LTTng+LTTV versions compatibility</a>
+The lttng patch is necessary to have the tracing hooks in the kernel.
 
 
-
-<p>
-The following lttng patch is necessary to have the tracing hooks in the kernel.
-The following ltt-control module controls the tracing.
-
-<p>
-Required programs and libraries are assumed to be automatically installed in an
-installation with Debian or RPM packages. In the case of an installation from
-sources, the dependencies are listed.
-
-
-** Current development status **<br>
 <br>
 <br>
-LTTng :<br>
+<br>
 Supported architectures : 
 Supported architectures : 
+<br>
+LTTng :<br>
 <li> x86 32/64 bits
 <li> PowerPC 32 and 64 bits
 <li> ARM (with limited timestamping precision, e.g. 1HZ. Need
 architecture-specific support for better precision)
 <li> MIPS
 <br>
 <li> x86 32/64 bits
 <li> PowerPC 32 and 64 bits
 <li> ARM (with limited timestamping precision, e.g. 1HZ. Need
 architecture-specific support for better precision)
 <li> MIPS
 <br>
+<br>
 LTTV :<br>
 LTTV :<br>
-supported architectures :<br>
 <li> Intel 32/64 bits
 <li> PowerPC 32 and 64 bits
 <li> Possibly others. Takes care of endianness and type size difference between
 the LTTng traces and the LTTV analysis tool.
 
 <li> Intel 32/64 bits
 <li> PowerPC 32 and 64 bits
 <li> Possibly others. Takes care of endianness and type size difference between
 the LTTng traces and the LTTV analysis tool.
 
-***********************************************************
-** Section 1 * Installation from Debian or RPM packages  **
-***********************************************************
-
-* Create custom LTTV Debian packages
-
-Use : dpkg-buildpackage -rfakeroot
-
-You should then have your LTTV .deb files created for your architecture.
-
-* Create custom LTTng packages
+<hr />
 
 
-For building LTTng Debian packages :
-
-Get the build tree with patches applies as explained in section 2.
-
-make menuconfig (or xconfig or config) (customize your configuration)
-make-kpkg kernel_image
-
-You will then see your freshly created .deb in /usr/src. Install it with
-dpkg -i /usr/src/(image-name).deb
 
 
-Then, follow the section "Editing the system wide configuration" in section 2.
-
-
-***********************************************************
-** Section 2 * Installation from sources                 **
-***********************************************************
-
-* Prerequisites
+<h2><a href="#TOCsection2" name="section2">Installation from sources</a></h2>
+<p>
 
 
+<li>Prerequisites</li>
+<ul>
+<p>
 Tools needed to follow the package download steps :
 
 Tools needed to follow the package download steps :
 
-wget
-bzip2
-gzip
-tar
+<li>wget
+<li>bzip2
+<li>gzip
+<li>tar
 
 
+<p>
 You have to install the standard development libraries and programs necessary
 to compile a kernel :
 
 (from Documentation/Changes in the Linux kernel tree)
 You have to install the standard development libraries and programs necessary
 to compile a kernel :
 
 (from Documentation/Changes in the Linux kernel tree)
-o  Gnu C                  2.95.3                  # gcc --version
-o  Gnu make               3.79.1                  # make --version
-o  binutils               2.12                    # ld -v
-o  util-linux             2.10o                   # fdformat --version
-o  module-init-tools      0.9.10                  # depmod -V
+<li>Gnu C &nbsp;               2.95.3 &nbsp;               # gcc --version
+<li>Gnu make &nbsp;            3.79.1 &nbsp;               # make --version
+<li>binutils  &nbsp;           2.12   &nbsp;               # ld -v
+<li>util-linux &nbsp;          2.10o  &nbsp;               # fdformat --version
+<li>module-init-tools &nbsp;   0.9.10 &nbsp;               # depmod -V
 
 
+<p>
 You might also want to have libncurses5 to have the text mode kernel
 configuration menu, but there are alternatives.
 
 You might also want to have libncurses5 to have the text mode kernel
 configuration menu, but there are alternatives.
 
+<p>
 Prerequisites for LTTV 0.x.x installation are :
 
 Prerequisites for LTTV 0.x.x installation are :
 
-gcc 3.2 or better
-gtk 2.4 or better development libraries
+<li>gcc 3.2 or better
+<li>gtk 2.4 or better development libraries
   (Debian : libgtk2.0, libgtk2.0-dev)
   (Fedora : gtk2, gtk2-devel)
   note : For Fedora users : this might require at least core 3 from Fedora,
   or you might have to compile your own GTK2 library.
   (Debian : libgtk2.0, libgtk2.0-dev)
   (Fedora : gtk2, gtk2-devel)
   note : For Fedora users : this might require at least core 3 from Fedora,
   or you might have to compile your own GTK2 library.
-glib 2.4 or better development libraries
+<li>glib 2.4 or better development libraries
   (Debian : libglib2.0-0, libglib2.0-dev)
   (Fedora : glib2, glib2-devel)
   (Debian : libglib2.0-0, libglib2.0-dev)
   (Fedora : glib2, glib2-devel)
-libpopt development libraries
+<li>libpopt development libraries
   (Debian : libpopt0, libpopt-dev)
   (Fedora : popt)
   (Debian : libpopt0, libpopt-dev)
   (Fedora : popt)
-libpango development libraries
+<li>libpango development libraries
   (Debian : libpango1.0, libpango1.0-dev)
   (Fedora : pango, pango-devel)
   (Debian : libpango1.0, libpango1.0-dev)
   (Fedora : pango, pango-devel)
-libc6 development librairies 
+<li>libc6 development librairies 
   (Debian : libc6, libc6-dev)
   (Fedora : glibc, glibc)
   (Debian : libc6, libc6-dev)
   (Fedora : glibc, glibc)
+</ul>
 
 
-* Reminder
-
-See the list of compatibilities between LTTng, ltt-control, LTTV and
-markers-userspace at :
-http://ltt.polymtl.ca > LTTng+LTTV versions compatibility
+<li>Reminder/<li>
 
 
+See the list of compatibilities between LTTng, ltt-control and LTTV at :
+<a
+href="http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-compatibility.html">LTTng+LTTV
+versions compatibility</a>.
 
 
 * Getting the LTTng packages
 
 
 * Getting the LTTng packages
@@ -443,5 +426,31 @@ Get the latest markers-userspace-*.tar.bz2 and see the Makefile and examples. It
 allows inserting markers in executables and libraries, currently only on x86_32
 and x86_64.
 
 allows inserting markers in executables and libraries, currently only on x86_32
 and x86_64.
 
+***********************************************************
+** Section 5 * Creating Debian or RPM packages           **
+***********************************************************
+
+* Create custom LTTV Debian packages
+
+Use : dpkg-buildpackage -rfakeroot
+
+You should then have your LTTV .deb files created for your architecture.
+
+* Create custom LTTng packages
+
+For building LTTng Debian packages :
+
+Get the build tree with patches applies as explained in section 2.
+
+make menuconfig (or xconfig or config) (customize your configuration)
+make-kpkg kernel_image
+
+You will then see your freshly created .deb in /usr/src. Install it with
+dpkg -i /usr/src/(image-name).deb
+
+Then, follow the section "Editing the system wide configuration" in section 2.
+
+
+
   </body>
 </html>
   </body>
 </html>
This page took 0.025844 seconds and 4 git commands to generate.