binary packages and use it. If there are no packages ready for your system, you
will have to install from sources (section 2) instead.
binary packages and use it. If there are no packages ready for your system, you
will have to install from sources (section 2) instead.
linux 2.6.12-rc4-mm2 kernel. You will also find instructions for installtion of
LTTV 0.6.x : the Linux Trace Toolkit Viewer.
linux 2.6.12-rc4-mm2 kernel. You will also find instructions for installtion of
LTTV 0.6.x : the Linux Trace Toolkit Viewer.
-apt-get install kernel-image-2.6.12-rc4-mm2-lttng-0.4.1
-apt-get install lttng-modules-modules-2.6.12-rc4-mm2-lttng-0.4.1
+apt-get install kernel-image-2.6.12-rc4-mm2-lttng-0.4.2
+apt-get install lttng-modules-modules-2.6.12-rc4-mm2-lttng-0.4.2
* note : the packages are signed by myself. I am not considered a trusted
Debian source yet, so warnings are normal.
* note : the packages are signed by myself. I am not considered a trusted
Debian source yet, so warnings are normal.
dpkg-buildpackage -rfakeroot
You should then have your LTTV .deb files created for your architecture.
dpkg-buildpackage -rfakeroot
You should then have your LTTV .deb files created for your architecture.
-bzip2 -cd kernel-source-2.6.12-rc4-mm2-lttng-0.4.1.tar.bz2 | tar xvof -
-cd kernel-source-2.6.12-rc4-mm2-lttng-0.4.1
+bzip2 -cd kernel-source-2.6.12-rc4-mm2-lttng-0.4.2.tar.bz2 | tar xvof -
+cd kernel-source-2.6.12-rc4-mm2-lttng-0.4.2
make-kpkg --added_modules /usr/src/lttng-modules-0.3 modules_image
You will then see your freshly created .deb in /usr/src. Install it with
make-kpkg --added_modules /usr/src/lttng-modules-0.3 modules_image
You will then see your freshly created .deb in /usr/src. Install it with
cd /usr/src/lttng
(see http://ltt.polymtl.ca/lttng for package listing)
wget http://ltt.polymtl.ca/lttng/lttng-modules-0.3.tar.bz2
cd /usr/src/lttng
(see http://ltt.polymtl.ca/lttng for package listing)
wget http://ltt.polymtl.ca/lttng/lttng-modules-0.3.tar.bz2
make menuconfig (or make xconfig or make config)
Select the < Help > button if you are not familiar with kernel
configuration.
make menuconfig (or make xconfig or make config)
Select the < Help > button if you are not familiar with kernel
configuration.
-KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4.2 make
-KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4.2 make modules_install
+KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4.3 make
+KERNELDIR=/usr/src/linux-2.6.12-rc4-mm2-lttng-0.4.3 make modules_install
-wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.6.8-26092005.tar.gz
-gzip -cd LinuxTraceToolkitViewer-0.6.8-26092005.tar.gz | tar xvof -
-cd LinuxTraceToolkitViewer-0.6.8-26092005
+wget http://ltt.polymtl.ca/packages/LinuxTraceToolkitViewer-0.6.9-10102005.tar.gz
+gzip -cd LinuxTraceToolkitViewer-0.6.9-10102005.tar.gz | tar xvof -
+cd LinuxTraceToolkitViewer-0.6.9-10102005
cd /tmp
/usr/local/bin/genevent /usr/local/share/LinuxTraceToolkitViewer/yourfacility.xml
cp ltt-facility-yourfacility.h ltt-facility-id-yourfacility.h \
cd /tmp
/usr/local/bin/genevent /usr/local/share/LinuxTraceToolkitViewer/yourfacility.xml
cp ltt-facility-yourfacility.h ltt-facility-id-yourfacility.h \
* edit the kernel file you want to instrument
- Add #include <linux/ltt/ltt-facility-yourfacility.h> at the beginning
of the file.
- Add a call to the tracing functions. See their names and parameters in
* edit the kernel file you want to instrument
- Add #include <linux/ltt/ltt-facility-yourfacility.h> at the beginning
of the file.
- Add a call to the tracing functions. See their names and parameters in