From 8ede3ed94ddaadbe5b4714c597723ad40d51375f Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 23 Sep 2005 18:14:38 +0000 Subject: [PATCH] michel comments git-svn-id: http://ltt.polymtl.ca/svn@1266 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/QUICKSTART | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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 -- 2.34.1