Linux
checking symbols/modules/devices @ Linux
반응형
/proc/kallsyms
/proc/modules
In order to see what symbols and modules are in the kernel,
simple use proc filesystem for those.
They are simply checked by doing as following.
vi /var/log/messages <- or dmesg
lsmod | grep module_name
vi /proc/modules
showing modules that are currently registered in the Linux kernel
it is the same as using 'lsmod', but lsmod shows modules in the better way
vi /proc/kallsyms
showing all the symbols managed by the kernel
cf. global functions/variables that are statically determined those size can be symbols
/proc/devices
by checking here, it is possible to check all the loaded device driver and its major/minor number as well.
반응형
'Linux' 카테고리의 다른 글
Linux module example (skeleton code) (0) | 2015.03.10 |
---|---|
Linux Booting Procedure (0) | 2015.03.10 |
making makefile for device driver (0) | 2015.03.10 |
Kernel Trap (트랩) (0) | 2015.03.10 |
Linux의 kmalloc과 vmalloc에 대해서 (0) | 2015.03.10 |
댓글