Messages in this thread | | | Subject | Re: [RFC][PATCH 07/11] perf: Provide PERF_SAMPLE_REGS | From | Peter Zijlstra <> | Date | Wed, 03 Mar 2010 18:39:55 +0100 |
| |
On Wed, 2010-03-03 at 09:30 -0800, Stephane Eranian wrote: > This assumes struct pt_regs is somehow exported to userland. > Is that the case?
I seems to have understood they were, and asm/ptrace.h seems to agree with that, it has !__KERNEL__ definitions for struct pt_regs.
> I would clearly spell out that the REGS are the interrupted REGS, > not the overflow REGS. Maybe PERF_SAMPLE_IREGS.
They can be both, for PEBS they are the overflow trap (until PEBS does fault) regs.
| |