PERF_REG_X86_64_MAX 15 arch/x86/kernel/perf_regs.c #define PERF_REG_X86_MAX PERF_REG_X86_64_MAX PERF_REG_X86_64_MAX 20 tools/perf/arch/x86/include/perf_regs.h #define PERF_REGS_MASK (((1ULL << PERF_REG_X86_64_MAX) - 1) & ~REG_NOSUPPORT) PERF_REG_X86_64_MAX 1603 tools/perf/util/intel-pt.c for (i = 0, bit = 1; i < PERF_REG_X86_64_MAX; i++, bit <<= 1) {