Messages in this thread | | | Date | Fri, 28 Feb 2014 08:11:59 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCHv2] x86 trace: Fix page fault tracing bug |
| |
On 02/28/2014 08:05 AM, Jiri Olsa wrote: > On Fri, Feb 28, 2014 at 04:47:08PM +0100, Peter Zijlstra wrote: >> On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: >> >> While I like the idea of just pushing up the CR2 read; the below does >> the read too late still, exception_enter() also has a tracepoint in. > > please check v2, thanks
Is there any way something could come in even earlier (perhaps via __fentry__)?
If so, do we need to hoist the reading of %cr2 all the way into assembly or something else?
-hpa
| |