X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=trunk%2Flttv%2FQUICKSTART.html;h=caacc2c2de32440ed68f60d9518f7e97b54e3b88;hb=305fd815e6e9831f9fab2c36d36f962df929f9b7;hp=98079c7accc37a1a67e39b68a7d161def55ecb8a;hpb=df7f63ab9e7699a88909ba141753bdaf90b95df6;p=lttv.git diff --git a/trunk/lttv/QUICKSTART.html b/trunk/lttv/QUICKSTART.html index 98079c7a..caacc2c2 100644 --- a/trunk/lttv/QUICKSTART.html +++ b/trunk/lttv/QUICKSTART.html @@ -1,14 +1,15 @@
--
Tools needed to follow the package download steps : @@ -129,7 +150,7 @@ href="http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-compatibilit versions compatibility. -
su - @@ -141,7 +162,7 @@ bzip2 -cd patch-2.6.X-lttng-0.x.xx.tar.bz2 | tar xvof --
su - @@ -157,7 +178,7 @@ mv linux-2.6.X linux-2.6.X-lttng-0.x.xx-
su - @@ -214,7 +235,8 @@ Select the Linux 2.6.X-lttng-0.x.xx kernel in your boot loader. ---
You must activate debugfs and specify a mount point. This is typically done in @@ -289,7 +311,9 @@ echo trap-trace >> /etc/modules #echo lockdep-trace >> /etc/modules -
(note : the ltt-control package contains lttd and lttctl. Although it has the same name as the ltt-control kernel module, they are *not* the same thing.) @@ -307,7 +331,7 @@ make make install -
Make sure you selected the kernel menuconfig option : @@ -323,8 +347,9 @@ channel : userspace event name : event-
su - @@ -339,16 +364,10 @@ make make install-
-See markers-userspace-0.5.tar.bz2 or more recent. -
@@ -445,42 +464,77 @@ 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. +
+Also see ltt/probes/ +for LTTng probe examples. -* Add new events to userspace programs with userspace markers -http://ltt.polymtl.ca/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. This new infrastructure is not yet implemented. -* Create custom LTTV Debian packages +
+The easy quick-and-dirty way to perform userspace tracing is currently to write +an string to /mnt/debugfs/ltt/write_event. See Userspace tracing in the +installation for sources section of this document. -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.