lkml.org 
[lkml]   [2021]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf dlfilter: Add dlfilter-show-cycles
Em Tue, Sep 07, 2021 at 10:06:03AM +0300, Adrian Hunter escreveu:
> 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.

Ok, will wait then. And this shows part of the value of this, checking
if it works as expected :-)

- Arnaldo

\
 
 \ /
  Last update: 2021-09-08 17:19    [W:0.074 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site