Enable tracing by default if LTTng is available

Also removed the colcon.meta file that implicitly enabled tracing anyway
This commit is contained in:
Tobias Blass 2019-07-19 10:02:56 +02:00
parent 74a781a1b9
commit 1452787336
5 changed files with 49 additions and 60 deletions

View file

@ -4,7 +4,7 @@ Tracing tools for ROS 2.
## Building
If tracing is not enabled when building, or if LTTng is not found, then this package will not do anything.
If the `TRACETOOLS_ENABLED` option is disabled during build or if LTTng is not found, then this package will not do anything.
To enable tracing:
@ -16,9 +16,9 @@ To enable tracing:
$ sudo apt-get install python3-babeltrace python3-lttng
```
Note: the LTTng stable 2.10 PPA is used to get newer versions of the packages.
2. Build with the `WITH_LTTNG` flag:
2. Build
```
$ colcon build --cmake-args " -DWITH_LTTNG=ON"
$ colcon build
```
3. Source and check that tracing is enabled:
```