PERF_REG_X86_XMM_MAX 64 arch/x86/kernel/perf_regs.c if (idx >= PERF_REG_X86_XMM0 && idx < PERF_REG_X86_XMM_MAX) { PERF_REG_X86_XMM_MAX 11 tools/perf/arch/x86/include/perf_regs.h #define PERF_REGS_MAX PERF_REG_X86_XMM_MAX