X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=trunk%2Flttv%2FQUICKSTART.html;h=e883b7d59bf3203e6edef67a0666d8aa6239ea99;hb=89aa576cf7524c81976eca24bc9e089183107814;hp=ea3abb30f3aec043339d29da879306647058ee88;hpb=bc58079d672530f653466e507930d6e90474f752;p=lttv.git 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.