oleavr-rgl-a500-mini-linux-.../tools/perf/util/perf_regs.h
Ole André Vadla Ravnås 169c65d57e Initial commit
2022-05-07 01:01:45 +02:00

14 lines
258 B
C

#ifndef __PERF_REGS_H
#define __PERF_REGS_H
#ifdef HAVE_PERF_REGS
#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 */
#endif /* __PERF_REGS_H */