<div class="gmail_extra">Thanks a lot, I will have a look at it and see if it helps.<br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 6:12 PM, Daniel Baluta <span dir="ltr"><<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal<br>
<<a href="mailto:rishi.b.agrawal@gmail.com">rishi.b.agrawal@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I have a kernel module which has functions which take a lot of time in<br>
> execution. I am curious to know how can I profile it, and find out the<br>
> functions taking most of the time.<br>
><br>
> I saw Oprofile, but it seems that I will have to build the whole kernel, and<br>
> also that it will be difficult to profile my module through it.<br>
><br>
> Any trick or tool will do.<br>
<br>
</div></div>Hello,<br>
<br>
Have a look at perf [1].<br>
<br>
thanks,<br>
Daniel.<br>
<br>
[1] <a href="https://perf.wiki.kernel.org/" target="_blank">https://perf.wiki.kernel.org/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Rishi Agrawal<br><br>
</div>