Commit | Line | Data |
---|---|---|
2bcd355b JO |
1 | #ifndef __PERF_REGS_H |
2 | #define __PERF_REGS_H | |
3 | ||
89fe808a | 4 | #ifdef HAVE_PERF_REGS_SUPPORT |
2bcd355b JO |
5 | #include <perf_regs.h> |
6 | #else | |
7 | #define PERF_REGS_MASK 0 | |
8 | ||
1d037ca1 | 9 | static inline const char *perf_reg_name(int id __maybe_unused) |
2bcd355b JO |
10 | { |
11 | return NULL; | |
12 | } | |
89fe808a | 13 | #endif /* HAVE_PERF_REGS_SUPPORT */ |
2bcd355b | 14 | #endif /* __PERF_REGS_H */ |