X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2FQUICKSTART;h=a5fbfb95b654683b46895a31816dc1c2b54290c6;hb=8ede3ed94ddaadbe5b4714c597723ad40d51375f;hp=4a781b5224a8e2a72380f5d7277d036ea6f08d28;hpb=e7e20d44f84c1a7d25bf9201470e43553e57b93e;p=lttv.git diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index 4a781b52..a5fbfb95 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -83,9 +83,9 @@ su - mkdir /usr/src/lttng cd /usr/src/lttng (see http://ltt.polymtl.ca/lttng for package listing) -wget http://ltt.polymtl.ca/lttng/lttng-modules-0.2.tar.bz2 +wget http://ltt.polymtl.ca/lttng/lttng-modules-0.3.tar.bz2 wget http://ltt.polymtl.ca/lttng/patch-2.6.12-rc4-mm2-lttng-0.4.bz2 -bzip2 -cd lttng-modules-0.2.tar.bz2 | tar xvof - +bzip2 -cd lttng-modules-0.3.tar.bz2 | tar xvof - * Getting LTTng kernel sources @@ -116,6 +116,8 @@ make menuconfig (or make xconfig or make config) Select the following options : [*] Linux Trace Toolkit Instrumentation Support [M] or [*] Linux Trace Toolkit Tracer + It makes no difference for the rest of the procedure whether the Tracer + is compiled built-in or as a module. do NOT activate (not ready yet) : [ ] Align Linux Trace Toolkit Traces [ ] Activate Linux Trace Toolkit Heartbeat Timer @@ -124,16 +126,17 @@ make menuconfig (or make xconfig or make config) Select Select make -make install make modules_install +make install You must activate relayfs and specify a mount point. This is typically done in fstab such that it happens at boot time. If you have never used RelayFS before, these operation would do this for you : + mkdir /mnt/relayfs -echo "relayfs /mnt/relayfs relayfs rw 0 0" \ - >> /etc/fstab +cp /etc/fstab /etc/fstab.lttng.bkp +echo "relayfs /mnt/relayfs relayfs rw 0 0" >> /etc/fstab reboot @@ -143,15 +146,17 @@ reboot * Install the ltt-modules su - -cd /usr/src/lttng/lttng-modules-0.2 +cd /usr/src/lttng/lttng-modules-0.3 KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4 make KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4 make modules_install You need to load the ltt-control module to be able to control tracing from user space. This is done by issuing the command : + modprobe ltt-control You can automate at boot time loading the ltt-control module by : + echo ltt-control >> /etc/modules