Re: [PATCH 37/37] perf intel-pt: Improve sample timestamp

From: Andi Kleen
Date: Fri May 19 2017 - 10:34:23 EST


On Fri, May 19, 2017 at 11:54:36AM +0300, Adrian Hunter wrote:
> The decoder uses its current timestamp in samples. Usually that is a
> timestamp that has already passed, but in some cases it is a timestamp for
> a branch that the decoder is walking towards, and consequently hasn't
> reached. Improve that situation by using the pkt_state to determine when
> to use the current or previous timestamp.

Thanks. I ran into this problem a lot.

Would be good to mark the clear bug fixes like this with cc stable.

-Andi