Skip to content

Commit

Permalink
Fix subscription instrumentation for ConstSharedPtr[WithInfo]Callback (
Browse files Browse the repository at this point in the history
…#1872)

Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard authored Jan 31, 2022
1 parent a8baa3c commit 7e1740a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rclcpp/include/rclcpp/any_subscription_callback.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,16 @@ class AnySubscriptionCallback
rclcpp_callback_register,
(const void *)this,
get_symbol(shared_ptr_with_info_callback_));
} else if (const_shared_ptr_callback_) {
TRACEPOINT(
rclcpp_callback_register,
(const void *)this,
get_symbol(const_shared_ptr_callback_));
} else if (const_shared_ptr_with_info_callback_) {
TRACEPOINT(
rclcpp_callback_register,
(const void *)this,
get_symbol(const_shared_ptr_with_info_callback_));
} else if (unique_ptr_callback_) {
TRACEPOINT(
rclcpp_callback_register,
Expand Down

0 comments on commit 7e1740a

Please sign in to comment.