Go to the source code of this file.
|
static long | perf_event_open (struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags) |
|
static void | read_current_perf_counters (vlib_node_runtime_perf_callback_data_t *data, vlib_node_runtime_perf_callback_args_t *args) |
|
static void | clear_counters (perfmon_main_t *pm) |
|
static void | enable_current_events (perfmon_main_t *pm) |
|
static void | disable_events (perfmon_main_t *pm) |
|
static void | worker_thread_start_event (vlib_main_t *vm) |
|
static void | worker_thread_stop_event (vlib_main_t *vm) |
|
static void | start_event (perfmon_main_t *pm, f64 now, uword event_data) |
|
void | scrape_and_clear_counters (perfmon_main_t *pm) |
|
static void | handle_timeout (vlib_main_t *vm, perfmon_main_t *pm, f64 now) |
|
static uword | perfmon_periodic_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
◆ clear_counters()
◆ disable_events()
◆ enable_current_events()
◆ handle_timeout()
◆ perf_event_open()
static long perf_event_open |
( |
struct perf_event_attr * |
hw_event, |
|
|
pid_t |
pid, |
|
|
int |
cpu, |
|
|
int |
group_fd, |
|
|
unsigned long |
flags |
|
) |
| |
|
static |
◆ perfmon_periodic_process()
◆ read_current_perf_counters()
◆ scrape_and_clear_counters()
◆ start_event()
◆ worker_thread_start_event()
static void worker_thread_start_event |
( |
vlib_main_t * |
vm | ) |
|
|
static |
◆ worker_thread_stop_event()
static void worker_thread_stop_event |
( |
vlib_main_t * |
vm | ) |
|
|
static |
◆ perfmon_periodic_node
Initial value:=
{
.name = "perfmon-periodic-process",
}
static uword perfmon_periodic_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (perfmon_periodic_node)
Definition at line 533 of file perfmon_periodic.c.