If I load a kernel module and list the loaded modules with lsmod, I can get the \"use count\" of the module (number of other modules with a reference to the mod
lsmod
try kgdb and set breakpoint to your module