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

#ifndef NO_PERF_REGS
#include <perf_regs.h>
#else
#define PERF_REGS_MASK	0

static inline const char *perf_reg_name(int id __used)
{
	return NULL;
}
#endif /* NO_PERF_REGS */
#endif /* __PERF_REGS_H */
OpenPOWER on IntegriCloud