PT_REGS_OFFSET 16 arch/powerpc/perf/perf_regs.c #define PT_REGS_OFFSET(id, r) [id] = offsetof(struct pt_regs, r) PT_REGS_OFFSET 18 arch/x86/kernel/perf_regs.c #define PT_REGS_OFFSET(id, r) [id] = offsetof(struct pt_regs, r) PT_REGS_OFFSET 113 arch/xtensa/include/asm/ptrace.h #define PT_REGS_OFFSET (KERNEL_STACK_SIZE - PT_USER_SIZE)