No description
doc | ||
docker-ci-base | ||
ros2trace | ||
tracetools | ||
tracetools_launch | ||
tracetools_read | ||
tracetools_test | ||
tracetools_trace | ||
.gitlab-ci.yml | ||
ci_source_deps.repos | ||
instrumentation.repos | ||
LICENSE | ||
README.md |
tracetools
Building
If tracing is not enabled when building, or if LTTng is not found, then this package will not do anything.
To enable tracing:
- Install LTTng:
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
- Build with the
WITH_LTTNG
flag:$ colcon build --cmake-args " -DWITH_LTTNG=ON"
- Check if tracing is enabled (after sourcing):
$ ros2 run tracetools tracetools_status
Tracing
By default, the steps above will not lead to trace data being generated, and thus they will have no impact on execution.
LTTng has to be enabled: TODO mention scripts