Re: how to trace a kernel function without using kprobes

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

 



On Tue, 13 Jul 2010, Kiran P wrote:

> Hi,
>
> I need to trace some kernel driver functions. But kernel is not
> compiled with kprobes and I am not allowed to recompile the kernel. So
> I'm trying to write a kernel module to find out when a function say
> linkwatch_fire_event() gets scheduled. I'm able to get a list of all
> kernel threads but how do I find out if this function is currently
> executing?
> Could someone please help me?

  http://twitter.com/rpjday/status/18446729558

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux