Merge branch 'add-lttng-version-requirement' into 'master'
Add LTTng version requirement See merge request micro-ROS/ros_tracing/ros2_tracing!133
This commit is contained in:
commit
66a3bf65c3
1 changed files with 4 additions and 2 deletions
|
@ -8,14 +8,16 @@ If the `TRACETOOLS_DISABLED` option is enabled during build or if LTTng is not f
|
|||
|
||||
To enable tracing:
|
||||
|
||||
1. Install [LTTng](https://lttng.org/docs/#doc-ubuntu) with the Python bindings to control tracing and read traces:
|
||||
1. Install [LTTng](https://lttng.org/docs/v2.10/#doc-ubuntu) with the Python bindings to control tracing and read traces:
|
||||
```
|
||||
$ sudo apt-add-repository ppa:lttng/stable-2.10
|
||||
$ sudo apt-get update
|
||||
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
|
||||
$ sudo apt-get install python3-babeltrace python3-lttng
|
||||
```
|
||||
Note: the LTTng stable 2.10 PPA is used to get newer versions of the packages.
|
||||
Notes:
|
||||
* **Version 2.10.7 or above is required for all LTTng packages**. On Ubuntu, use the above PPA. On other distros, [build from source](https://lttng.org/docs/v2.10/#doc-building-from-source), making sure to also [build the Python bindings](https://github.com/lttng/lttng-tools#building).
|
||||
* LTTng 2.11 has not been tested yet.
|
||||
2. Build
|
||||
```
|
||||
$ colcon build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue