X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2FQUICKSTART;h=513023531a3101f8dea95aa55a921133ab015ad3;hb=19237936d506d979d67b8980b9edc1c2bcfa82fb;hp=b85dc21c630e556c2c496b5dff97b798dbb728da;hpb=3c8a1f175f9c650d7699a17984e7390d2470afee;p=lttv.git diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index b85dc21c..51302353 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -38,6 +38,7 @@ supported architectures : Intel Pentium (UP/SMP) with TSC PowerPC 32 and 64 bits ARM +x86_64 C2 Microsystems (variant of MIPS) LTTV : @@ -247,7 +248,7 @@ make modules_install -- on X86, X86_64 make install reboot -Select the Linux 2.6.16-lttng-0.x.xx kernel in your boot loader. +Select the Linux 2.6.17-lttng-0.x.xx kernel in your boot loader. -- on PowerPC cp vmlinux.strip /boot/vmlinux-2.6.X-lttng-0.x.xx @@ -260,7 +261,7 @@ that comes first is the default kernel) ybin select the right entry at the yaboot prompt (see choices : tab, select : type the kernel name followed by enter) -Select the Linux 2.6.16-lttng-0.x.xx kernel in your boot loader. +Select the Linux 2.6.17-lttng-0.x.xx kernel in your boot loader. -- @@ -284,6 +285,8 @@ 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 @@ -294,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 @@ -401,14 +406,14 @@ cp process.xml yourfacility.xml cd /tmp /usr/local/bin/genevent /usr/local/share/LinuxTraceToolkitViewer/facilities/yourfacility.xml cp ltt-facility-yourfacility.h ltt-facility-id-yourfacility.h \ - /usr/src/linux-2.6.16-lttng-0.x.xx8/include/linux/ltt + /usr/src/linux-2.6.17-lttng-0.x.xx8/include/linux/ltt cp ltt-facility-loader-yourfacility.c ltt-facility-loader-yourfacility.h \ - /usr/src/linux-2.6.16-lttng-0.x.xx/ltt + /usr/src/linux-2.6.17-lttng-0.x.xx/ltt * edit the kernel file you want to instrument - Add #include at the beginning of the file. - Add a call to the tracing functions. See their names and parameters in - /usr/src/linux-2.6.16-lttng-0.x.xx/include/linux/ltt/ltt-facility-yourfacility.h + /usr/src/linux-2.6.17-lttng-0.x.xx/include/linux/ltt/ltt-facility-yourfacility.h * Add new events to userspace programs with genevent See http://ltt.polymtl.ca/ > USERSPACE TRACING QUICKSTART