FD.io VPP  v21.01.1
Vector Packet Processing
tracedump.c File Reference
+ Include dependency graph for tracedump.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   tdmp->msg_id_base
 

Functions

static void vl_api_trace_set_filters_t_handler (vl_api_trace_set_filters_t *mp)
 
static void vl_api_trace_capture_packets_t_handler (vl_api_trace_capture_packets_t *mp)
 
static void vl_api_trace_clear_capture_t_handler (vl_api_trace_clear_capture_t *mp)
 
static int trace_cmp (void *a1, void *a2)
 
static void toss_client_cache (tracedump_main_t *tdmp, u32 client_index, vlib_trace_header_t ***client_trace_cache)
 
static clib_error_ttracedump_cache_reaper (u32 client_index)
 
 VL_MSG_API_REAPER_FUNCTION (tracedump_cache_reaper)
 
static void vl_api_trace_dump_t_handler (vl_api_trace_dump_t *mp)
 
static clib_error_ttracedump_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

tracedump_main_t tracedump_main
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   tdmp->msg_id_base

Definition at line 31 of file tracedump.c.

Function Documentation

◆ toss_client_cache()

static void toss_client_cache ( tracedump_main_t tdmp,
u32  client_index,
vlib_trace_header_t ***  client_trace_cache 
)
static

Definition at line 139 of file tracedump.c.

+ Here is the caller graph for this function:

◆ trace_cmp()

static int trace_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 130 of file tracedump.c.

+ Here is the caller graph for this function:

◆ tracedump_cache_reaper()

static clib_error_t* tracedump_cache_reaper ( u32  client_index)
static

Definition at line 158 of file tracedump.c.

+ Here is the call graph for this function:

◆ tracedump_init()

static clib_error_t* tracedump_init ( vlib_main_t vm)
static

Definition at line 340 of file tracedump.c.

+ Here is the call graph for this function:

◆ vl_api_trace_capture_packets_t_handler()

static void vl_api_trace_capture_packets_t_handler ( vl_api_trace_capture_packets_t mp)
static

Definition at line 74 of file tracedump.c.

+ Here is the call graph for this function:

◆ vl_api_trace_clear_capture_t_handler()

static void vl_api_trace_clear_capture_t_handler ( vl_api_trace_clear_capture_t mp)
static

Definition at line 116 of file tracedump.c.

+ Here is the call graph for this function:

◆ vl_api_trace_dump_t_handler()

static void vl_api_trace_dump_t_handler ( vl_api_trace_dump_t mp)
static

Definition at line 176 of file tracedump.c.

+ Here is the call graph for this function:

◆ vl_api_trace_set_filters_t_handler()

static void vl_api_trace_set_filters_t_handler ( vl_api_trace_set_filters_t mp)
static

Definition at line 38 of file tracedump.c.

+ Here is the call graph for this function:

◆ VL_MSG_API_REAPER_FUNCTION()

VL_MSG_API_REAPER_FUNCTION ( tracedump_cache_reaper  )
+ Here is the caller graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ tracedump_main

tracedump_main_t tracedump_main

Definition at line 34 of file tracedump.c.