2019-06-05 15:35:46 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_init,
|
|
|
|
TP_ARGS(
|
2019-06-17 10:25:25 +02:00
|
|
|
const void *, context_handle_arg,
|
|
|
|
const char *, version_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
2019-06-07 13:25:16 +02:00
|
|
|
ctf_integer_hex(const void *, context_handle, context_handle_arg)
|
2019-06-17 10:25:25 +02:00
|
|
|
ctf_string(version, version_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_node_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, node_handle_arg,
|
|
|
|
const void *, rmw_handle_arg,
|
|
|
|
const char *, node_name_arg,
|
|
|
|
const char *, namespace_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, rmw_handle, rmw_handle_arg)
|
|
|
|
ctf_string(node_name, node_name_arg)
|
|
|
|
ctf_string(namespace, namespace_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_publisher_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, publisher_handle_arg,
|
2019-06-07 14:35:29 +02:00
|
|
|
const void *, node_handle_arg,
|
2019-06-07 14:27:31 +02:00
|
|
|
const void *, rmw_publisher_handle_arg,
|
2019-06-05 15:35:46 +02:00
|
|
|
const char *, topic_name_arg,
|
2019-06-17 10:13:55 +02:00
|
|
|
const size_t, queue_depth_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg)
|
2019-06-07 14:35:29 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
2019-06-07 14:27:31 +02:00
|
|
|
ctf_integer_hex(const void *, rmw_publisher_handle, rmw_publisher_handle_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
ctf_string(topic_name, topic_name_arg)
|
2019-06-17 10:13:55 +02:00
|
|
|
ctf_integer(const size_t, queue_depth, queue_depth_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_subscription_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, subscription_handle_arg,
|
2019-06-07 14:35:29 +02:00
|
|
|
const void *, node_handle_arg,
|
2019-06-05 15:35:46 +02:00
|
|
|
const void *, rmw_subscription_handle_arg,
|
|
|
|
const char *, topic_name_arg,
|
2019-06-17 10:13:55 +02:00
|
|
|
const size_t, queue_depth_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg)
|
2019-06-07 14:35:29 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
ctf_integer_hex(const void *, rmw_subscription_handle, rmw_subscription_handle_arg)
|
|
|
|
ctf_string(topic_name, topic_name_arg)
|
2019-06-17 10:13:55 +02:00
|
|
|
ctf_integer(const size_t, queue_depth, queue_depth_arg)
|
2019-06-05 15:35:46 +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)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_service_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, service_handle_arg,
|
2019-06-07 14:35:29 +02:00
|
|
|
const void *, node_handle_arg,
|
2019-06-05 15:35:46 +02:00
|
|
|
const void *, rmw_service_handle_arg,
|
|
|
|
const char *, service_name_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, service_handle, service_handle_arg)
|
2019-06-07 14:35:29 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
ctf_integer_hex(const void *, rmw_service_handle, rmw_service_handle_arg)
|
|
|
|
ctf_string(service_name, service_name_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rclcpp_service_callback_added,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, service_handle_arg,
|
|
|
|
const void *, callback_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, service_handle, service_handle_arg)
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
|
|
|
rcl_client_init,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, client_handle_arg,
|
2019-06-07 14:35:29 +02:00
|
|
|
const void *, node_handle_arg,
|
2019-06-05 15:35:46 +02:00
|
|
|
const void *, rmw_client_handle_arg,
|
|
|
|
const char *, service_name_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, client_handle, client_handle_arg)
|
2019-06-07 14:35:29 +02:00
|
|
|
ctf_integer_hex(const void *, node_handle, node_handle_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
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,
|
|
|
|
TP_ARGS(
|
|
|
|
const void *, timer_handle_arg,
|
|
|
|
int64_t, period_arg
|
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, timer_handle, timer_handle_arg)
|
|
|
|
ctf_integer(int64_t, 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,
|
2019-06-14 10:08:24 +02:00
|
|
|
rclcpp_callback_register,
|
2019-06-05 15:35:46 +02:00
|
|
|
TP_ARGS(
|
2019-06-14 10:08:24 +02:00
|
|
|
const void *, callback_arg,
|
|
|
|
const char *, symbol_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-06-14 10:08:24 +02:00
|
|
|
ctf_string(symbol, symbol_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
2019-06-14 10:08:24 +02:00
|
|
|
callback_start,
|
2019-06-05 15:35:46 +02:00
|
|
|
TP_ARGS(
|
2019-06-14 10:08:24 +02:00
|
|
|
const void *, callback_arg,
|
|
|
|
int, is_intra_process_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
2019-06-14 10:08:24 +02:00
|
|
|
ctf_integer(int, is_intra_process, is_intra_process_arg)
|
2019-06-05 15:35:46 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
TRACEPOINT_EVENT(
|
|
|
|
ros2,
|
2019-06-14 10:08:24 +02:00
|
|
|
callback_end,
|
2019-06-05 15:35:46 +02:00
|
|
|
TP_ARGS(
|
2019-06-14 10:08:24 +02:00
|
|
|
const void *, callback_arg
|
2019-06-05 15:35:46 +02:00
|
|
|
),
|
|
|
|
TP_FIELDS(
|
|
|
|
ctf_integer_hex(const void *, callback, callback_arg)
|
|
|
|
)
|
|
|
|
)
|