Exploring and understanding /proc file system using simple LKM

1) Compilation of module.
sudo make -C /usr/src/linux-headers-`uname -r` SUBDIRS=$PWD modules

2) Following files created after compilation.
lkm.ko
lkm.mod.c
Module.markers
modules.order
Module.symvers

 

Reference : http://www.ibm.com/developerworks/linux/library/l-proc/index.html

READ  Porting the Linux Kernel to a New ARM Platform

Leave a Reply

Your email address will not be published. Required fields are marked *