tracetools  master
Tracing tools and instrumentation for ROS 2
Macros | Functions | Variables
tp_call.h File Reference
#include <lttng/tracepoint.h>
#include <stdint.h>
#include <stdbool.h>
#include <lttng/tracepoint-event.h>
Include dependency graph for tp_call.h:

Go to the source code of this file.

Macros

#define TRACEPOINT_PROVIDER   ros2
 
#define TRACEPOINT_INCLUDE   "tracetools/tp_call.h"
 
#define _TRACETOOLS__TP_CALL_H_
 

Functions

 TRACEPOINT_EVENT (ros2, rcl_init, TP_ARGS(const void *, context_handle_arg), TP_FIELDS(ctf_integer_hex(const void *, context_handle, context_handle_arg) ctf_string(version, tracetools_VERSION))) TRACEPOINT_EVENT(ros2
 
 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
 
 TP_ARGS (const void *, publisher_handle_arg, const void *, node_handle_arg, const void *, rmw_publisher_handle_arg, const char *, topic_name_arg, const size_t, queue_depth_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_publisher_handle, rmw_publisher_handle_arg) ctf_string(topic_name, topic_name_arg) ctf_integer(const size_t, queue_depth, queue_depth_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, publisher_handle_arg, const void *, message_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg) ctf_integer_hex(const void *, message, message_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, subscription_handle_arg, const void *, node_handle_arg, const void *, rmw_subscription_handle_arg, const char *, topic_name_arg, const size_t, queue_depth_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_subscription_handle, rmw_subscription_handle_arg) ctf_string(topic_name, topic_name_arg) ctf_integer(const size_t, queue_depth, queue_depth_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, subscription_handle_arg, const void *, subscription_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg) ctf_integer_hex(const void *, subscription, subscription_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, subscription_arg, const void *, callback_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, subscription, subscription_arg) ctf_integer_hex(const void *, callback, callback_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, service_handle_arg, const void *, node_handle_arg, const void *, rmw_service_handle_arg, const char *, service_name_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, service_handle, service_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_service_handle, rmw_service_handle_arg) ctf_string(service_name, service_name_arg))) TRACEPOINT_EVENT(ros2
 
 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
 
 TP_ARGS (const void *, client_handle_arg, const void *, node_handle_arg, const void *, rmw_client_handle_arg, const char *, service_name_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, client_handle, client_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_client_handle, rmw_client_handle_arg) ctf_string(service_name, service_name_arg))) TRACEPOINT_EVENT(ros2
 
 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
 
 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
 
 TP_ARGS (const void *, timer_handle_arg, const void *, node_handle_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, timer_handle, timer_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, callback_arg, const char *, symbol_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, callback, callback_arg) ctf_string(symbol, symbol_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, callback_arg, const bool, is_intra_process_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, callback, callback_arg) ctf_integer(int, is_intra_process,(is_intra_process_arg ? 1 :0)))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, callback_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, callback, callback_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, node_handle_arg, const void *, state_machine_arg)
 
 TP_FIELDS (ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, state_machine, state_machine_arg))) TRACEPOINT_EVENT(ros2
 
 TP_ARGS (const void *, state_machine_arg, const char *, start_label_arg, const char *, goal_label_arg)
 

Variables

 rcl_node_init
 
 rcl_publisher_init
 
 rcl_publish
 
 rclcpp_publish
 
 rcl_subscription_init
 
 rclcpp_subscription_init
 
 rclcpp_subscription_callback_added
 
 rcl_service_init
 
 rclcpp_service_callback_added
 
 rcl_client_init
 
 rcl_timer_init
 
 rclcpp_timer_callback_added
 
 rclcpp_timer_link_node
 
 rclcpp_callback_register
 
 callback_start
 
 callback_end
 
 rcl_lifecycle_state_machine_init
 
 rcl_lifecycle_transition
 

Macro Definition Documentation

◆ TRACEPOINT_PROVIDER

#define TRACEPOINT_PROVIDER   ros2

◆ TRACEPOINT_INCLUDE

#define TRACEPOINT_INCLUDE   "tracetools/tp_call.h"

◆ _TRACETOOLS__TP_CALL_H_

#define _TRACETOOLS__TP_CALL_H_

Function Documentation

◆ TRACEPOINT_EVENT()

TRACEPOINT_EVENT ( ros2  ,
rcl_init  ,
TP_ARGS( const void *, context_handle_arg)  ,
TP_FIELDS( ctf_integer_hex(const void *, context_handle, context_handle_arg) ctf_string(version, tracetools_VERSION))   
)

◆ TP_ARGS() [1/17]

TP_ARGS ( const void *  ,
node_handle_arg  ,
const void *  ,
rmw_handle_arg  ,
const char *  ,
node_name_arg  ,
const char *  ,
namespace_arg   
)

◆ TP_FIELDS() [1/16]

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)  )

◆ TP_ARGS() [2/17]

TP_ARGS ( const void *  ,
publisher_handle_arg  ,
const void *  ,
node_handle_arg  ,
const void *  ,
rmw_publisher_handle_arg  ,
const char *  ,
topic_name_arg  ,
const  size_t,
queue_depth_arg   
)

◆ TP_FIELDS() [2/16]

TP_FIELDS ( ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_publisher_handle, rmw_publisher_handle_arg) ctf_string(topic_name, topic_name_arg) ctf_integer(const size_t, queue_depth, queue_depth_arg)  )

◆ TP_ARGS() [3/17]

TP_ARGS ( const void *  ,
publisher_handle_arg  ,
const void *  ,
message_arg   
)

◆ TP_FIELDS() [3/16]

TP_FIELDS ( ctf_integer_hex(const void *, publisher_handle, publisher_handle_arg) ctf_integer_hex(const void *, message, message_arg)  )

◆ TP_ARGS() [4/17]

TP_ARGS ( const void *  ,
subscription_handle_arg  ,
const void *  ,
node_handle_arg  ,
const void *  ,
rmw_subscription_handle_arg  ,
const char *  ,
topic_name_arg  ,
const  size_t,
queue_depth_arg   
)

◆ TP_FIELDS() [4/16]

TP_FIELDS ( ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_subscription_handle, rmw_subscription_handle_arg) ctf_string(topic_name, topic_name_arg) ctf_integer(const size_t, queue_depth, queue_depth_arg)  )

◆ TP_ARGS() [5/17]

TP_ARGS ( const void *  ,
subscription_handle_arg  ,
const void *  ,
subscription_arg   
)

◆ TP_FIELDS() [5/16]

TP_FIELDS ( ctf_integer_hex(const void *, subscription_handle, subscription_handle_arg) ctf_integer_hex(const void *, subscription, subscription_arg)  )

◆ TP_ARGS() [6/17]

TP_ARGS ( const void *  ,
subscription_arg  ,
const void *  ,
callback_arg   
)

◆ TP_FIELDS() [6/16]

TP_FIELDS ( ctf_integer_hex(const void *, subscription, subscription_arg) ctf_integer_hex(const void *, callback, callback_arg)  )

◆ TP_ARGS() [7/17]

TP_ARGS ( const void *  ,
service_handle_arg  ,
const void *  ,
node_handle_arg  ,
const void *  ,
rmw_service_handle_arg  ,
const char *  ,
service_name_arg   
)

◆ TP_FIELDS() [7/16]

TP_FIELDS ( ctf_integer_hex(const void *, service_handle, service_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_service_handle, rmw_service_handle_arg) ctf_string(service_name, service_name_arg)  )

◆ TP_ARGS() [8/17]

TP_ARGS ( const void *  ,
service_handle_arg  ,
const void *  ,
callback_arg   
)

◆ TP_FIELDS() [8/16]

TP_FIELDS ( ctf_integer_hex(const void *, service_handle, service_handle_arg) ctf_integer_hex(const void *, callback, callback_arg)  )

◆ TP_ARGS() [9/17]

TP_ARGS ( const void *  ,
client_handle_arg  ,
const void *  ,
node_handle_arg  ,
const void *  ,
rmw_client_handle_arg  ,
const char *  ,
service_name_arg   
)

◆ TP_FIELDS() [9/16]

TP_FIELDS ( ctf_integer_hex(const void *, client_handle, client_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, rmw_client_handle, rmw_client_handle_arg) ctf_string(service_name, service_name_arg)  )

◆ TP_ARGS() [10/17]

TP_ARGS ( const void *  ,
timer_handle_arg  ,
int64_t  ,
period_arg   
)

◆ TP_FIELDS() [10/16]

TP_FIELDS ( ctf_integer_hex(const void *, timer_handle, timer_handle_arg) ctf_integer(int64_t, period, period_arg)  )

◆ TP_ARGS() [11/17]

TP_ARGS ( const void *  ,
timer_handle_arg  ,
const void *  ,
callback_arg   
)

◆ TP_FIELDS() [11/16]

TP_FIELDS ( ctf_integer_hex(const void *, timer_handle, timer_handle_arg) ctf_integer_hex(const void *, callback, callback_arg)  )

◆ TP_ARGS() [12/17]

TP_ARGS ( const void *  ,
timer_handle_arg  ,
const void *  ,
node_handle_arg   
)

◆ TP_FIELDS() [12/16]

TP_FIELDS ( ctf_integer_hex(const void *, timer_handle, timer_handle_arg) ctf_integer_hex(const void *, node_handle, node_handle_arg)  )

◆ TP_ARGS() [13/17]

TP_ARGS ( const void *  ,
callback_arg  ,
const char *  ,
symbol_arg   
)

◆ TP_FIELDS() [13/16]

TP_FIELDS ( ctf_integer_hex(const void *, callback, callback_arg) ctf_string(symbol, symbol_arg)  )

◆ TP_ARGS() [14/17]

TP_ARGS ( const void *  ,
callback_arg  ,
const bool  ,
is_intra_process_arg   
)

◆ TP_FIELDS() [14/16]

TP_FIELDS ( ctf_integer_hex(const void *, callback, callback_arg) ctf_integer(int, is_intra_process,(is_intra_process_arg ? 1 :0))  )

◆ TP_ARGS() [15/17]

TP_ARGS ( const void *  ,
callback_arg   
)

◆ TP_FIELDS() [15/16]

TP_FIELDS ( ctf_integer_hex(const void *, callback, callback_arg)  )

◆ TP_ARGS() [16/17]

TP_ARGS ( const void *  ,
node_handle_arg  ,
const void *  ,
state_machine_arg   
)

◆ TP_FIELDS() [16/16]

TP_FIELDS ( ctf_integer_hex(const void *, node_handle, node_handle_arg) ctf_integer_hex(const void *, state_machine, state_machine_arg)  )

◆ TP_ARGS() [17/17]

TP_ARGS ( const void *  ,
state_machine_arg  ,
const char *  ,
start_label_arg  ,
const char *  ,
goal_label_arg   
)

Variable Documentation

◆ rcl_node_init

rcl_node_init

◆ rcl_publisher_init

rcl_publisher_init

◆ rcl_publish

rcl_publish

◆ rclcpp_publish

rclcpp_publish

◆ rcl_subscription_init

rcl_subscription_init

◆ rclcpp_subscription_init

rclcpp_subscription_init

◆ rclcpp_subscription_callback_added

rclcpp_subscription_callback_added

◆ rcl_service_init

rcl_service_init

◆ rclcpp_service_callback_added

rclcpp_service_callback_added

◆ rcl_client_init

rcl_client_init

◆ rcl_timer_init

rcl_timer_init

◆ rclcpp_timer_callback_added

rclcpp_timer_callback_added

◆ rclcpp_timer_link_node

rclcpp_timer_link_node

◆ rclcpp_callback_register

rclcpp_callback_register

◆ callback_start

callback_start

◆ callback_end

callback_end

◆ rcl_lifecycle_state_machine_init

rcl_lifecycle_state_machine_init

◆ rcl_lifecycle_transition

rcl_lifecycle_transition