All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Andi Kleen <ak@linux.intel.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf dlfilter: Add dlfilter-show-cycles
Date: Tue, 7 Sep 2021 10:06:03 +0300	[thread overview]
Message-ID: <b8b1d870-9db2-4b0f-7138-c139e1ef878b@intel.com> (raw)
In-Reply-To: <7bee95a7-fa31-a801-8068-80c63ba6ccfe@linux.intel.com>

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.

  reply	other threads:[~2021-09-07  7:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 16:08 [PATCH] perf dlfilter: Add dlfilter-show-cycles Adrian Hunter
2021-09-07  2:54 ` Andi Kleen
2021-09-07  7:06   ` Adrian Hunter [this message]
2021-09-08 15:18     ` Arnaldo Carvalho de Melo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8b1d870-9db2-4b0f-7138-c139e1ef878b@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.