Re: [PATCH] perf intel-pt: Synthesize cycle events

From: Adrian Hunter
Date: Mon Mar 21 2022 - 13:40:43 EST


On 21/03/2022 18:58, Steinar H. Gunderson wrote:
> On Mon, Mar 21, 2022 at 03:09:08PM +0200, Adrian Hunter wrote:
>> Yes, it can cross calls and returns. 'returns' due to "Return Compression"
>> which can be switched off at record time with config term noretcomp, but
>> that may cause more overflows / trace data loss.
>>
>> To get accurate times for a single function there is Intel PT
>> address filtering.
>>
>> Otherwise LBRs can have cycle times.
>
> Many interesting points, I'll be sure to look into them.
>
> Meanwhile, should I send a new patch with your latest changes?

Yes please.