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

Variables

 rcl_node_init
 
 rcl_publisher_init
 
 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_callback_register
 
 callback_start
 
 callback_end
 

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/13]

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

◆ TP_FIELDS() [1/12]

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/13]

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/12]

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/13]

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() [3/12]

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() [4/13]

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

◆ TP_FIELDS() [4/12]

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

◆ TP_ARGS() [5/13]

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

◆ TP_FIELDS() [5/12]

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

◆ TP_ARGS() [6/13]

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() [6/12]

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() [7/13]

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

◆ TP_FIELDS() [7/12]

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

◆ TP_ARGS() [8/13]

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() [8/12]

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() [9/13]

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

◆ TP_FIELDS() [9/12]

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

◆ TP_ARGS() [10/13]

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

◆ TP_FIELDS() [10/12]

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

◆ TP_ARGS() [11/13]

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

◆ TP_FIELDS() [11/12]

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

◆ TP_ARGS() [12/13]

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

◆ TP_FIELDS() [12/12]

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

◆ TP_ARGS() [13/13]

TP_ARGS ( const void *  ,
callback_arg   
)

Variable Documentation

◆ rcl_node_init

rcl_node_init

◆ rcl_publisher_init

rcl_publisher_init

◆ 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_callback_register

rclcpp_callback_register

◆ callback_start

callback_start

◆ callback_end

callback_end