Relative Content

Tag Archive for debugginglinux-kernelkernel-module

Debugging a closed-source kernel module with CONFIG_KPROBES turned off

I am looking to debug a closed-source kernel module. The kernel is extremely old, v2.6.32. It was not compiled with CONFIG_KPROBES=y, but was compiled with CONFIG_KALLSYMS. I am looking to insert printk statements at the entrypoint of a specific function in the kernel module. The function takes in a struct as a parameter, and I want to print out particular portions of the struct.