Re: [PATCH] perf dlfilter: Add dlfilter-show-cycles
From: Adrian Hunter
Date: Tue Sep 07 2021 - 03:05:48 EST
On 7/09/21 5:54 am, Andi Kleen wrote:
>
> On 9/6/2021 9:08 AM, Adrian Hunter wrote:
>> Add a new dlfilter to show cycles.
>>
>> Cycle counts are accumulated per CPU (or per thread if CPU is not recorded)
>> from IPC information, and printed together with the change since the last
>> print, at the start of each line.
>
>
> Thanks! An example how to use it would be nice
I started looking at making an example and noticed that this approach
does not work very well because the IPC cycle count only increases when
the IPC is output which (for CYC accurate mode) is only happens when a
CYC packet is output that corresponds to the current sample. Seems like
this needs a re-think, sorry.