Re: [tip:x86/urgent] x86, trace: Fix CR2 corruption when tracing page faults

From: Peter Zijlstra
Date: Wed Mar 05 2014 - 07:26:06 EST


On Wed, Mar 05, 2014 at 07:20:22AM -0500, Steven Rostedt wrote:
> On Wed, 5 Mar 2014 12:14:15 +0100
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Please no! I used tracing of the do_page_fault function all the time.
> It is very useful.

Why do you trace do_page_fault and not the __do_page_fault() function?
do_page_fault() is a minimal wrapper which doesn't actually do all that
much?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/