Mention LTTng >=2.11.7 requirement in README

This commit is contained in:
Christophe Bedard 2020-01-10 18:28:49 -05:00
parent a900bd6f71
commit 1cbe159f45

View file

@ -8,14 +8,15 @@ 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/#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-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
``` ```
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).
2. Build 2. Build
``` ```
$ colcon build $ colcon build