[LINUX] LTTng Tracing-Tipps

Overview

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.

LTTng

Installation

$ 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

Tutorial

Hello Tracing

Trace Session Mode

and there are so far five tracing domains are supported,

License

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

Reference

Recommended Posts

LTTng Tracing-Tipps
Jupyters Trick 4
numpy tipps
Jupyters Trick 5
Scapy-Tipps
Jupyters Trick 3
Python-Tipps
Python-Tipps