Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651212

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

From Adrian Hunter <adrian.hunter@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 37/37] perf intel-pt: Improve sample timestamp
Date 2017-05-26 10:40 +0200
Message-ID <tLiWT-3x5-49@gated-at.bofh.it> (permalink)
References <tIM53-8nS-3@gated-at.bofh.it> <tIM55-8nS-35@gated-at.bofh.it> <tIReq-3xO-11@gated-at.bofh.it>
Organization Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 37/37] perf intel-pt: Improve sample timestamp Adrian Hunter <adrian.hunter@intel.com> - 2017-05-26 10:40 +0200

csiph-web