perf_kvm_stat
static void sort_result(struct perf_kvm_stat *kvm)
static void print_vcpu_info(struct perf_kvm_stat *kvm)
static void print_result(struct perf_kvm_stat *kvm)
struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool);
static bool skip_sample(struct perf_kvm_stat *kvm,
struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat,
static int cpu_isa_config(struct perf_kvm_stat *kvm)
static s64 perf_kvm__mmap_read_idx(struct perf_kvm_stat *kvm, int idx,
static int perf_kvm__mmap_read(struct perf_kvm_stat *kvm)
static int perf_kvm__timerfd_create(struct perf_kvm_stat *kvm)
static int perf_kvm__handle_timerfd(struct perf_kvm_stat *kvm)
static int kvm_events_live_report(struct perf_kvm_stat *kvm)
struct perf_kvm_stat *perf_kvm; \
static int kvm_live_open_events(struct perf_kvm_stat *kvm)
static int read_events(struct perf_kvm_stat *kvm)
static int parse_target_str(struct perf_kvm_stat *kvm)
static int kvm_events_report_vcpu(struct perf_kvm_stat *kvm)
struct perf_kvm_stat *perf_kvm; \
kvm_events_record(struct perf_kvm_stat *kvm, int argc, const char **argv)
kvm_events_report(struct perf_kvm_stat *kvm, int argc, const char **argv)
static int kvm_events_live(struct perf_kvm_stat *kvm,
struct perf_kvm_stat kvm = {
struct perf_kvm_stat *perf_kvm;
struct perf_kvm_stat *perf_kvm; \
static void print_result(struct perf_kvm_stat *kvm);
static void kvm_display(struct perf_kvm_stat *kvm)
static void kvm_display(struct perf_kvm_stat *kvm)
static bool register_kvm_events_ops(struct perf_kvm_stat *kvm, uint16_t e_machine)
static struct kvm_event *find_create_kvm_event(struct perf_kvm_stat *kvm,
static bool handle_begin_event(struct perf_kvm_stat *kvm,
static bool update_kvm_event(struct perf_kvm_stat *kvm,
static bool is_child_event(struct perf_kvm_stat *kvm,
static bool handle_child_event(struct perf_kvm_stat *kvm,
static bool handle_end_event(struct perf_kvm_stat *kvm,
static bool handle_kvm_event(struct perf_kvm_stat *kvm,
static bool is_valid_key(struct perf_kvm_stat *kvm)
struct perf_kvm_stat *perf_kvm;
int __cpu_isa_init_arm64(struct perf_kvm_stat *kvm)
int __cpu_isa_init_loongarch(struct perf_kvm_stat *kvm)
static int ppc__setup_book3s_hv(struct perf_kvm_stat *kvm,
static int ppc__setup_kvm_tp(struct perf_kvm_stat *kvm)
int __setup_kvm_events_tp_powerpc(struct perf_kvm_stat *kvm)
int __cpu_isa_init_powerpc(struct perf_kvm_stat *kvm)
static void hcall_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
int __cpu_isa_init_riscv(struct perf_kvm_stat *kvm)
int __cpu_isa_init_s390(struct perf_kvm_stat *kvm, const char *cpuid)
static void ioport_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
static void msr_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
int __cpu_isa_init_x86(struct perf_kvm_stat *kvm, const char *cpuid)
static void mmio_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
static const char *get_exit_reason(struct perf_kvm_stat *kvm,
void exit_event_decode_key(struct perf_kvm_stat *kvm,
int setup_kvm_events_tp(struct perf_kvm_stat *kvm, uint16_t e_machine)
int cpu_isa_init(struct perf_kvm_stat *kvm, uint16_t e_machine, const char *cpuid)
void exit_event_decode_key(struct perf_kvm_stat *kvm,
int setup_kvm_events_tp(struct perf_kvm_stat *kvm, uint16_t e_machine);
int __setup_kvm_events_tp_powerpc(struct perf_kvm_stat *kvm);
int cpu_isa_init(struct perf_kvm_stat *kvm, uint16_t e_machine, const char *cpuid);
int __cpu_isa_init_arm64(struct perf_kvm_stat *kvm);
int __cpu_isa_init_loongarch(struct perf_kvm_stat *kvm);
int __cpu_isa_init_powerpc(struct perf_kvm_stat *kvm);
int __cpu_isa_init_riscv(struct perf_kvm_stat *kvm);
int __cpu_isa_init_s390(struct perf_kvm_stat *kvm, const char *cpuid);
int __cpu_isa_init_x86(struct perf_kvm_stat *kvm, const char *cpuid);
struct perf_kvm_stat;
struct perf_kvm_stat *perf_kvm;
void (*decode_key)(struct perf_kvm_stat *kvm, struct event_key *key,