kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: utsavjkanani@gmail.com (utsav kanani)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Programming program individual hardware CPU performance counters with desired hardware events
Date: Tue, 14 Feb 2012 11:28:18 -0800	[thread overview]
Message-ID: <CADigCn+Si2amB6FVSqpEUL4q5CTT8Y7Pyk05yG3icFmjtzZn=g@mail.gmail.com> (raw)
In-Reply-To: <CAGdaadYCmwF7wgLGBmeJ-0BORqnZ9Qwbn=6wrcCe5H3PZ43+mQ@mail.gmail.com>

>yep, oprofile is your friend here. Oprofile website has the complete
>documentation. Also check its man page.


But oprofile does not allow to program a particular counter.

One can specify a performance event in oprofile but has no control on the
counter that a performance event gets scheduled on.

I want something where i can control the counter on which the performance
events gets scheduled.

Thanks,
UK
On Mon, Feb 13, 2012 at 7:52 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com>wrote:

> Hi..
>
> On Tue, Feb 14, 2012 at 02:09, utsav kanani <utsavjkanani@gmail.com>
> wrote:
> > Is this possible using Oprofile or Linux perf? If yes can you point me to
> > the correct documentation or give an example on how to do this.
>
> yep, oprofile is your friend here. Oprofile website has the complete
> documentation. Also check its man page.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120214/4d8036ce/attachment.html 

      reply	other threads:[~2012-02-14 19:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 19:09 Programming program individual hardware CPU performance counters with desired hardware events utsav kanani
2012-02-14  3:52 ` Mulyadi Santosa
2012-02-14 19:28   ` utsav kanani [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='CADigCn+Si2amB6FVSqpEUL4q5CTT8Y7Pyk05yG3icFmjtzZn=g@mail.gmail.com' \
    --to=utsavjkanani@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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).