Linux Perf
|
#include "../perf.h"
#include "evsel.h"
#include "evlist.h"
#include "session.h"
#include "tool.h"
#include "stat.h"
Go to the source code of this file.
Classes | |
struct | event_key |
struct | kvm_event_stats |
struct | kvm_event |
struct | kvm_event_key |
struct | child_event_ops |
struct | kvm_events_ops |
struct | exit_reasons_table |
struct | perf_kvm_stat |
struct | kvm_reg_events_ops |
Macros | |
#define | INVALID_KEY (~0ULL) |
#define | DEFAULT_VCPU_NUM 8 |
#define | EVENTS_BITS 12 |
#define | EVENTS_CACHE_SIZE (1UL << EVENTS_BITS) |
#define | define_exit_reasons_table(name, symbols) |
Typedefs | |
typedef int(* | key_cmp_fun) (struct kvm_event *, struct kvm_event *, int) |
Functions | |
void | exit_event_get_key (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
bool | exit_event_begin (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
bool | exit_event_end (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
void | exit_event_decode_key (struct perf_kvm_stat *kvm, struct event_key *key, char *decode) |
bool | kvm_exit_event (struct perf_evsel *evsel) |
bool | kvm_entry_event (struct perf_evsel *evsel) |
int | setup_kvm_events_tp (struct perf_kvm_stat *kvm) |
int | cpu_isa_init (struct perf_kvm_stat *kvm, const char *cpuid) |
Variables | |
const char * | kvm_events_tp [] |
struct kvm_reg_events_ops | kvm_reg_events_ops [] |
const char *const | kvm_skip_events [] |
const char * | vcpu_id_str |
const int | decode_str_len |
const char * | kvm_exit_reason |
const char * | kvm_entry_trace |
const char * | kvm_exit_trace |
#define DEFAULT_VCPU_NUM 8 |
Definition at line 32 of file kvm-stat.h.
#define define_exit_reasons_table | ( | name, | |
symbols | |||
) |
Definition at line 128 of file kvm-stat.h.
#define EVENTS_BITS 12 |
Definition at line 70 of file kvm-stat.h.
#define EVENTS_CACHE_SIZE (1UL << EVENTS_BITS) |
Definition at line 71 of file kvm-stat.h.
#define INVALID_KEY (~0ULL) |
Definition at line 13 of file kvm-stat.h.
Definition at line 37 of file kvm-stat.h.
int cpu_isa_init | ( | struct perf_kvm_stat * | kvm, |
const char * | cpuid | ||
) |
Definition at line 103 of file kvm-stat.c.
bool exit_event_begin | ( | struct perf_evsel * | evsel, |
struct perf_sample * | sample, | ||
struct event_key * | key | ||
) |
void exit_event_decode_key | ( | struct perf_kvm_stat * | kvm, |
struct event_key * | key, | ||
char * | decode | ||
) |
bool exit_event_end | ( | struct perf_evsel * | evsel, |
struct perf_sample * | sample, | ||
struct event_key * | key | ||
) |
void exit_event_get_key | ( | struct perf_evsel * | evsel, |
struct perf_sample * | sample, | ||
struct event_key * | key | ||
) |
bool kvm_entry_event | ( | struct perf_evsel * | evsel | ) |
bool kvm_exit_event | ( | struct perf_evsel * | evsel | ) |
int setup_kvm_events_tp | ( | struct perf_kvm_stat * | kvm | ) |
const int decode_str_len |
Definition at line 13 of file kvm-stat.c.
const char* kvm_entry_trace |
Definition at line 14 of file kvm-stat.c.
const char* kvm_events_tp[] |
Definition at line 30 of file kvm-stat.c.
const char* kvm_exit_reason |
Definition at line 31 of file kvm-stat.c.
const char* kvm_exit_trace |
Definition at line 15 of file kvm-stat.c.
struct kvm_reg_events_ops kvm_reg_events_ops[] |
Definition at line 96 of file kvm-stat.c.
const char* const kvm_skip_events[] |
Definition at line 102 of file kvm-stat.c.
const char* vcpu_id_str |
Definition at line 12 of file kvm-stat.c.