Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: Clarify when module debugging actually works.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

authored by

Robert P. J. Day and committed by
Adrian Bunk
0cadfc09 3239c49c

+4
+4
Documentation/debugging-modules.txt
··· 16 16 echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe 17 17 chmod a+x /tmp/modprobe 18 18 echo /tmp/modprobe > /proc/sys/kernel/modprobe 19 + 20 + Note that the above applies only when the *kernel* is requesting 21 + that the module be loaded -- it won't have any effect if that module 22 + is being loaded explicitly using "modprobe" from userspace.