All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Covington <cov@codeaurora.org>
To: Arnav <arnav.gupta06@live.in>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: sampling  using perf
Date: Thu, 30 Oct 2014 17:03:26 -0400	[thread overview]
Message-ID: <5452A79E.6000707@codeaurora.org> (raw)
In-Reply-To: <loom.20141029T184408-691@post.gmane.org>

On 10/29/2014 01:44 PM, Arnav wrote:
> i want get program counters every 100M instructions.
> how to achieve this ? please help

Based on what's described here:

https://perf.wiki.kernel.org/index.php/Tutorial#Collecting_samples

Does this work?

perf record -e instructions:u -c 100000000 workload
perf script -f ip

Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

      reply	other threads:[~2014-10-30 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 17:44 sampling using perf Arnav
2014-10-30 21:03 ` Christopher Covington [this message]

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=5452A79E.6000707@codeaurora.org \
    --to=cov@codeaurora.org \
    --cc=arnav.gupta06@live.in \
    --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 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.