Re: how to instrument/debug module loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 14, 2017 at 08:20:09AM -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?

Why do you need to "observe" it?  You can always use kprobes or some
tracing tool to see the filesystem accesses if you really care about
this.

But it should all "just work", right?  Is something failing for you?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux