Go to the source code of this file.
|
static void | set_perfmon_json_path () |
|
static u32 | get_cpuid (void) |
|
static clib_error_t * | perfmon_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
static uword | atox (u8 *s) |
|
static uword | unformat_processor_event (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | set_pmc_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int | capture_name_sort (void *a1, void *a2) |
|
static u8 * | format_capture (u8 *s, va_list *args) |
|
static u8 * | format_generic_events (u8 *s, va_list *args) |
|
static int | sort_nvps_by_name (void *a1, void *a2) |
|
static u8 * | format_processor_events (u8 *s, va_list *args) |
|
static clib_error_t * | show_pmc_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_pmc_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int capture_name_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
static u8* format_capture |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_generic_events |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_processor_events |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u32 get_cpuid |
( |
void |
| ) |
|
|
inlinestatic |
static void set_perfmon_json_path |
( |
| ) |
|
|
static |
static int sort_nvps_by_name |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
Initial value:=
{
.path = "clear pmc",
.short_help = "clear the performance monitor counters",
}
static clib_error_t * clear_pmc_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_pmc_command)
Definition at line 671 of file perfmon.c.
char* perfmon_json_path = "/usr/share/vpp/plugins/perfmon" |
|
static |
Initial value:=
{
.path = "set pmc",
.short_help = "set pmc c1 [..., use \"show pmc events\"]",
.is_mp_safe = 1,
}
static clib_error_t * set_pmc_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_pmc_command)
Definition at line 390 of file perfmon.c.
Initial value:=
{
.path = "show pmc",
.short_help = "show pmc [verbose]",
.is_mp_safe = 1,
}
static clib_error_t * show_pmc_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_pmc_command)
Definition at line 633 of file perfmon.c.