how to instrument/debug module loading
From: Tobin C. Harding <hidden>
Date: 2017-09-14 06:00:54
From: Tobin C. Harding <hidden>
Date: 2017-09-14 06:00:54
On Tue, Sep 12, 2017 at 10:49:27AM -0400, Cliff Brake wrote:
Hi, 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.