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

From: Adrian Hunter
Date: Fri May 26 2017 - 04:32:28 EST


On 19/05/17 17:34, Andi Kleen wrote:
> 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.

I have done that in V2.