X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=LTTngManual.html;h=ca74b5079e5ec7dcf81990a8df8b8a8d8d9df31e;hb=refs%2Ftags%2Fv0.12.33;hp=1ec2bf4a563464e4594e5cdf1f7834515306fa87;hpb=4411682a829aa087d8a6b8b1ebca1a8d5942d989;p=lttv.git diff --git a/LTTngManual.html b/LTTngManual.html index 1ec2bf4a..ca74b507 100644 --- a/LTTngManual.html +++ b/LTTngManual.html @@ -8,7 +8,7 @@
+LTTng, UST and LTTV are developed by an open community. LTTng is released under +a dual Gnu LGPLv2.1/GPLv2 license, except for very few kernel-specific files +which are derived work from the Linux kernel. +
+LTTV is available under the Gnu GPLv2. The low-level LTTV trace reading library +is released under Gnu LGPLv2.1. +
+The Eclipse LTTng trace analysis tool is released under the EPL and uses the +LTTV trace reading library (LGPLv2.1). +
+The UST (Userspace Tracing) and the Userspace RCU libraries are released under +the LGPLv2.1 license, which allows linking with non-GPL (BSD, proprietary...) +applications. The associated headers are released under MIT-style/BSD-style +licenses. +
+Please refer to each particular file licensing for details. +
See the list of compatibilities between LTTng, ltt-control and LTTV at : LTTng+LTTV -versions compatibility. +href="http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=doc/developer/lttng-lttv-compatibility.html;hb=HEAD">LTTng+LTTV versions compatibility.
Make sure you selected the kernel menuconfig option : -or <*> Support logging events from userspace + <M> or <*> Support logging events from userspace And that the ltt-userspace-event kernel module is loaded if selected as a module. Simple userspace tracing is available through -echo "some text to record" > /mnt/debugfs/ltt/write_event +echo "some text to record" > /mnt/debugfs/ltt/write_event It will appear in the trace under event : channel : userspace @@ -513,7 +532,7 @@ instrumentation See Documentation/markers.txt and Documentation/tracepoints.txt in your kernel +href="http://git.kernel.org/?p=linux/kernel/git/compudj/linux-2.6-lttng.git;a=blob;f=Documentation/trace/tracepoints.txt">Documentation/trace/tracepoints.txt in your kernel tree. Also see markers-userspace-0.5.tar.bz2 or more recent.
-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. +Note that tracepoint/marker-based userspace tracing is available at LTTng User-space Tracer (UST).
The easy quick-and-dirty way to perform userspace tracing is currently to write