Add callback start/end tracepoints
This commit is contained in:
parent
7e215289d7
commit
cd75a0a2e1
4 changed files with 51 additions and 1 deletions
|
@ -49,3 +49,27 @@ TRACEPOINT_EVENT(
|
|||
ctf_string(topic_name, topic_name_arg)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rclcpp_callback_start,
|
||||
TP_ARGS(
|
||||
const void*, callback_arg,
|
||||
int, is_intra_process_arg
|
||||
),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(const void*, callback, callback_arg)
|
||||
ctf_integer(int, is_intra_process, is_intra_process_arg)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
ros2,
|
||||
rclcpp_callback_end,
|
||||
TP_ARGS(
|
||||
const void*, callback_arg
|
||||
),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(const void*, callback, callback_arg)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue