FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
trace_api.c File Reference
+ Include dependency graph for trace_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs
 
#define vl_endianfun
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define foreach_trace_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_trace_profile_add_t_handler (vl_api_trace_profile_add_t *mp)
 
static void vl_api_trace_profile_del_t_handler (vl_api_trace_profile_del_t *mp)
 
static void vl_api_trace_profile_show_config_t_handler (vl_api_trace_profile_show_config_t *mp)
 
static clib_error_ttrace_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (trace_main_t *sm, api_main_t *am)
 
static clib_error_ttrace_init (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_trace_plugin_api_msg

#define foreach_trace_plugin_api_msg
Value:
_(TRACE_PROFILE_ADD, trace_profile_add) \
_(TRACE_PROFILE_DEL, trace_profile_del) \
_(TRACE_PROFILE_SHOW_CONFIG, trace_profile_show_config)

Definition at line 57 of file trace_api.c.

◆ vl_api_version

#define vl_api_version (   n,
 
)    static u32 api_version=(v);

Definition at line 51 of file trace_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 40 of file trace_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 144 of file trace_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 45 of file trace_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 46 of file trace_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 35 of file trace_api.c.

Function Documentation

◆ setup_message_id_table()

static void setup_message_id_table ( trace_main_t sm,
api_main_t am 
)
static

Definition at line 149 of file trace_api.c.

+ Here is the caller graph for this function:

◆ trace_init()

static clib_error_t* trace_init ( vlib_main_t vm)
static

Definition at line 158 of file trace_api.c.

+ Here is the call graph for this function:

◆ trace_plugin_api_hookup()

static clib_error_t* trace_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 127 of file trace_api.c.

+ Here is the caller graph for this function:

◆ vl_api_trace_profile_add_t_handler()

static void vl_api_trace_profile_add_t_handler ( vl_api_trace_profile_add_t mp)
static

Definition at line 63 of file trace_api.c.

+ Here is the call graph for this function:

◆ vl_api_trace_profile_del_t_handler()

static void vl_api_trace_profile_del_t_handler ( vl_api_trace_profile_del_t mp)
static

Definition at line 89 of file trace_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_trace_profile_show_config_t_handler()

static void vl_api_trace_profile_show_config_t_handler ( vl_api_trace_profile_show_config_t mp)
static

Definition at line 100 of file trace_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: