X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2FQUICKSTART;h=356262fc71a5fd9f90cfdbb30154bee3a4bc4e20;hb=9c86b517eb9a35369e6c00723677f7df9b60900a;hp=8d62d9b41ff16d7dfc9e1e6770e9e6de8e37eb67;hpb=2b75fbd73d5d54db5abd093bf3b09d2aa6e6b314;p=lttv.git diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index 8d62d9b4..356262fc 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -268,23 +268,25 @@ Select the Linux 2.6.17-lttng-0.x.xx kernel in your boot loader. * Editing the system wide configuration -You must activate relayfs and specify a mount point. This is typically done in +You must activate debugfs 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 : +If you have never used DebugFS before, these operation would do this for you : -mkdir /mnt/relayfs +mkdir /mnt/debugfs cp /etc/fstab /etc/fstab.lttng.bkp -echo "relayfs /mnt/relayfs relayfs rw 0 0" >> /etc/fstab +echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab -then, rebooting or issuing the following command will activate relayfs : +then, rebooting or issuing the following command will activate debugfs : -mount /mnt/relayfs +mount /mnt/debugfs 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 +modprobe ltt-core +modprobe ltt-relay If you want to have complete information about the kernel state (including all the process names), you need to load the ltt-statedump module. This is done by @@ -295,6 +297,8 @@ modprobe ltt-statedump You can automate at boot time loading the ltt-control module by : echo ltt-control >> /etc/modules +echo ltt-core >> /etc/modules +echo ltt-relay >> /etc/modules echo ltt-statedump >> /etc/modules @@ -355,7 +359,7 @@ root). Start tracing : -lttctl -n trace -d -l /mnt/relayfs/ltt -t /tmp/trace +lttctl -n trace -d -l /mnt/debugfs/ltt -t /tmp/trace Stop tracing and destroy trace channels :