<div>&gt;yep, oprofile is your friend here. Oprofile website has the complete<br>&gt;documentation. Also check its man page.<br></div><div> </div><div> </div><div>But oprofile does not allow to program a particular counter.<br>
<br>One can specify a performance event in oprofile but has no control on the counter that a performance event gets scheduled on.<br><br>I want something where i can control the counter on which the performance events gets scheduled.<br>
</div><div> </div><div>Thanks,<br>UK<br></div><div class="gmail_quote">On Mon, Feb 13, 2012 at 7:52 PM, Mulyadi Santosa <span dir="ltr">&lt;<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hi..<br>
<div class="im"><br>
On Tue, Feb 14, 2012 at 02:09, utsav kanani &lt;<a href="mailto:utsavjkanani@gmail.com">utsavjkanani@gmail.com</a>&gt; wrote:<br>
&gt; Is this possible using Oprofile or Linux perf? If yes can you point me to<br>
&gt; the correct documentation or give an example on how to do this.<br>
<br>
</div>yep, oprofile is your friend here. Oprofile website has the complete<br>
documentation. Also check its man page.<br>
<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><br>