diff options
Diffstat (limited to 'tools/perf/util/kvm-stat.h')
-rw-r--r-- | tools/perf/util/kvm-stat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/kvm-stat.h b/tools/perf/util/kvm-stat.h index 46913637085b..6f0fa05b62b6 100644 --- a/tools/perf/util/kvm-stat.h +++ b/tools/perf/util/kvm-stat.h | |||
@@ -2,6 +2,8 @@ | |||
2 | #ifndef __PERF_KVM_STAT_H | 2 | #ifndef __PERF_KVM_STAT_H |
3 | #define __PERF_KVM_STAT_H | 3 | #define __PERF_KVM_STAT_H |
4 | 4 | ||
5 | #ifdef HAVE_KVM_STAT_SUPPORT | ||
6 | |||
5 | #include "tool.h" | 7 | #include "tool.h" |
6 | #include "stat.h" | 8 | #include "stat.h" |
7 | #include "record.h" | 9 | #include "record.h" |
@@ -144,5 +146,7 @@ extern const int decode_str_len; | |||
144 | extern const char *kvm_exit_reason; | 146 | extern const char *kvm_exit_reason; |
145 | extern const char *kvm_entry_trace; | 147 | extern const char *kvm_entry_trace; |
146 | extern const char *kvm_exit_trace; | 148 | extern const char *kvm_exit_trace; |
149 | #endif /* HAVE_KVM_STAT_SUPPORT */ | ||
147 | 150 | ||
151 | extern int kvm_add_default_arch_event(int *argc, const char **argv); | ||
148 | #endif /* __PERF_KVM_STAT_H */ | 152 | #endif /* __PERF_KVM_STAT_H */ |