Profiling my Modules
Daniel Baluta
daniel.baluta at gmail.com
Thu Apr 26 08:42:57 EDT 2012
On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal
<rishi.b.agrawal at gmail.com> wrote:
> Hi All,
>
> I have a kernel module which has functions which take a lot of time in
> execution. I am curious to know how can I profile it, and find out the
> functions taking most of the time.
>
> I saw Oprofile, but it seems that I will have to build the whole kernel, and
> also that it will be difficult to profile my module through it.
>
> Any trick or tool will do.
Hello,
Have a look at perf [1].
thanks,
Daniel.
[1] https://perf.wiki.kernel.org/
More information about the Kernelnewbies
mailing list