diff --git a/README.md b/README.md index e9aa6ac..1ff0150 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,11 @@ By default, it will enable all ROS tracepoints and a few kernel tracepoints. The ### Launch file trace action -Another option is to use the `Trace` action in a launch file along with your `Node` action(s). +Another option is to use the `Trace` action in a launch file along with your `Node` action(s). This way, tracing happens when launching the launch file. + +``` +$ ros2 launch tracetools_launch example.launch.py +``` See [this example launch file](./tracetools_launch/launch/example.launch.py) for more information.