Go to the source code of this file.
|
void | perfmon_register_intel_pmc (perfmon_intel_pmc_cpu_model_t *m, int n_models, perfmon_intel_pmc_event_t *e, int n_events) |
|
static u32 | get_cpuid (void) |
|
static int | perfmon_cpu_model_matches (perfmon_intel_pmc_cpu_model_t *mt, u32 n_models, u8 model, u8 stepping) |
|
static perfmon_intel_pmc_event_t * | perfmon_find_table_by_model_stepping (perfmon_main_t *pm, u8 model, u8 stepping) |
|
static clib_error_t * | perfmon_init (vlib_main_t *vm) |
|
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_pmc_event (u8 *s, va_list *args) |
|
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) |
|
◆ capture_name_sort()
static int capture_name_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ clear_pmc_command_fn()
◆ format_capture()
static u8* format_capture |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_generic_events()
static u8* format_generic_events |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_pmc_event()
static u8* format_pmc_event |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_processor_events()
static u8* format_processor_events |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ get_cpuid()
static u32 get_cpuid |
( |
void |
| ) |
|
|
inlinestatic |
◆ perfmon_cpu_model_matches()
◆ perfmon_find_table_by_model_stepping()
◆ perfmon_init()
◆ perfmon_register_intel_pmc()
◆ set_pmc_command_fn()
◆ show_pmc_command_fn()
◆ sort_nvps_by_name()
static int sort_nvps_by_name |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ unformat_processor_event()
◆ clear_pmc_command
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 618 of file perfmon.c.
◆ perfmon_main
◆ set_pmc_command
Initial value:=
{
.path = "set pmc",
.short_help = "set pmc [threads n,n1-n2] c1... [see \"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 329 of file perfmon.c.
◆ show_pmc_command
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 580 of file perfmon.c.