Enable tracing by default if LTTng is available
Also removed the colcon.meta file that implicitly enabled tracing anyway
This commit is contained in:
parent
74a781a1b9
commit
1452787336
5 changed files with 49 additions and 60 deletions
|
@ -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:
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue