Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming ros2 tracing events with the smacc2 prefix #35

Closed
pabloinigoblasco opened this issue Sep 9, 2021 · 1 comment
Closed

Renaming ros2 tracing events with the smacc2 prefix #35

pabloinigoblasco opened this issue Sep 9, 2021 · 1 comment

Comments

@pabloinigoblasco
Copy link
Contributor

This is useful to improve the readability of the tracing files and to improve the filtering.

@reelrobotics
Copy link
Contributor

Adding to this....
This is from the tracing.md file, the tracing event names that should be changed...
ros2:client_behavior_on_exit_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:client_behavior_on_exit_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:client_behavior_on_entry_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:client_behavior_on_entry_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onExit_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onExit_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onEntry_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onEntry_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onRuntimeConfigure_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:state_onRuntimeConfigure_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:update_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:update_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
ros2:smacc_event (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)

to something like...

  ros2:smacc2_client_behavior_on_exit_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_client_behavior_on_exit_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_client_behavior_on_entry_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_client_behavior_on_entry_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onExit_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onExit_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onEntry_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onEntry_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onRuntimeConfigure_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_onRuntimeConfigure_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_update_end (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_state_update_start (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
  ros2:smacc2_event (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)

Important Commits
Most of the commits that built this part of the code occurred from 5/18/2021 to 5/28/2021.

Important Files
https://github.com/robosoft-ai/SMACC2/blob/master/smacc2/scripts/trace.sh
https://github.com/robosoft-ai/SMACC2/tree/master/smacc2/include/smacc2/smacc_tracing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants