What you will typically want is to read sections 2 and 3 : install LTTng from
sources and use it.
-These operations are made for installing the LTTng 0.67 tracer on a linux 2.6.X
+These operations are made for installing the LTTng 0.74 tracer on a linux 2.6.X
kernel. You will also find instructions for installation of LTTV 0.12.x : the
Linux Trace Toolkit Viewer.
modprobe mm-trace
modprobe net-trace
modprobe fs-trace
+modprobe jbd2-trace
+modprobe ext4-trace
modprobe syscall-trace
modprobe trap-trace
#if locking tracing is wanted, uncomment the following
echo mm-trace >> /etc/modules
echo net-trace >> /etc/modules
echo fs-trace >> /etc/modules
+echo jbd2-trace >> /etc/modules
+echo ext4-trace >> /etc/modules
+echo syscall-trace >> /etc/modules
+echo trap-trace >> /etc/modules
#if locking tracing is wanted, uncomment the following
#echo lockdep-trace >> /etc/modules
make
make install
+
* Userspace tracing
+Make sure you selected the kernel menuconfig option :
+ <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
channel : userspace
event name : event
+
* Getting and installing the LTTV package (on the visualisation machine, same or
different from the visualisation machine)