Add rcl_client_init tracepoint
This commit is contained in:
parent
ffbca08d02
commit
d36c3d824c
3 changed files with 37 additions and 0 deletions
|
@ -112,6 +112,16 @@ void TRACEPOINT(
|
|||
rclcpp_service_callback_end,
|
||||
const void * callback);
|
||||
|
||||
/**
|
||||
* tp: rcl_client_init
|
||||
*/
|
||||
void TRACEPOINT(
|
||||
rcl_client_init,
|
||||
const void * node_handle,
|
||||
const void * client_handle,
|
||||
const void * rmw_client_handle,
|
||||
const char * service_name);
|
||||
|
||||
/**
|
||||
* tp: rcl_timer_init
|
||||
*/
|
||||
|
|
|
@ -155,6 +155,23 @@ TRACEPOINT_EVENT(
|
|||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rcl_client_init,
|
||||
TP_ARGS(
|
||||
const void *, node_handle_arg,
|
||||
const void *, client_handle_arg,
|
||||
const void *, rmw_client_handle_arg,
|
||||
const char *, service_name_arg
|
||||
),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
||||
ctf_integer_hex(const void *, client_handle, client_handle_arg)
|
||||
ctf_integer_hex(const void *, rmw_client_handle, rmw_client_handle_arg)
|
||||
ctf_string(service_name, service_name_arg)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rcl_timer_init,
|
||||
|
|
|
@ -112,6 +112,16 @@ void TRACEPOINT(
|
|||
CONDITIONAL_TP(ros2, rclcpp_service_callback_end, callback);
|
||||
}
|
||||
|
||||
void TRACEPOINT(
|
||||
rcl_client_init,
|
||||
const void * node_handle,
|
||||
const void * client_handle,
|
||||
const void * rmw_client_handle,
|
||||
const char * service_name)
|
||||
{
|
||||
CONDITIONAL_TP(ros2, rcl_client_init, node_handle, client_handle, rmw_client_handle, service_name);
|
||||
}
|
||||
|
||||
void TRACEPOINT(
|
||||
rcl_timer_init,
|
||||
const void * timer_handle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue