kernel module/program to print the different fields of task_struct and mm_struct
Hi all,
I am a linux newbie/enthusiast. I would like to know how to write a program/kernel module to print/log information about the different fields of task_struct,mm_struct,vm_area_struct,etc... given the PID of a process.
Could anyone please guide me with the flow/design for such a module/program.
Please help me in this regard.
|