Re: Accessing a kernel module function from kernel scheduler

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

 



Hi...

On Sat, Mar 1, 2008 at 4:19 PM, David Embid <davidembid@xxxxxxxxx> wrote:
> Hi,
>
> by "direction" I mean where the function is taking the data for this
> varibale ( &variable ).

I still don't get it...can you give example?

> Can you explain me a little more your suggestion with kprobe?

kprobe.txt in Documentation directory of kernel tarball might do
better than me when explaining it. But in short, use kprobe to insert
a hook function on the beginning of schedule().

> Kprobes is a kernel debugger but i think I know the problem of my code, I
> used printk messages to get the value of  "&variable" and checks that when
> is called from two different context, its value is different and the content
> of the variable is different too.

regards,

Mulyadi.

--
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