summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/perf_regs.h
blob: a3d42cd749196b83c4c8226bfd069a68cd3a6917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __PERF_REGS_H
#define __PERF_REGS_H

#ifdef HAVE_PERF_REGS_SUPPORT
#include <perf_regs.h>
#else
#define PERF_REGS_MASK	0

static inline const char *perf_reg_name(int id __maybe_unused)
{
	return NULL;
}
#endif /* HAVE_PERF_REGS_SUPPORT */
#endif /* __PERF_REGS_H */