FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
trace_funcs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void vlib_validate_trace (vlib_trace_main_t *tm, vlib_buffer_t *b)
 
static void * vlib_add_trace (vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
 
static vlib_trace_header_tvlib_trace_header_next (vlib_trace_header_t *h)
 
static void vlib_free_trace (vlib_main_t *vm, vlib_buffer_t *b)
 
static void vlib_trace_next_frame (vlib_main_t *vm, vlib_node_runtime_t *r, u32 next_index)
 
void trace_apply_filter (vlib_main_t *vm)
 
static void vlib_trace_buffer (vlib_main_t *vm, vlib_node_runtime_t *r, u32 next_index, vlib_buffer_t *b, int follow_chain)
 
static void vlib_buffer_copy_trace_flag (vlib_main_t *vm, vlib_buffer_t *b, u32 bi_target)
 
static u32 vlib_get_trace_count (vlib_main_t *vm, vlib_node_runtime_t *rt)
 
static void vlib_set_trace_count (vlib_main_t *vm, vlib_node_runtime_t *rt, u32 count)
 
void vlib_trace_frame_buffers_only (vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, uword n_buffers, uword next_buffer_stride, uword n_buffer_data_bytes_in_trace)
 

Variables

u8vnet_trace_dummy
 

Function Documentation

◆ trace_apply_filter()

void trace_apply_filter ( vlib_main_t vm)

Definition at line 226 of file trace.c.

+ Here is the caller graph for this function:

◆ vlib_add_trace()

static void* vlib_add_trace ( vlib_main_t vm,
vlib_node_runtime_t r,
vlib_buffer_t b,
u32  n_data_bytes 
)
inlinestatic

Definition at line 57 of file trace_funcs.h.

+ Here is the call graph for this function:

◆ vlib_buffer_copy_trace_flag()

static void vlib_buffer_copy_trace_flag ( vlib_main_t vm,
vlib_buffer_t b,
u32  bi_target 
)
inlinestatic

Definition at line 147 of file trace_funcs.h.

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

◆ vlib_free_trace()

static void vlib_free_trace ( vlib_main_t vm,
vlib_buffer_t b 
)
inlinestatic

Definition at line 93 of file trace_funcs.h.

+ Here is the call graph for this function:

◆ vlib_get_trace_count()

static u32 vlib_get_trace_count ( vlib_main_t vm,
vlib_node_runtime_t rt 
)
inlinestatic

Definition at line 156 of file trace_funcs.h.

+ Here is the caller graph for this function:

◆ vlib_set_trace_count()

static void vlib_set_trace_count ( vlib_main_t vm,
vlib_node_runtime_t rt,
u32  count 
)
inlinestatic

Definition at line 172 of file trace_funcs.h.

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

◆ vlib_trace_buffer()

static void vlib_trace_buffer ( vlib_main_t vm,
vlib_node_runtime_t r,
u32  next_index,
vlib_buffer_t b,
int  follow_chain 
)
inlinestatic

Definition at line 114 of file trace_funcs.h.

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

◆ vlib_trace_frame_buffers_only()

void vlib_trace_frame_buffers_only ( vlib_main_t vm,
vlib_node_runtime_t node,
u32 buffers,
uword  n_buffers,
uword  next_buffer_stride,
uword  n_buffer_data_bytes_in_trace 
)

Definition at line 47 of file trace.c.

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

◆ vlib_trace_header_next()

static vlib_trace_header_t* vlib_trace_header_next ( vlib_trace_header_t h)
inlinestatic

Definition at line 87 of file trace_funcs.h.

+ Here is the caller graph for this function:

◆ vlib_trace_next_frame()

static void vlib_trace_next_frame ( vlib_main_t vm,
vlib_node_runtime_t r,
u32  next_index 
)
inlinestatic

Definition at line 102 of file trace_funcs.h.

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

◆ vlib_validate_trace()

static void vlib_validate_trace ( vlib_trace_main_t tm,
vlib_buffer_t b 
)
inlinestatic

Definition at line 46 of file trace_funcs.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ vnet_trace_dummy

u8* vnet_trace_dummy

Definition at line 43 of file trace.c.