From: Omar Awile <omar.awile@cern.ch>
To: Andi Kleen <andi@firstfloor.org>
Cc: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: reading PMU counts with perf leader sampling and perf script
Date: Tue, 20 Sep 2016 14:33:11 +0000 [thread overview]
Message-ID: <etPan.57e148a7.1276856b.675c@cern.ch> (raw)
In-Reply-To: <87sht7p1dc.fsf@tassilo.jf.intel.com>
I wrote a python perf script that dumps the counts and this seems to work very nicely.
thanks!
omar
On 11 September 2016 at 05:21:58, Andi Kleen (andi@firstfloor.org(mailto:andi@firstfloor.org)) wrote:
> Omar Awile writes:
> >
> > The next step would be for me to use perf script and a little python
> > script to get the event counts but I can’t seem to find a way to do
> > this. Can someone point me in the right direction?
>
> The easiest is to just run perf script without arguments and parse the output.
>
> -Andi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Omar Awile, Ph.D.
Systems Performance Engineer
CERN - 513/R-046
next prev parent reply other threads:[~2016-09-20 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 14:48 reading PMU counts with perf leader sampling and perf script Omar Awile
2016-09-11 3:21 ` Andi Kleen
2016-09-20 14:33 ` Omar Awile [this message]
2016-09-12 20:04 ` Arnaldo Carvalho de Melo
[not found] ` <etPan.57e15392.6894e226.675c@cern.ch>
2016-09-20 19:19 ` Arnaldo Carvalho de Melo
2016-09-20 20:16 ` Andi Kleen
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=etPan.57e148a7.1276856b.675c@cern.ch \
--to=omar.awile@cern.ch \
--cc=andi@firstfloor.org \
--cc=linux-perf-users@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).