2012-08-07 21:20:43 +08:00
|
|
|
#ifndef __PERF_REGS_H
|
|
|
|
#define __PERF_REGS_H
|
|
|
|
|
2012-09-28 17:32:00 +08:00
|
|
|
#ifdef HAVE_PERF_REGS
|
2012-08-07 21:20:43 +08:00
|
|
|
#include <perf_regs.h>
|
|
|
|
#else
|
|
|
|
#define PERF_REGS_MASK 0
|
|
|
|
|
2012-09-11 06:15:03 +08:00
|
|
|
static inline const char *perf_reg_name(int id __maybe_unused)
|
2012-08-07 21:20:43 +08:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
2012-09-28 17:32:00 +08:00
|
|
|
#endif /* HAVE_PERF_REGS */
|
2012-08-07 21:20:43 +08:00
|
|
|
#endif /* __PERF_REGS_H */
|