Skip to content

Trace rmw take loaned message#871

Merged
christophebedard merged 1 commit into
ros2:rollingfrom
nightduck:trace_rmw_take_loaned_message
Apr 1, 2026
Merged

Trace rmw take loaned message#871
christophebedard merged 1 commit into
ros2:rollingfrom
nightduck:trace_rmw_take_loaned_message

Conversation

@nightduck
Copy link
Copy Markdown
Contributor

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. This was previously addressed by #868 but that missed a spot.

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Additional Information

@nightduck
Copy link
Copy Markdown
Contributor Author

ros2_tracing PR#241 has a unit test that confirms this works

Comment thread rmw_fastrtps_shared_cpp/src/rmw_take.cpp
…essful takes

Signed-off-by: Oren Bell <oren.bell@autonomous-teaming.ai>
@nightduck nightduck force-pushed the trace_rmw_take_loaned_message branch from 4c82499 to 6ddc0d1 Compare April 1, 2026 16:19
@christophebedard
Copy link
Copy Markdown
Member

Pulls: #871
Gist: https://gist.githubusercontent.com/christophebedard/53988209d351b82aa9d4ba6defbf9ebb/raw/9029cd537577dcfd88206ff30c2c9f496db0dff7/ros2.repos
BUILD args: --packages-above-and-dependencies test_tracetools
TEST args: --packages-above test_tracetools
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18790

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

@christophebedard christophebedard merged commit 41514e5 into ros2:rolling Apr 1, 2026
3 of 4 checks passed
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