2019-05-16 12:54:35 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_init,
|
|
|
|
TP_ARGS(
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
)
|
|
|
|
)
|
2019-05-16 13:36:59 +02:00
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_node_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const char*, node_name_arg,
|
2019-05-17 09:03:03 +02:00
|
|
|
const char*, namespace_arg,
|
|
|
|
const void*, rmw_handle_arg
|
2019-05-16 13:36:59 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_string(node_name, node_name_arg)
|
|
|
|
ctf_string(namespace, namespace_arg)
|
2019-05-17 09:03:03 +02:00
|
|
|
ctf_integer_hex(const void*, rmw_handle, rmw_handle_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_publisher_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const char*, node_name_arg,
|
|
|
|
const char*, namespace_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_string(node_name, node_name_arg)
|
|
|
|
ctf_string(namespace, namespace_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_subscription_init,
|
|
|
|
TP_ARGS(
|
2019-05-17 14:59:31 +02:00
|
|
|
const void*, subscription_handle_arg,
|
2019-05-16 13:36:59 +02:00
|
|
|
const char*, node_name_arg,
|
|
|
|
const char*, topic_name_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-17 14:59:31 +02:00
|
|
|
ctf_integer_hex(const void*, subscription_handle, subscription_handle_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
ctf_string(node_name, node_name_arg)
|
|
|
|
ctf_string(topic_name, topic_name_arg)
|
|
|
|
)
|
|
|
|
)
|
2019-05-17 09:05:34 +02:00
|
|
|
|
2019-05-17 14:59:31 +02:00
|
|
|
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)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2019-05-17 09:05:34 +02:00
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
2019-05-17 13:24:21 +02:00
|
|
|
rclcpp_subscription_callback_start,
|
2019-05-17 09:05:34 +02:00
|
|
|
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,
|
2019-05-17 13:24:21 +02:00
|
|
|
rclcpp_subscription_callback_end,
|
2019-05-17 09:05:34 +02:00
|
|
|
TP_ARGS(
|
|
|
|
const void*, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void*, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|
2019-05-17 13:52:19 +02:00
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_start,
|
|
|
|
TP_ARGS(
|
|
|
|
const void*, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void*, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_end,
|
|
|
|
TP_ARGS(
|
|
|
|
const void*, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void*, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|