Go to the source code of this file.
|
static u32 | bufmon_alloc_free_callback (vlib_main_t *vm, u32 n_buffers, const int is_free) |
|
static u32 | bufmon_alloc_callback (vlib_main_t *vm, u8 buffer_pool_index, u32 *buffers, u32 n_buffers) |
|
static u32 | bufmon_free_callback (vlib_main_t *vm, u8 buffer_pool_index, u32 *buffers, u32 n_buffers) |
|
static u32 | bufmon_count_buffers (vlib_main_t *vm, vlib_frame_t *frame) |
|
static uword | bufmon_dispatch_wrapper (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static void | bufmon_unregister_callbacks (vlib_main_t *vm) |
|
static clib_error_t * | bufmon_register_callbacks (vlib_main_t *vm) |
|
static clib_error_t * | bufmon_enable_disable (vlib_main_t *vm, int enable) |
|
static clib_error_t * | set_buffer_traces (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_buffer_traces (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_buffer_traces (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ bufmon_alloc_callback()
◆ bufmon_alloc_free_callback()
static u32 bufmon_alloc_free_callback |
( |
vlib_main_t * |
vm, |
|
|
u32 |
n_buffers, |
|
|
const int |
is_free |
|
) |
| |
|
static |
◆ bufmon_count_buffers()
◆ bufmon_dispatch_wrapper()
◆ bufmon_enable_disable()
◆ bufmon_free_callback()
◆ bufmon_register_callbacks()
◆ bufmon_unregister_callbacks()
static void bufmon_unregister_callbacks |
( |
vlib_main_t * |
vm | ) |
|
|
static |
◆ clear_buffer_traces()
◆ set_buffer_traces()
◆ show_buffer_traces()
◆ VLIB_PLUGIN_REGISTER()
◆ bufmon_main
◆ clear_buffers_trace_command
Initial value:= {
.path = "clear buffer traces",
.short_help = "clear buffer traces",
}
(constructor) VLIB_CLI_COMMAND (clear_buffers_trace_command)
Definition at line 304 of file bufmon.c.
◆ set_buffer_traces_command
Initial value:= {
.path = "set buffer traces",
.short_help = "set buffer traces [on|off]",
}
(constructor) VLIB_CLI_COMMAND (set_buffer_traces_command)
Definition at line 218 of file bufmon.c.
◆ show_buffer_traces_command
Initial value:= {
.path = "show buffer traces",
.short_help = "show buffer traces [status|verbose]",
}
(constructor) VLIB_CLI_COMMAND (show_buffer_traces_command)
Definition at line 283 of file bufmon.c.