Add service callback start/end tracepoints
This commit is contained in:
parent
dd85e2af74
commit
a595bb06bf
3 changed files with 47 additions and 1 deletions
|
@ -54,4 +54,18 @@ void ros_trace_rclcpp_subscription_callback_end(const void * callback)
|
|||
#ifdef WITH_LTTNG
|
||||
tracepoint(ros2, rclcpp_subscription_callback_end, callback);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void ros_trace_rclcpp_service_callback_start(const void * callback)
|
||||
{
|
||||
#ifdef WITH_LTTNG
|
||||
tracepoint(ros2, rclcpp_service_callback_start, callback);
|
||||
#endif
|
||||
}
|
||||
|
||||
void ros_trace_rclcpp_service_callback_end(const void * callback)
|
||||
{
|
||||
#ifdef WITH_LTTNG
|
||||
tracepoint(ros2, rclcpp_service_callback_end, callback);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue