Lines Matching defs:kvm
4 #include "../../../util/kvm-stat.h"
8 #include <asm/kvm.h>
23 const char *kvm_entry_trace = "kvm:kvm_entry";
24 const char *kvm_exit_trace = "kvm:kvm_exit";
50 if (!strcmp(evsel->name, "kvm:kvm_mmio") &&
67 if (!strcmp(evsel->name, "kvm:kvm_mmio") &&
76 static void mmio_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
105 if (!strcmp(evsel->name, "kvm:kvm_pio")) {
120 static void ioport_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused,
137 "kvm:kvm_entry",
138 "kvm:kvm_exit",
139 "kvm:kvm_mmio",
140 "kvm:kvm_pio",
156 int cpu_isa_init(struct perf_kvm_stat *kvm, const char *cpuid)
159 kvm->exit_reasons = vmx_exit_reasons;
160 kvm->exit_reasons_isa = "VMX";
162 kvm->exit_reasons = svm_exit_reasons;
163 kvm->exit_reasons_isa = "SVM";