Jiri Olsa | 2bcd355 | 2012-08-07 15:20:43 +0200 | [diff] [blame] | 1 | #ifndef __PERF_REGS_H |
| 2 | #define __PERF_REGS_H |
| 3 | |
Ingo Molnar | 89fe808 | 2013-09-30 12:07:11 +0200 | [diff] [blame] | 4 | #ifdef HAVE_PERF_REGS_SUPPORT |
Jiri Olsa | 2bcd355 | 2012-08-07 15:20:43 +0200 | [diff] [blame] | 5 | #include <perf_regs.h> |
| 6 | #else |
| 7 | #define PERF_REGS_MASK 0 |
| 8 | |
Irina Tirdea | 1d037ca | 2012-09-11 01:15:03 +0300 | [diff] [blame] | 9 | static inline const char *perf_reg_name(int id __maybe_unused) |
Jiri Olsa | 2bcd355 | 2012-08-07 15:20:43 +0200 | [diff] [blame] | 10 | { |
| 11 | return NULL; |
| 12 | } |
Ingo Molnar | 89fe808 | 2013-09-30 12:07:11 +0200 | [diff] [blame] | 13 | #endif /* HAVE_PERF_REGS_SUPPORT */ |
Jiri Olsa | 2bcd355 | 2012-08-07 15:20:43 +0200 | [diff] [blame] | 14 | #endif /* __PERF_REGS_H */ |