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

Add tracepoint for publish/subscribe serialized message. #1

Closed

Conversation

h-suzuki-isp
Copy link

@h-suzuki-isp h-suzuki-isp commented Feb 29, 2024

Please, refer to ymski/rclcpp#1 .
I have added the following trace points.

  • __rmw_publish_serialized_message()
    • rmw_publish
  • _take_serialized_message()
    • rmw_take

@h-suzuki-isp h-suzuki-isp changed the title Add tracepoint for serialized message. Add tracepoint for publish/subscribe serialized message. Feb 29, 2024
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Comment on lines +2027 to +2028
const dds_time_t tstamp = dds_time();
TRACETOOLS_TRACEPOINT(rmw_publish, (const void *)publisher, serialized_message, tstamp);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect indentation

Signed-off-by: h-suzuki <h-suzuki@isp.co.jp>
Signed-off-by: h-suzuki <h-suzuki@isp.co.jp>
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

Successfully merging this pull request may close these issues.

3 participants