Thread (3 messages) 3 messages, 3 authors, 2017-09-14

how to instrument/debug module loading

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help