ros2 / ros2_tracing

Tracing tools for ROS 2.
https://docs.ros.org/en/rolling/
Apache License 2.0
137 stars 41 forks source link

Update calls to/uses of LTTng-UST API #19

Open christophebedard opened 1 year ago

christophebedard commented 1 year ago

(Issue moved from GitLab, see: https://gitlab.com/ros-tracing/ros2_tracing/-/issues/133)

Ubuntu 22.04 (for ROS 2 Humble in May 2022 and later) has LTTng-UST 2.13. Althought it's still backwards-compatible, macros and functions were renamed to add a LTTNG_UST_/lttng_ust_ prefix, e.g.:

see:

christophebedard commented 1 year ago

RHEL 9 has LTTng 2.12, so we might have to wait until all Linux platforms have >=2.13.