From 89aa576cf7524c81976eca24bc9e089183107814 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 21 Jan 2009 23:36:15 +0000 Subject: [PATCH] update quickstart html git-svn-id: http://ltt.polymtl.ca/svn@3265 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/QUICKSTART.html | 47 +++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/trunk/lttv/QUICKSTART.html b/trunk/lttv/QUICKSTART.html index ea3abb30..e883b7d5 100644 --- a/trunk/lttv/QUICKSTART.html +++ b/trunk/lttv/QUICKSTART.html @@ -66,7 +66,7 @@ the LTTng traces and the LTTV analysis tool.
-

Installation from sources

+

Installation from sources

  • Prerequisites
  • @@ -349,7 +349,7 @@ href="http://ltt.polymtl.ca/packages/markers-userspace-0.5.tar.bz2">markers-user
    -

    Using LTTng and LTTV

    +

    Using LTTng and LTTV

  • IMPORTANT : Arm Linux Kernel Markers after each boot
  • @@ -446,42 +446,53 @@ lttctl -C -w /tmp/trace3 -o channel.all.overwrite=1 trace3
     lttctl -D -w /tmp/trace3 trace3
     
    -************************************************************** -** Section 4 * Adding new instrumentations with the markers ** -************************************************************** +
    + + +

    Adding new instrumentations with the +markers

    +

    +

    See Documentation/markers.txt and Documentation/tracepoints.txt in your kernel tree. -* Add new events to userspace programs with userspace markers -http://ltt.polymtl.ca/packages/ +

  • Add new events to userspace programs with userspace markers +http://ltt.polymtl.ca/packages/
  • +

    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 +

    Creating Debian or RPM packages

    +

    -Use : dpkg-buildpackage -rfakeroot +

  • 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 - +

  • Create custom LTTng packages
  • +

    For building LTTng Debian packages : +get the build tree with patches applies as explained in section 2. -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