Skip to content

Commit

Permalink
Add instructions for systemtap extensions to lttng (ros2#10)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Feb 9, 2023
1 parent fcea082 commit 81fe2ce
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ sudo apt-get install python3-babeltrace python3-lttng
sudo apt-get install lttng-modules-dkms
```


Additionally, if you're using kernel tracing with a non-root user, make sure that the tracing group exists and that your user is added to it.

```
Expand All @@ -70,6 +69,20 @@ sudo groupadd -r tracing
sudo usermod -aG tracing $USER
```

#### Note for Ubuntu 22.04

LTTng-UST is not built with SDT support in the package repositories.
Since message flow analysis makes use of SDT support, it is necessary to build a custom copy of lttng-ust

```
sudo apt install systemtap-sdt-dev
git clone https://github.com/lttng/lttng-ust -b stable-2.13
cd lttng-ust
./bootstrap
./configure --with-sdt
make && make install
```

#### Building the workspace

With lttng setup, we can create and build a workspace to use the reference system
Expand Down

0 comments on commit 81fe2ce

Please sign in to comment.