Add rmw_handle to rcl_*_init tracepoint params
This commit is contained in:
parent
5c4b84520e
commit
7e215289d7
3 changed files with 9 additions and 7 deletions
|
@ -21,17 +21,17 @@ void ros_trace_rcl_init()
|
|||
#endif
|
||||
}
|
||||
|
||||
void ros_trace_rcl_node_init(const char * node_name, const char * namespace)
|
||||
void ros_trace_rcl_node_init(const char * node_name, const char * node_namespace, const void * rmw_handle)
|
||||
{
|
||||
#ifdef WITH_LTTNG
|
||||
tracepoint(ros2, rcl_node_init, node_name, namespace);
|
||||
tracepoint(ros2, rcl_node_init, node_name, node_namespace, rmw_handle);
|
||||
#endif
|
||||
}
|
||||
|
||||
void ros_trace_rcl_publisher_init(const char * node_name, const char * namespace)
|
||||
void ros_trace_rcl_publisher_init(const char * node_name, const char * node_namespace)
|
||||
{
|
||||
#ifdef WITH_LTTNG
|
||||
tracepoint(ros2, rcl_publisher_init, node_name, namespace);
|
||||
tracepoint(ros2, rcl_publisher_init, node_name, node_namespace);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue