Getting ready

To include the different LTTng tools in your system, add the following to your conf/local.conf file:

IMAGE_INSTALL_append = " lttng-tools lttng-modules lttng-ust" 

They are also part of the tools-profile image feature, so you can also add them with the following:

EXTRA_IMAGE_FEATURES += "tools-profile" 

These are also included in the -sdk images.

The default Wandboard Linux kernel is already configured to use LTTng, but other platforms might need to enable CONFIG_TRACEPOINTS.

The LTTng command-line tool is the main user interface to LTTng. It can be used to trace both the Linux kernel-using the kernel tracing interfaces we have seen in previous recipes—as well as instrumented user space applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset