Skip to content

Support for Debian 10.2, problems with lttng

Hi,

As far as I understood your tracing tools is so far only for ubuntu? I am currently on a debian 10.2

After following the installation instructions. I get an error message: AttributeError: module 'lttng' has no attribute 'BUFFER_PER_UID'

The installation I followed for the lttng tools are to find here: https://lttng.org/docs/v2.10/#doc-debian I installed the base packages and the python agent, both in version 2.10

The error occures both by running ros2 trace and ros2 launch tracetools_launch example.launch.py

Do you have any insights into this, or experienced a similiar issue? Probably there is a missmatch between the lttng versions for ubuntu and debian.

If it will help you I can provide the stack trace.

In brief it says the error occurs here:

tracetools_trace/tracetools_trace/tools/lttng_impl.py", line 61, in setup

domain_ust.buf_type = lttng.BUFFER_PER_UID

Thanks for any insights