FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
cli.c File Reference
+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

uword unformat_perfmon_bundle_name (unformat_input_t *input, va_list *args)
 
uword unformat_perfmon_source_name (unformat_input_t *input, va_list *args)
 
u8format_perfmon_bundle (u8 *s, va_list *args)
 
static int bundle_name_sort_cmp (void *a1, void *a2)
 
static clib_error_tshow_perfmon_bundle_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
u8format_perfmon_source (u8 *s, va_list *args)
 
static clib_error_tshow_perfmon_source_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_perfmon_active_bundle_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_perfmon_stats_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tperfmon_reset_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tperfmon_start_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tperfmon_stop_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_perfmon_bundle_command
 (constructor) VLIB_CLI_COMMAND (show_perfmon_bundle_command) More...
 
static vlib_cli_command_t show_perfmon_source_command
 (constructor) VLIB_CLI_COMMAND (show_perfmon_source_command) More...
 
static vlib_cli_command_t show_perfmon_active_bundle_command
 (constructor) VLIB_CLI_COMMAND (show_perfmon_active_bundle_command) More...
 
static vlib_cli_command_t show_perfmon_stats_command
 (constructor) VLIB_CLI_COMMAND (show_perfmon_stats_command) More...
 
static vlib_cli_command_t perfmon_reset_command
 (constructor) VLIB_CLI_COMMAND (perfmon_reset_command) More...
 
static vlib_cli_command_t perfmon_start_command
 (constructor) VLIB_CLI_COMMAND (perfmon_start_command) More...
 
static vlib_cli_command_t perfmon_stop_command
 (constructor) VLIB_CLI_COMMAND (perfmon_stop_command) More...
 

Function Documentation

◆ bundle_name_sort_cmp()

static int bundle_name_sort_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 95 of file cli.c.

+ Here is the caller graph for this function:

◆ format_perfmon_bundle()

u8* format_perfmon_bundle ( u8 s,
va_list *  args 
)

Definition at line 61 of file cli.c.

+ Here is the caller graph for this function:

◆ format_perfmon_source()

u8* format_perfmon_source ( u8 s,
va_list *  args 
)

Definition at line 158 of file cli.c.

+ Here is the caller graph for this function:

◆ perfmon_reset_command_fn()

static clib_error_t* perfmon_reset_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 375 of file cli.c.

+ Here is the call graph for this function:

◆ perfmon_start_command_fn()

static clib_error_t* perfmon_start_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 390 of file cli.c.

+ Here is the call graph for this function:

◆ perfmon_stop_command_fn()

static clib_error_t* perfmon_stop_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 427 of file cli.c.

+ Here is the call graph for this function:

◆ show_perfmon_active_bundle_command_fn()

static clib_error_t* show_perfmon_active_bundle_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 259 of file cli.c.

+ Here is the call graph for this function:

◆ show_perfmon_bundle_command_fn()

static clib_error_t* show_perfmon_bundle_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 104 of file cli.c.

+ Here is the call graph for this function:

◆ show_perfmon_source_command_fn()

static clib_error_t* show_perfmon_source_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 209 of file cli.c.

+ Here is the call graph for this function:

◆ show_perfmon_stats_command_fn()

static clib_error_t* show_perfmon_stats_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 277 of file cli.c.

+ Here is the call graph for this function:

◆ unformat_perfmon_bundle_name()

uword unformat_perfmon_bundle_name ( unformat_input_t input,
va_list *  args 
)

Definition at line 21 of file cli.c.

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

◆ unformat_perfmon_source_name()

uword unformat_perfmon_source_name ( unformat_input_t input,
va_list *  args 
)

Definition at line 41 of file cli.c.

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

Variable Documentation

◆ perfmon_reset_command

vlib_cli_command_t perfmon_reset_command
static
Initial value:
= {
.path = "perfmon reset",
.short_help = "perfmon reset",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (perfmon_reset_command)

Definition at line 382 of file cli.c.

◆ perfmon_start_command

vlib_cli_command_t perfmon_start_command
static
Initial value:
= {
.path = "perfmon start",
.short_help = "perfmon start bundle [<bundle-name>]",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (perfmon_start_command)

Definition at line 419 of file cli.c.

◆ perfmon_stop_command

vlib_cli_command_t perfmon_stop_command
static
Initial value:
= {
.path = "perfmon stop",
.short_help = "perfmon stop",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (perfmon_stop_command)

Definition at line 433 of file cli.c.

◆ show_perfmon_active_bundle_command

vlib_cli_command_t show_perfmon_active_bundle_command
static
Initial value:
= {
.path = "show perfmon active-bundle",
.short_help = "show perfmon active-bundle",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (show_perfmon_active_bundle_command)

Definition at line 269 of file cli.c.

◆ show_perfmon_bundle_command

vlib_cli_command_t show_perfmon_bundle_command
static
Initial value:
= {
.path = "show perfmon bundle",
.short_help = "show perfmon bundle [<bundle-name>] [verbose]",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (show_perfmon_bundle_command)

Definition at line 150 of file cli.c.

◆ show_perfmon_source_command

vlib_cli_command_t show_perfmon_source_command
static
Initial value:
= {
.path = "show perfmon source",
.short_help = "show perfmon source [<source-name>] [verbose]",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (show_perfmon_source_command)

Definition at line 251 of file cli.c.

◆ show_perfmon_stats_command

vlib_cli_command_t show_perfmon_stats_command
static
Initial value:
= {
.path = "show perfmon statistics",
.short_help = "show perfmon statistics [raw]",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (show_perfmon_stats_command)

Definition at line 367 of file cli.c.

show_perfmon_source_command_fn
static clib_error_t * show_perfmon_source_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:209
perfmon_stop_command_fn
static clib_error_t * perfmon_stop_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:427
show_perfmon_stats_command_fn
static clib_error_t * show_perfmon_stats_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:277
perfmon_reset_command_fn
static clib_error_t * perfmon_reset_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:375
perfmon_start_command_fn
static clib_error_t * perfmon_start_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:390
show_perfmon_active_bundle_command_fn
static clib_error_t * show_perfmon_active_bundle_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:259
show_perfmon_bundle_command_fn
static clib_error_t * show_perfmon_bundle_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:104