Using LTTng
The Linux Trace Toolkit project was started by Karim Yaghmour as a means of tracing kernel activity and was one of the first trace tools generally available for the Linux kernel. Later, Mathieu Desnoyers took up the idea and re-implemented it as the next generation trace tool, LTTng. It was then expanded to cover user space traces as well as the kernel. The project website is at http://lttng.org/ and contains a comprehensive user manual.
LTTng consists of three components:
- A core session manager
- A kernel tracer implemented as a group of kernel modules
- A user space tracer implemented as a library
In addition to those, you will need a trace viewer such as Babeltrace (http://www.efficios.com/babeltrace) or the Eclipse Trace Compaas plug-in ...
Get Mastering Embedded Linux Programming now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.