X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2FQUICKSTART;h=3ee7e75d484a2ec334bc037ccebe7415e591e616;hb=f0d243f7b3a3fd1f5fe74f9f272213192dc9cdaa;hp=5afe4215b561ddaf3572f3f7235284ce082812c4;hpb=52a20c2e4f999f6b6a9b36030363b439571fa49d;p=lttv.git diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index 5afe4215..3ee7e75d 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -247,10 +247,10 @@ 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 /boot/vmlinux-2.6.X-lttng-0.x.xx +cp vmlinux.strip /boot/vmlinux-2.6.X-lttng-0.x.xx cp System.map /boot/System.map-2.6.X-lttng-0.x.xx cp .config /boot/config-2.6.X-lttng-0.x.xx depmod -ae -F /boot/System.map-2.6.X-lttng-0.x.xx 2.6.X-lttng-0.x.xx @@ -260,7 +260,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. -- @@ -401,14 +401,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