Merge branch 'point-to-lttng-2-11' into 'master'
Point to LTTng 2.11 for Ubuntu Focal/ROS 2 Foxy Closes #66 and #15 See merge request micro-ROS/ros_tracing/ros2_tracing!151
This commit is contained in:
commit
0125b73895
1 changed files with 1 additions and 5 deletions
|
@ -10,16 +10,12 @@ If the `TRACETOOLS_DISABLED` option is enabled during build or if LTTng is not f
|
||||||
|
|
||||||
To enable tracing:
|
To enable tracing:
|
||||||
|
|
||||||
1. Install [LTTng](https://lttng.org/docs/v2.10/#doc-ubuntu) with the Python bindings to control tracing and read traces:
|
1. Install [LTTng](https://lttng.org/docs/v2.11/) (`>=2.11.1`) 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 update
|
||||||
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
|
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
|
||||||
$ sudo apt-get install python3-babeltrace python3-lttng
|
$ sudo apt-get install python3-babeltrace python3-lttng
|
||||||
```
|
```
|
||||||
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
|
2. Build
|
||||||
```
|
```
|
||||||
$ colcon build
|
$ colcon build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue