FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
trace.h File Reference
+ Include dependency graph for trace.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vlib_trace_header_t
 
struct  vlib_trace_node_t
 
struct  vlib_trace_main_t
 

Macros

#define FILTER_FLAG_NONE   0
 
#define FILTER_FLAG_INCLUDE   1
 
#define FILTER_FLAG_EXCLUDE   2
 

Typedefs

typedef void() vlib_trace_buffer_callback_t(struct vlib_main_t *, struct vlib_trace_main_t *)
 
typedef void *() vlib_add_trace_callback_t(struct vlib_main_t *, struct vlib_node_runtime_t *r, struct vlib_buffer_t *b, u32 n_data_bytes)
 

Functions

void trace_apply_filter (struct vlib_main_t *vm)
 

Variables

format_function_t format_vlib_trace
 

Macro Definition Documentation

◆ FILTER_FLAG_EXCLUDE

#define FILTER_FLAG_EXCLUDE   2

Definition at line 93 of file trace.h.

◆ FILTER_FLAG_INCLUDE

#define FILTER_FLAG_INCLUDE   1

Definition at line 92 of file trace.h.

◆ FILTER_FLAG_NONE

#define FILTER_FLAG_NONE   0

Definition at line 91 of file trace.h.

Typedef Documentation

◆ vlib_add_trace_callback_t

typedef void*() vlib_add_trace_callback_t(struct vlib_main_t *, struct vlib_node_runtime_t *r, struct vlib_buffer_t *b, u32 n_data_bytes)

Definition at line 78 of file trace.h.

◆ vlib_trace_buffer_callback_t

typedef void() vlib_trace_buffer_callback_t(struct vlib_main_t *, struct vlib_trace_main_t *)

Definition at line 72 of file trace.h.

Function Documentation

◆ trace_apply_filter()

void trace_apply_filter ( struct vlib_main_t vm)

Definition at line 226 of file trace.c.

Variable Documentation

◆ format_vlib_trace

format_function_t format_vlib_trace

Definition at line 113 of file trace.h.