Go to the source code of this file.
|
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) |
|
static void | clear_trace_buffer (void) |
|
u8 * | format_vlib_trace (u8 *s, va_list *va) |
|
static int | trace_cmp (void *a1, void *a2) |
|
u32 | filter_accept (vlib_trace_main_t *tm, vlib_trace_header_t *h) |
|
void | trace_apply_filter (vlib_main_t *vm) |
|
static clib_error_t * | cli_show_trace_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vlib_enable_disable_pkt_trace_filter (int enable) |
|
static clib_error_t * | cli_add_trace_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cli_filter_trace (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cli_clear_trace_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | vlib_trace_cli_reference (void) |
|
int | vnet_is_packet_traced (vlib_buffer_t *b, u32 classify_table_index, int func) |
|
◆ clear_trace_buffer()
static void clear_trace_buffer |
( |
void |
| ) |
|
|
inlinestatic |
◆ cli_add_trace_buffer()
◆ cli_clear_trace_buffer()
◆ cli_filter_trace()
◆ cli_show_trace_buffer()
◆ filter_accept()
◆ format_vlib_trace()
u8* format_vlib_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ trace_apply_filter()
◆ trace_cmp()
static int trace_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ vlib_enable_disable_pkt_trace_filter()
int vlib_enable_disable_pkt_trace_filter |
( |
int |
enable | ) |
|
◆ vlib_trace_cli_reference()
void vlib_trace_cli_reference |
( |
void |
| ) |
|
◆ vlib_trace_frame_buffers_only()
◆ vnet_is_packet_traced()
int vnet_is_packet_traced |
( |
vlib_buffer_t * |
b, |
|
|
u32 |
classify_table_index, |
|
|
int |
func |
|
) |
| |
◆ add_trace_cli
Initial value:= {
.path = "trace add",
.short_help = "Trace given number of packets",
}
static clib_error_t * cli_add_trace_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (add_trace_cli)
Definition at line 436 of file trace.c.
◆ clear_trace_cli
Initial value:= {
.path = "clear trace",
.short_help = "Clear trace buffer and free memory",
}
static clib_error_t * cli_clear_trace_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_trace_cli)
Definition at line 550 of file trace.c.
◆ filter_trace_cli
Initial value:= {
.path = "trace filter",
.short_help = "filter trace output - include NODE COUNT | exclude NODE COUNT | none",
}
static clib_error_t * cli_filter_trace(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (filter_trace_cli)
Definition at line 533 of file trace.c.
◆ show_trace_cli
Initial value:= {
.path = "show trace",
.short_help = "Show trace buffer [max COUNT]",
}
static clib_error_t * cli_show_trace_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_trace_cli)
Definition at line 347 of file trace.c.
◆ trace_cli_command
Initial value:= {
.path = "trace",
.short_help = "Packet tracer commands",
}
(constructor) VLIB_CLI_COMMAND (trace_cli_command)
Definition at line 172 of file trace.c.
◆ vnet_trace_dummy