Add *subscription_callback_added and link subscription_handle to rcl_subscription_init
This commit is contained in:
parent
922ba77f97
commit
b09f72081c
3 changed files with 34 additions and 1 deletions
|
@ -41,15 +41,30 @@ TRACEPOINT_EVENT(
|
|||
ros2,
|
||||
rcl_subscription_init,
|
||||
TP_ARGS(
|
||||
const void*, subscription_handle_arg,
|
||||
const char*, node_name_arg,
|
||||
const char*, topic_name_arg
|
||||
),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(const void*, subscription_handle, subscription_handle_arg)
|
||||
ctf_string(node_name, node_name_arg)
|
||||
ctf_string(topic_name, topic_name_arg)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rclcpp_subscription_callback_added,
|
||||
TP_ARGS(
|
||||
const void*, subscription_handle_arg,
|
||||
const void*, callback_arg
|
||||
),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(const void*, subscription_handle, subscription_handle_arg)
|
||||
ctf_integer_hex(const void*, callback, callback_arg)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rclcpp_subscription_callback_start,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue