diff options
Diffstat (limited to 'tools/perf/util/perf_regs.h')
| -rw-r--r-- | tools/perf/util/perf_regs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/util/perf_regs.h b/tools/perf/util/perf_regs.h new file mode 100644 index 000000000000..316dbe7f86ed --- /dev/null +++ b/tools/perf/util/perf_regs.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #ifndef __PERF_REGS_H | ||
| 2 | #define __PERF_REGS_H | ||
| 3 | |||
| 4 | #ifndef NO_PERF_REGS | ||
| 5 | #include <perf_regs.h> | ||
| 6 | #else | ||
| 7 | #define PERF_REGS_MASK 0 | ||
| 8 | |||
| 9 | static inline const char *perf_reg_name(int id __maybe_unused) | ||
| 10 | { | ||
| 11 | return NULL; | ||
| 12 | } | ||
| 13 | #endif /* NO_PERF_REGS */ | ||
| 14 | #endif /* __PERF_REGS_H */ | ||
