Re: Communication between kernel and kernel module

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

On Tue, May 22, 2012 at 9:18 PM, <> wrote:
> Hi,
> Is there any way to call a function defined in a kernel module from within
> the kernel proper?
> Here's what I'm trying to do:
> I'm trying to keep track of when and for how long a process is being
> executed on the processor, i.e. I need to know when context switches occur.

Kprobes [1] might be useful.  I for one haven't used Kprobes before,
but I'm sure others on this list can provide useful insight.


Hope this helps,

Kernelnewbies mailing list

[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