All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Omar Awile <omar.awile@cern.ch>
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: Sat, 10 Sep 2016 20:21:51 -0700	[thread overview]
Message-ID: <87sht7p1dc.fsf@tassilo.jf.intel.com> (raw)
In-Reply-To: <etPan.57d2cbe0.548515bd.6188@cern.ch> (Omar Awile's message of "Fri, 9 Sep 2016 14:48:53 +0000")

Omar Awile <omar.awile@cern.ch> 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

  reply	other threads:[~2016-09-11  3:21 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 [this message]
2016-09-20 14:33   ` Omar Awile
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=87sht7p1dc.fsf@tassilo.jf.intel.com \
    --to=andi@firstfloor.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=omar.awile@cern.ch \
    /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.