Re: reading from /proc/kcore

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

 



On Fri, Nov 18, 2005 at 17:56:46 -0500, Sabyasachi Pradhan wrote:
> Hi,
> 
>     I will be writing a kernel loadable module which will save the kernel
> state. It will not be done form userland. I am working on this project

Than it will not be done through /proc/kcore either. You have direct access
to the memory.

> called kernel state visualization, where I need to save the kernel state
> and then parse it to give information like dentries, inodes, etc in text
> or HTML pages.

You have direct access to that information from kernel. Take it from the
relevant structures directly. Lock as appropriate for those structures.

-- 
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[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