Conseils de traçage LTTng

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

Conseils de traçage LTTng
Le tour de Jupyter 4
astuces numpy
Astuce de Jupyter 5
Astuces Scapy
Astuce de Jupyter 3
Astuces Python
Astuces Python