Go to the source code of this file.
|
static clib_error_t * | vl_api_show_histogram_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_clear_histogram_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_client_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_status_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_message_table_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static int | range_compare (vl_api_msg_range_t *a0, vl_api_msg_range_t *a1) |
|
static u8 * | format_api_msg_range (u8 *s, va_list *args) |
|
static clib_error_t * | vl_api_show_plugin_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
u8 * | format_vl_msg_api_trace_status (u8 *s, va_list *args) |
|
void | vl_msg_api_custom_dump_configure (api_main_t *am) |
|
static void | vl_msg_api_process_file (vlib_main_t *vm, u8 *filename, u32 first_index, u32 last_index, vl_api_replay_t which) |
|
static clib_error_t * | api_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| api_trace_command_fn - control the binary API trace / replay feature More...
|
|
static clib_error_t * | vl_api_trace_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | api_trace_config_fn (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | api_queue_config_fn (vlib_main_t *vm, unformat_input_t *input) |
|
static u8 * | extract_name (u8 *s) |
|
static u8 * | extract_crc (u8 *s) |
|
static int | table_id_cmp (void *a1, void *a2) |
|
static int | table_name_and_crc_cmp (void *a1, void *a2) |
|
static clib_error_t * | dump_api_table_file_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ vl_api_replay_t
Enumerator |
---|
DUMP | |
CUSTOM_DUMP | |
REPLAY | |
INITIALIZERS | |
Definition at line 344 of file vlib_api_cli.c.
◆ api_queue_config_fn()
◆ api_trace_command_fn()
api_trace_command_fn - control the binary API trace / replay feature
Note: this command MUST be marked thread-safe. Replay with multiple worker threads depends in many cases on worker thread graph replica maintenance. If we (implicitly) assert a worker thread barrier at the debug CLI level, all graph replica changes are deferred until the replay operation completes. If an interface is deleted, the wheels fall off.
Definition at line 685 of file vlib_api_cli.c.
◆ api_trace_config_fn()
◆ dump_api_table_file_command_fn()
◆ extract_crc()
static u8* extract_crc |
( |
u8 * |
s | ) |
|
|
static |
◆ extract_name()
static u8* extract_name |
( |
u8 * |
s | ) |
|
|
static |
◆ format_api_msg_range()
static u8* format_api_msg_range |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_vl_msg_api_trace_status()
u8* format_vl_msg_api_trace_status |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ range_compare()
◆ table_id_cmp()
static int table_id_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ table_name_and_crc_cmp()
static int table_name_and_crc_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ vl_api_clear_histogram_command()
◆ vl_api_client_command()
◆ vl_api_message_table_command()
◆ vl_api_show_histogram_command()
◆ vl_api_show_plugin_command()
◆ vl_api_status_command()
◆ vl_api_trace_command()
◆ vl_msg_api_custom_dump_configure()
void vl_msg_api_custom_dump_configure |
( |
api_main_t * |
am | ) |
|
◆ vl_msg_api_process_file()
◆ api_trace_command
Initial value:=
{
.path = "api trace",
.short_help = "api trace [on|off][first <n>][last <n>][status][free]"
"[post-mortem-on][dump|custom-dump|save|replay <file>]",
.is_mp_safe = 1,
}
static clib_error_t * api_trace_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
api_trace_command_fn - control the binary API trace / replay feature
(constructor) VLIB_CLI_COMMAND (api_trace_command)
Definition at line 818 of file vlib_api_cli.c.
◆ cli_clear_api_histogram_command
Initial value:=
{
.path = "clear api histogram",
.short_help = "clear api histogram",
}
static clib_error_t * vl_api_clear_histogram_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_clear_api_histogram_command)
Definition at line 89 of file vlib_api_cli.c.
◆ cli_show_api_clients_command
Initial value:=
{
.path = "show api clients",
.short_help = "Client information",
}
static clib_error_t * vl_api_client_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_clients_command)
Definition at line 206 of file vlib_api_cli.c.
◆ cli_show_api_command
Initial value:=
{
.path = "show api",
.short_help = "Show API information",
}
(constructor) VLIB_CLI_COMMAND (cli_show_api_command)
Definition at line 195 of file vlib_api_cli.c.
◆ cli_show_api_histogram_command
Initial value:=
{
.path = "show api histogram",
.short_help = "show api histogram",
}
static clib_error_t * vl_api_show_histogram_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_histogram_command)
Definition at line 65 of file vlib_api_cli.c.
◆ cli_show_api_message_table_command
Initial value:=
{
.path = "show api message-table",
.short_help = "Message Table",
}
static clib_error_t * vl_api_message_table_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_message_table_command)
Definition at line 269 of file vlib_api_cli.c.
◆ cli_show_api_plugin_command
Initial value:=
{
.path = "show api plugin",
.short_help = "show api plugin",
}
static clib_error_t * vl_api_show_plugin_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_plugin_command)
Definition at line 336 of file vlib_api_cli.c.
◆ cli_show_api_status_command
Initial value:=
{
.path = "show api trace-status",
.short_help = "Display API trace status",
}
static clib_error_t * vl_api_status_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_status_command)
Definition at line 218 of file vlib_api_cli.c.
◆ dump_api_table_file
Initial value:=
{
.path = "show api dump",
.short_help = "show api dump file <filename> [numeric | compare-current]",
}
static clib_error_t * dump_api_table_file_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dump_api_table_file)
Definition at line 1235 of file vlib_api_cli.c.
◆ trace
Initial value:=
{
.path = "set api-trace",
.short_help = "API trace [on][on tx][on rx][off][free][debug on][debug off]",
}
static clib_error_t * vl_api_trace_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (trace)
Definition at line 898 of file vlib_api_cli.c.