Re: Profiling my Modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal
<rishi.b.agrawal@xxxxxxxxx> 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/

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux