2019-05-16 12:54:35 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_init,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, context_arg
|
2019-05-16 12:54:35 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, context, context_arg)
|
2019-05-16 12:54:35 +02:00
|
|
|
)
|
|
|
|
)
|
2019-05-16 13:36:59 +02:00
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_node_init,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, node_handle_arg,
|
|
|
|
const void *, rmw_handle_arg,
|
|
|
|
const char *, node_name_arg,
|
|
|
|
const char *, namespace_arg
|
2019-05-16 13:36:59 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, rmw_handle, rmw_handle_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
ctf_string(node_name, node_name_arg)
|
|
|
|
ctf_string(namespace, namespace_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_publisher_init,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, node_handle_arg,
|
|
|
|
const void *, rmw_handle_arg,
|
|
|
|
const void *, publisher_handle_arg,
|
2019-05-27 15:19:11 +02:00
|
|
|
const char *, topic_name_arg,
|
|
|
|
const size_t, depth_arg
|
2019-05-16 13:36:59 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, rmw_handle, rmw_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg)
|
2019-05-20 13:58:06 +02:00
|
|
|
ctf_string(topic_name, topic_name_arg)
|
2019-05-27 15:19:11 +02:00
|
|
|
ctf_integer(const size_t, depth, depth_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_subscription_init,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, node_handle_arg,
|
|
|
|
const void *, rmw_handle_arg,
|
|
|
|
const void *, subscription_handle_arg,
|
2019-05-27 16:48:45 +02:00
|
|
|
const char *, topic_name_arg,
|
|
|
|
const size_t, depth_arg
|
2019-05-16 13:36:59 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, rmw_handle, rmw_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
ctf_string(topic_name, topic_name_arg)
|
2019-05-27 16:48:45 +02:00
|
|
|
ctf_integer(const size_t, depth, depth_arg)
|
2019-05-16 13:36:59 +02:00
|
|
|
)
|
|
|
|
)
|
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(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, subscription_handle_arg,
|
|
|
|
const void *, callback_arg
|
2019-05-17 14:59:31 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-17 14:59:31 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
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(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, callback_arg,
|
2019-05-17 09:05:34 +02:00
|
|
|
int, is_intra_process_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-17 09:05:34 +02:00
|
|
|
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(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, callback_arg
|
2019-05-17 09:05:34 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-17 09:05:34 +02:00
|
|
|
)
|
|
|
|
)
|
2019-05-17 13:52:19 +02:00
|
|
|
|
2019-05-20 11:45:19 +02:00
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_service_init,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, node_handle_arg,
|
|
|
|
const void *, rmw_handle_arg,
|
|
|
|
const void *, service_handle_arg,
|
|
|
|
const char *, service_name_arg
|
2019-05-20 11:45:19 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, rmw_handle, rmw_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, service_handle, service_handle_arg)
|
2019-05-20 11:45:19 +02:00
|
|
|
ctf_string(service_name, service_name_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_added,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, service_handle_arg,
|
|
|
|
const void *, callback_arg
|
2019-05-20 11:45:19 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, service_handle, service_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-20 11:45:19 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2019-05-17 13:52:19 +02:00
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_start,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, callback_arg
|
2019-05-17 13:52:19 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-17 13:52:19 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_end,
|
|
|
|
TP_ARGS(
|
2019-05-23 11:26:59 +02:00
|
|
|
const void *, callback_arg
|
2019-05-17 13:52:19 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-05-23 11:26:59 +02:00
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-05-17 13:52:19 +02:00
|
|
|
)
|
|
|
|
)
|
2019-05-28 13:13:53 +02:00
|
|
|
|
2019-05-28 14:15:46 +02:00
|
|
|
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)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2019-05-28 13:13:53 +02:00
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_timer_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, timer_handle_arg,
|
|
|
|
long, period_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, timer_handle, timer_handle_arg)
|
|
|
|
ctf_integer(long, period, period_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_timer_callback_added,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, timer_handle_arg,
|
|
|
|
const void *, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, timer_handle, timer_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_timer_callback_start,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_timer_callback_end,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|