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

Andi Kleen
2017-05-19T14:34:20Z

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