Programming program individual hardware CPU performance counters with desired hardware events

utsav kanani utsavjkanani at gmail.com
Tue Feb 14 14:28:18 EST 2012


>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 at gmail.com>wrote:

> Hi..
>
> On Tue, Feb 14, 2012 at 02:09, utsav kanani <utsavjkanani at 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 


More information about the Kernelnewbies mailing list