[LINUX] LTTng Tracing Tips


Here descibes ROS2 tracepoint related information, this is public info but not so organized well because this is mostly my own note to keep this in the mind. nobody blames on it. ROS2 tracepoint is actually depends on LTTng so knowing LTTng is to help to understand ROS2 tracepoint.



$ sudo apt-add-repository ppa:lttng/ppa
$ sudo apt-get update
$ sudo apt-get install lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev liblttng-ctl-dev

LTTng Modules

LTTng are the kernel modules, so that you can see a bunch of ko via lsmod command. Notable features are CTF(Common Trace Format) support, tracepoint, function tracer, monitoring and kprobes. LTTng is context aware so that able to attach context information to event in the trace.

Required Kconfig


Hello Tracing

Trace Session Mode

and there are so far five tracing domains are supported,


Package License
LTTng-tools LGPLv2.1 and GPLv2
LTTng-UST LGPLv2.1, the MIT license and GPLv2
LTTng-modules LGPLv2.1, GPLv2 and the MIT license


Recommended Posts

LTTng Tracing Tips
Jupyter Tips 4
numpy tips
python tips
Jupyter Tips 5
Scapy Tips
Jupyter Tips 3
Python Tips
Python tips