X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=trunk%2Flttv%2FQUICKSTART;h=b5cde25bc6682566ddba9e71d23261c41bd1724a;hb=d4c85b6e5cb22061ee1f81efde2587db7c9152f9;hp=fc99bb38ad925a618a6ef74e6ef69835d145dd8a;hpb=674a743cd01d8798893e911b14fd6034b5fc40d3;p=lttv.git diff --git a/trunk/lttv/QUICKSTART b/trunk/lttv/QUICKSTART index fc99bb38..b5cde25b 100644 --- a/trunk/lttv/QUICKSTART +++ b/trunk/lttv/QUICKSTART @@ -14,7 +14,7 @@ applications. 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. @@ -240,6 +240,8 @@ modprobe kernel-trace 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 @@ -264,6 +266,10 @@ echo kernel-trace >> /etc/modules 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 @@ -282,8 +288,14 @@ system) make make install + * Userspace tracing +Make sure you selected the kernel menuconfig option : + 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 @@ -291,6 +303,7 @@ It will appear in the trace under event : channel : userspace event name : event + * Getting and installing the LTTV package (on the visualisation machine, same or different from the visualisation machine)