Move readme to root
This commit is contained in:
parent
7d7780cef1
commit
c3de155d41
2 changed files with 26 additions and 26 deletions
26
README.md
26
README.md
|
@ -0,0 +1,26 @@
|
||||||
|
# tracetools
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
If tracing is not enabled when building, or if LTTng is not found, then this package will not do anything.
|
||||||
|
|
||||||
|
To enable tracing:
|
||||||
|
|
||||||
|
1. Install [LTTng](https://lttng.org/docs/v2.10/#doc-ubuntu):
|
||||||
|
```
|
||||||
|
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
|
||||||
|
```
|
||||||
|
2. Build with the `WITH_LTTNG` flag:
|
||||||
|
```
|
||||||
|
$ colcon build --cmake-args " -DWITH_LTTNG=ON"
|
||||||
|
```
|
||||||
|
3. Check if tracing is enabled (after sourcing):
|
||||||
|
```
|
||||||
|
$ ros2 run tracetools tracetools_status
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tracing
|
||||||
|
|
||||||
|
By default, the steps above will not lead to trace data being generated, and thus they will have no impact on execution.
|
||||||
|
|
||||||
|
LTTng has to be enabled: TODO mention scripts
|
|
@ -1,26 +0,0 @@
|
||||||
# tracetools
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
If tracing is not enabled when building, or if LTTng is not found, then this package will not do anything.
|
|
||||||
|
|
||||||
To enable tracing:
|
|
||||||
|
|
||||||
1. Install [LTTng](https://lttng.org/docs/v2.10/#doc-ubuntu):
|
|
||||||
```
|
|
||||||
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
|
|
||||||
```
|
|
||||||
2. Build with the `WITH_LTTNG` flag:
|
|
||||||
```
|
|
||||||
$ colcon build --cmake-args " -DWITH_LTTNG=ON"
|
|
||||||
```
|
|
||||||
3. Check if tracing is enabled (after sourcing):
|
|
||||||
```
|
|
||||||
$ ros2 run tracetools tracetools_status
|
|
||||||
```
|
|
||||||
|
|
||||||
## Tracing
|
|
||||||
|
|
||||||
By default, the steps above will not lead to trace data being generated, and thus they will have no impact on execution.
|
|
||||||
|
|
||||||
LTTng has to be enabled: TODO mention scripts
|
|
Loading…
Add table
Add a link
Reference in a new issue