The SLES Linux Trace Toolkit Next Generation (LTTng) generates traces for kernel and userspace events such as interrupt handling, scheduling, and system calls. You can use LTTng to record and view trace events and analyze how kernel behavior impacts the execution of applications.
This section discusses the following:
To install LTTng on SLES, do the following:
View the list of packages included in the SGI-REACT-ltt pattern for SLES:
sles# zypper pattern-info SGI-REACT-ltt |
Install the pattern:
sles# zypper install -t pattern SGI-REACT-ltt |
Build the sgi-lttng-modules-kmp-default RPM on the target system:
sles# zypper source-install lttng-modules sles# cd /usr/src/packages/SPECS/ sles# rpmbuild -bp lttng-modules.spec sles# cd /usr/src/packages/BUILD/lttng-modules-2.4.1/source sles# make -j8 sles# make modules_install sles# depmod -a |
| Note: Failure to build the module on the target system will cause a kernel crash. |
For more information about LTTng for SLES, see:
| http://lttng.org/quickstart |
| http://lttng.org/documentation |
For information about tracing kernel and userspace events for SLES, see the following:
| https://bugs.lttng.org/projects/lttng-tools/wiki |