X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=trunk%2Flttv%2FQUICKSTART.html;h=763bf8579cc9dd66b04dd36db20905157c0b02ba;hb=e01a1ce1b2e8174f339168f6550934ea8e3da95b;hp=ea3abb30f3aec043339d29da879306647058ee88;hpb=bc58079d672530f653466e507930d6e90474f752;p=lttv.git diff --git a/trunk/lttv/QUICKSTART.html b/trunk/lttv/QUICKSTART.html index ea3abb30..763bf857 100644 --- a/trunk/lttv/QUICKSTART.html +++ b/trunk/lttv/QUICKSTART.html @@ -66,7 +66,7 @@ the LTTng traces and the LTTV analysis tool.
-See markers-userspace-0.5.tar.bz2 or more recent. -
@@ -446,42 +440,61 @@ 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 ** -************************************************************** +
+
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/ +
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 ** -*********************************************************** +See markers-userspace-0.5.tar.bz2 or more recent. -* Create custom LTTV Debian packages +Note that a new design document for a 3rd generation of tracepoint/marker-based +userspace tracing is available at LTTng User-space Tracing +Design". -Use : dpkg-buildpackage -rfakeroot +
-* Create custom LTTng packages +
+Use : dpkg-buildpackage -rfakeroot ++
+You should then have your LTTV .deb files created for your architecture. -Get the build tree with patches applies as explained in section 2. +
+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.