michel comments
[lttv.git] / ltt / branches / poly / QUICKSTART
index fc9f3a085ccaaa999cf7b7061c2326e455833f85..a5fbfb95b654683b46895a31816dc1c2b54290c6 100644 (file)
@@ -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 <Exit>
   Select <Yes>
 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
 
 
@@ -159,9 +164,9 @@ echo ltt-control >> /etc/modules
 
 su -
 cd /usr/src
-wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.6.4-21092005.tar.gz
-gzip -cd LinuxTraceToolkitViewer-0.6.4-21092005.tar.gz | tar xvof -
-cd LinuxTraceToolkitViewer-0.6.4-21092005
+wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.6.5-21092005.tar.gz
+gzip -cd LinuxTraceToolkitViewer-0.6.5-21092005.tar.gz | tar xvof -
+cd LinuxTraceToolkitViewer-0.6.5-21092005
 (refer to README to see the development libraries that must be installed on you
 system)
 ./configure
@@ -224,9 +229,9 @@ see lttv -m textDump --help for detailed command line options of textDump.
 
 su -
 cd /usr/src
-wget http://ltt.polymtl.ca/packages/genevent-0.1.tar.gz
-gzip -cd genevent-0.1.tar.gz | tar xvof -
-cd genevent-0.1
+wget http://ltt.polymtl.ca/packages/genevent-0.2.tar.gz
+gzip -cd genevent-0.2.tar.gz | tar xvof -
+cd genevent-0.2
 make
 make install
 
This page took 0.024761 seconds and 4 git commands to generate.