Add history depth to rcl_subscription_init tracepoint

This commit is contained in:
Christophe Bedard 2019-05-27 16:48:45 +02:00
parent 5ee44035d4
commit eac0db07f8
3 changed files with 8 additions and 4 deletions

View file

@ -51,9 +51,10 @@ void TRACEPOINT(
const void * node_handle,
const void * rmw_handle,
const void * subscription_handle,
const char * topic_name)
const char * topic_name,
const size_t depth)
{
CONDITIONAL_TP(ros2, rcl_subscription_init, node_handle, rmw_handle, subscription_handle, topic_name);
CONDITIONAL_TP(ros2, rcl_subscription_init, node_handle, rmw_handle, subscription_handle, topic_name, depth);
}
void TRACEPOINT(