From 633bc4a39fa7dc25a67bedb5c44aaa81a34bac45 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 21 Jan 2009 23:01:56 +0000 Subject: [PATCH] update compat git-svn-id: http://ltt.polymtl.ca/svn@3252 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/QUICKSTART.html | 123 +++++++++++++++++++------------------ 1 file changed, 62 insertions(+), 61 deletions(-) diff --git a/trunk/lttv/QUICKSTART.html b/trunk/lttv/QUICKSTART.html index 78fdad60..75aafe49 100644 --- a/trunk/lttv/QUICKSTART.html +++ b/trunk/lttv/QUICKSTART.html @@ -7,7 +7,6 @@

Linux Trace Toolkit Quickstart

- Author : Mathieu Desnoyers, September 2005
Last update : January 21st, 2009
@@ -20,6 +19,8 @@ sources
  • Using LTTng and LTTV
  • Adding kernel and user-space tracepoints
  • +
  • Creating Debian and RPM packages +from LTTV @@ -27,33 +28,28 @@ tracepoints
  • Introduction

    -This document is made of three parts : the first one explains how +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 and last part explains +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. +applications. The fourth and last part explains how to create Debian or RPM +packages from the LTTng and LTTV sources.

    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. - -

    To see the list of compatibilities between LTTng, ltt-control, LTTV, please refer to : LTTng+LTTV versions compatibility - -

    The lttng patch is necessary to have the tracing hooks in the kernel.

    -** Current development status **
    -
    +Supported architectures :
    LTTng :
    -Supported architectures :

  • x86 32/64 bits
  • PowerPC 32 and 64 bits
  • ARM (with limited timestamping precision, e.g. 1HZ. Need @@ -62,7 +58,6 @@ architecture-specific support for better precision)

    LTTV :
    -supported architectures :
  • Intel 32/64 bits
  • PowerPC 32 and 64 bits
  • Possibly others. Takes care of endianness and type size difference between @@ -70,84 +65,64 @@ 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 - -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 +

    Installation from sources

    +

    +

  • Prerequisites
  • + -* Reminder - -See the list of compatibilities between LTTng, ltt-control, LTTV and -markers-userspace at : -http://ltt.polymtl.ca > LTTng+LTTV versions compatibility +
  • Reminder/
  • +See the list of compatibilities between LTTng, ltt-control and LTTV at : +LTTng+LTTV +versions compatibility. * Getting the LTTng packages @@ -451,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. +*********************************************************** +** 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. + + + -- 2.34.1