Re: How to query a kernel variable

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

 



2.6.11 provides the kprobe infrastructure. 
You could write a small jprobe to query your variable. 

 


From: Neependra Khare <neependra.khare@xxxxxxxxx>
To: Parmenides <mobile.parmenides@xxxxxxxxx>
Cc: kernelnewbies@xxxxxxxxxxxx
Sent: Tue, August 3, 2010 10:52:27 AM
Subject: Re: How to query a kernel variable



On Mon, Aug 2, 2010 at 11:17 PM, Parmenides <mobile.parmenides@xxxxxxxxx> wrote:
Hi,
   I am reading the linux kernel of version 2.6.11. I want to query a
kernel variable named max_low_pfn while the kernel running. Is there
any means to achieve the goal? thx

If you were using newer kernel then you might have used systemTap.
http://lwn.net/Articles/343581/

Thanks.
Neependra


 

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