how to instrument/debug module loading
Tobin C. Harding
me at tobin.cc
Thu Sep 14 02:00:54 EDT 2017
On Tue, Sep 12, 2017 at 10:49:27AM -0400, Cliff Brake wrote:
> I'm trying to better understand the kernel module loading mechanism
> (for example when you plug in a USB device and a kernel module
> autoloads). It appears that depmod creates a module.alias map that
> maps USB info to modules. Is there any way to instrument or observe
> the actual loading process? I've looking into udev debug logging, and
> udevadm, but have not found anything yet that shows when this device
> is installed, this module loads.
`dmesg` may give you this information.
More information about the Kernelnewbies