Skip to content

Added tracepoint#868

Open
nightduck wants to merge 1 commit intoros2:rollingfrom
nightduck:trace_rmw_take_loaned_message
Open

Added tracepoint#868
nightduck wants to merge 1 commit intoros2:rollingfrom
nightduck:trace_rmw_take_loaned_message

Conversation

@nightduck
Copy link

Description

It's difficult to fully trace a ROS2 system using zero-copy, because the message loaning functions don't invoke the rmw_take tracepoint, like the other rmw_take variants. This corrects for that.

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Additional Information

Signed-off-by: Oren Bell <oren.bell@autonomous-teaming.ai>
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm with green CI.

Copy link
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

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

Thank you very much for this!

Adding a test for this to test_tracetools would be appreciated (similar to test_intra_pub_sub.py vs test_pub_sub.py but for loaned messages), but we don't have to block on that.

@christophebedard
Copy link
Member

Pulls: ros2/rmw_cyclonedds#566, #868
Gist: https://gist.githubusercontent.com/christophebedard/56e6f2c34eeb5f472fe92ef3a76cf93d/raw/6183fa4011e07c8c1196e898b72c34ead03198c8/ros2.repos
BUILD args: --packages-above-and-dependencies ‎rmw_cyclonedds_cpp ‎rmw_fastrtps_shared_cpp test_tracetools
TEST args: --packages-above ‎rmw_cyclonedds_cpp ‎rmw_fastrtps_shared_cpp test_tracetools
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18655

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

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.

4 participants