ros2_tracing
ros2_tracing copied to clipboard
Update calls to/uses of LTTng-UST API
(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.:
-
tracepoint()
->lttng_ust_tracepoint()
-
TRACEPOINT_EVENT()
->LTTNG_UST_TRACEPOINT_EVENT()
see:
- https://lttng.org/docs/v2.13/#doc-whats-new
- https://lttng.org/man/3/lttng-ust/v2.13/#doc-_compatibility_with_previous_apis
RHEL 9 has LTTng 2.12, so we might have to wait until all Linux platforms have >=2.13.