FD.io VPP  v21.06-3-gbb25fbf28
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 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

◆ 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 146 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 362 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 377 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 414 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 247 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 95 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 197 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 265 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 369 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 406 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 420 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 257 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 138 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 239 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 354 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:197
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:414
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:265
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:362
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:377
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:247
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:95