ROS index logo ROS Index
Package List
Repository List
System Dependencies
  • Package List
  • Repository List
  • System Dependencies
    • Documentation
    • Support
    • Discussion Forum
    • Service Status
    • ros @ Robotics Stack Exchange
    • Package API
    • About
    • Contribute
    • Help
    • Stats
    • About
    • Contribute
    • Help
    • Stats

    • Documentation
    • Support
    • Discussion Forum
    • Service Status
    • ros @ Robotics Stack Exchange
    • Package API
  1. Home
  2. Repos
  3. ros2_tracing
  • ardent
  • bouncy
  • crystal
  • eloquent
  • dashing
  • galactic
  • foxy
  • iron
  • lunar
  • jade
  • indigo
  • hydro
  • kinetic
  • melodic
  • noetic
 
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro humble. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro kilted. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro ardent. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro crystal. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing

Repository Summary

Checkout URI https://gitlab.com/ros-tracing/ros2_tracing.git
VCS Type git
VCS Version eloquent
Last Updated 2020-10-14
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros2trace 0.2.12
tracetools 0.2.12
tracetools_launch 0.2.12
tracetools_read 0.2.12
tracetools_test 0.2.12
tracetools_trace 0.2.12

README

ros2_tracing

pipeline status

Tracing tools for ROS 2.

Building

If the TRACETOOLS_DISABLED option is enabled during build or if LTTng is not found, then this package will not do anything.

To enable tracing:

  1. Install LTTng with the Python bindings to control tracing and read traces:
    $ sudo apt-add-repository ppa:lttng/stable-2.10
    $ sudo apt-get update
    $ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
    $ sudo apt-get install python3-babeltrace python3-lttng
    
Notes:
* **Version 2.10.7 or above is required for LTTng**. Recommended: `>=2.10.10` or `>=2.11.1`. Check version with `lttng --version`.  
   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).
  1. Build
    $ colcon build
    
  1. Source and check that tracing is enabled:
    $ source ./install/local_setup.bash
    $ ros2 run tracetools status
    

Tracing

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. The packages in this repo provide two options.

Trace command

The first option is to use the ros2 trace command.

$ ros2 trace

By default, it will enable all ROS tracepoints and a few kernel tracepoints. The trace will be written to ~/.ros/tracing/session-YYYYMMDDHHMMSS. Run the command with -h for more information.

Launch file trace action

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 for more information.

Design

See the design document.

Analysis

See tracetools_analysis.

CONTRIBUTING


  • - Help Wanted
  • - Good First Issue
  • - Pull Requests to Review
Repo symbol

ros2_tracing repository

ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing

Repository Summary

Checkout URI https://gitlab.com/ros-tracing/ros2_tracing.git
VCS Type git
VCS Version dashing
Last Updated 2020-03-04
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
ros2trace 0.2.12
tracetools 0.2.12
tracetools_launch 0.2.12
tracetools_read 0.2.12
tracetools_test 0.2.12
tracetools_trace 0.2.12

README

ros2_tracing

pipeline status

Tracing tools for ROS 2.

Building

If the TRACETOOLS_DISABLED option is enabled during build or if LTTng is not found, then this package will not do anything.

To enable tracing:

  1. Install LTTng with the Python bindings to control tracing and read traces:
    $ sudo apt-add-repository ppa:lttng/stable-2.10
    $ sudo apt-get update
    $ sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev
    $ sudo apt-get install python3-babeltrace python3-lttng
    
Notes:
* **Version 2.10.7 or above is required for LTTng**. Recommended: `>=2.10.10` or `>=2.11.1`. Check version with `lttng --version`.  
   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).
  1. Build
    $ colcon build
    
  1. Source and check that tracing is enabled:
    $ source ./install/local_setup.bash
    $ ros2 run tracetools status
    

Tracing

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. The packages in this repo provide two options.

Trace command

The first option is to use the ros2 trace command.

$ ros2 trace

By default, it will enable all ROS tracepoints and a few kernel tracepoints. The trace will be written to ~/.ros/tracing/session-YYYYMMDDHHMMSS. Run the command with -h for more information.

Launch file trace action

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 for more information.

Design

See the design document.

Analysis

See tracetools_analysis.

CONTRIBUTING


  • - Help Wanted
  • - Good First Issue
  • - Pull Requests to Review
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro galactic. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro foxy. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro iron. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro lunar. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro jade. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro indigo. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro hydro. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro melodic. Known supported distros are highlighted in the buttons above.
Repo symbol

ros2_tracing repository

  • github-ros2-ros2_tracing
  • gitlab-ros-tracing-ros2_tracing
No version for distro noetic. Known supported distros are highlighted in the buttons above.
ros-infrastructure/rosindex | generated on 2025-07-12

a community-maintained index of robotics software | privacy