FD.io VPP  v20.09-64-g4f7b92f0a
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)
 
void vlib_add_handoff_trace (vlib_main_t *vm, vlib_buffer_t *b)
 
static void * vlib_add_trace_inline (vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
 
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)
 
int vnet_is_packet_traced (vlib_buffer_t *b, u32 classify_table_index, int func)
 
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_placeholder
 

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

void vlib_add_handoff_trace ( vlib_main_t vm,
vlib_buffer_t b 
)

Definition at line 100 of file handoff_trace.c.

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

◆ vlib_add_trace()

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

Definition at line 577 of file trace.c.

+ Here is the call graph for this function:

◆ vlib_add_trace_inline()

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

Definition at line 55 of file trace_funcs.h.

+ Here is the call graph for this function:
+ Here is the caller 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 184 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 111 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 193 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 209 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 136 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 105 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 121 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 call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_is_packet_traced()

int vnet_is_packet_traced ( vlib_buffer_t b,
u32  classify_table_index,
int  func 
)

Definition at line 2964 of file vnet_classify.c.

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

Variable Documentation

◆ vnet_trace_placeholder

u8* vnet_trace_placeholder

Definition at line 43 of file trace.c.