Add depth field to rcl_publisher_init tracepoint

This commit is contained in:
Christophe Bedard 2019-05-27 15:19:11 +02:00
parent 56ee174ef1
commit 5ee44035d4
3 changed files with 8 additions and 4 deletions

View file

@ -40,9 +40,10 @@ void TRACEPOINT(
const void * node_handle,
const void * rmw_handle,
const void * publisher_handle,
const char * topic_name)
const char * topic_name,
const size_t depth)
{
CONDITIONAL_TP(ros2, rcl_publisher_init, node_handle, rmw_handle, publisher_handle, topic_name);
CONDITIONAL_TP(ros2, rcl_publisher_init, node_handle, rmw_handle, publisher_handle, topic_name, depth);
}
void TRACEPOINT(