diff options
| -rw-r--r-- | tools/perf/arch/s390/util/kvm-stat.c | 2 | ||||
| -rw-r--r-- | tools/perf/arch/x86/util/kvm-stat.c | 2 | ||||
| -rw-r--r-- | tools/perf/util/kvm-stat.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/arch/s390/util/kvm-stat.c b/tools/perf/arch/s390/util/kvm-stat.c index b85a94b19c25..ed57df2e6d68 100644 --- a/tools/perf/arch/s390/util/kvm-stat.c +++ b/tools/perf/arch/s390/util/kvm-stat.c | |||
| @@ -79,7 +79,7 @@ static struct kvm_events_ops exit_events = { | |||
| 79 | .name = "VM-EXIT" | 79 | .name = "VM-EXIT" |
| 80 | }; | 80 | }; |
| 81 | 81 | ||
| 82 | const char * const kvm_events_tp[] = { | 82 | const char *kvm_events_tp[] = { |
| 83 | "kvm:kvm_s390_sie_enter", | 83 | "kvm:kvm_s390_sie_enter", |
| 84 | "kvm:kvm_s390_sie_exit", | 84 | "kvm:kvm_s390_sie_exit", |
| 85 | "kvm:kvm_s390_intercept_instruction", | 85 | "kvm:kvm_s390_intercept_instruction", |
diff --git a/tools/perf/arch/x86/util/kvm-stat.c b/tools/perf/arch/x86/util/kvm-stat.c index babefda4c862..b63d4be655a2 100644 --- a/tools/perf/arch/x86/util/kvm-stat.c +++ b/tools/perf/arch/x86/util/kvm-stat.c | |||
| @@ -129,7 +129,7 @@ static struct kvm_events_ops ioport_events = { | |||
| 129 | .name = "IO Port Access" | 129 | .name = "IO Port Access" |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | const char * const kvm_events_tp[] = { | 132 | const char *kvm_events_tp[] = { |
| 133 | "kvm:kvm_entry", | 133 | "kvm:kvm_entry", |
| 134 | "kvm:kvm_exit", | 134 | "kvm:kvm_exit", |
| 135 | "kvm:kvm_mmio", | 135 | "kvm:kvm_mmio", |
diff --git a/tools/perf/util/kvm-stat.h b/tools/perf/util/kvm-stat.h index dd55548ef66a..c965dc844df3 100644 --- a/tools/perf/util/kvm-stat.h +++ b/tools/perf/util/kvm-stat.h | |||
| @@ -133,7 +133,7 @@ bool kvm_entry_event(struct perf_evsel *evsel); | |||
| 133 | */ | 133 | */ |
| 134 | int cpu_isa_init(struct perf_kvm_stat *kvm, const char *cpuid); | 134 | int cpu_isa_init(struct perf_kvm_stat *kvm, const char *cpuid); |
| 135 | 135 | ||
| 136 | extern const char * const kvm_events_tp[]; | 136 | extern const char *kvm_events_tp[]; |
| 137 | extern struct kvm_reg_events_ops kvm_reg_events_ops[]; | 137 | extern struct kvm_reg_events_ops kvm_reg_events_ops[]; |
| 138 | extern const char * const kvm_skip_events[]; | 138 | extern const char * const kvm_skip_events[]; |
| 139 | extern const char *vcpu_id_str; | 139 | extern const char *vcpu_id_str; |
