ros2_tracing/tracetools
Christophe Bedard e3f9fa036a Use events list
2019-06-14 10:07:58 +02:00
..
include/tracetools Change tracepoint arguments order to put index-like arg first 2019-06-07 14:35:29 +02:00
scripts Use events list 2019-06-14 10:07:58 +02:00
src Change tracepoint arguments order to put index-like arg first 2019-06-07 14:35:29 +02:00
.gitignore Fix linting errors 2019-06-05 15:35:46 +02:00
CMakeLists.txt Rename status executable 2019-06-05 15:38:49 +02:00
package.xml Mark license as TODO 2019-06-06 09:56:13 +02:00
README.md Add README with building instructions 2019-05-16 13:03:39 +02:00

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:

  1. Install LTTng:
    $ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
    
  2. Build with the WITH_LTTNG flag:
    $ colcon build --cmake-args " -DWITH_LTTNG=ON"
    
  3. 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