Skip to content

Commit 0d1f60b

Browse files
Update links to repos in tracing tutorial and do minor fixes (#225)
1 parent d16536a commit 0d1f60b

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

  • _docs/tutorials/advanced/tracing

_docs/tutorials/advanced/tracing/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ $ sudo apt-get update
3838
$ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
3939
```
4040

41-
As part of the installation, a new group _tracing_ is created. Add your user to this group by
41+
As part of the installation, a new group _tracing_ is created. Add your user to this group by running
42+
4243
```bash
43-
sudo usermod -aG tracing $USER
44+
$ sudo usermod -aG tracing $USER
4445
```
46+
4547
and log off and on to take the new membership effect.
4648

4749
We'll also need these Python packages to read traces and setup a tracing session through ROS.
@@ -62,7 +64,7 @@ $ cd ros2_ws/
6264
The `rcl` and `rclcpp` instrumentation has been integrated into Eloquent, so we simply need to recompile `ros2_tracing` & compile `tracetools_analysis`.
6365

6466
```bash
65-
$ wget https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing/raw/master/tracing.repos
67+
$ wget https://gitlab.com/ros-tracing/ros2_tracing/raw/master/tracing.repos
6668
$ vcs import src < tracing.repos
6769
```
6870

@@ -134,7 +136,7 @@ arguments=['do_more']
134136

135137
Delete the previous trace directory, and execute the launch file again. Let it run for some time (e.g. 10-20 seconds), then kill it with `Ctrl+C`.
136138

137-
To run an analysis that displays durations of callbacks over time, use [this Jupyter notebook](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis/blob/master/tracetools_analysis/analysis/callback_duration.ipynb), which should be under `ros2_ws/src/tracetools_analysis/tracetools_analysis/analysis/`.
139+
To run an analysis that displays durations of callbacks over time, use [this Jupyter notebook](https://gitlab.com/ros-tracing/tracetools_analysis/blob/master/tracetools_analysis/analysis/callback_duration.ipynb), which should be under `ros2_ws/src/tracetools_analysis/tracetools_analysis/analysis/`.
138140

139141
The resulting plots for the `/ping` and `/pong` subscriptions are shown below. We can see that the durations vary greatly.
140142

@@ -144,4 +146,4 @@ The resulting plots for the `/ping` and `/pong` subscriptions are shown below. W
144146

145147
## Relevant links
146148

147-
The tracing packages can be found in the [`ros2_tracing` repo](https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing). The analysis tools can be found in the [`tracetools_analysis` repo](https://gitlab.com/micro-ROS/ros_tracing/tracetools_analysis).
149+
The tracing packages can be found in the [`ros2_tracing` repo](https://gitlab.com/ros-tracing/ros2_tracing). The analysis tools can be found in the [`tracetools_analysis` repo](https://gitlab.com/ros-tracing/tracetools_analysis).

0 commit comments

Comments
 (0)