Re: [PATCH 06/14] perf, x86: PEBS infrastructure

From: Peter Zijlstra
Date: Fri Mar 05 2010 - 14:39:47 EST


On Fri, 2010-03-05 at 11:11 -0800, Stephane Eranian wrote:
> By rewinding you get the IP of the instruction that caused the event. But the
> register state is STILL reflecting the situation at retirement of that
> instruction.

I'm quite aware of that, but its near impossible to reverse interpret
instructions such as "mov rdx, $rdx", so until we get fault like PEBS
we'll just have to live with this.

--
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/