Finding all modules which consume kernel lib?
valdis.kletnieks at vt.edu
valdis.kletnieks at vt.edu
Sat Mar 9 12:00:27 EST 2019
On Sat, 09 Mar 2019 13:04:44 +0300, Lev Olshvang said:
> There is also modulus.dep file which depmod builds. You can just grep to find
> which modulus depends.
Note that the modules.dep file only tells modprobe "If you're loading module A,
you need to load B first to get some symbols registered". If B is built-in to
the kernel, its EXPORT_SYMBOLS are already available, so it doesn't need to be
listed in modules.dep.
Also, it doesn't record build-time dependencies - it totally assumes that A and B
were built against the same source tree and that Kbuild took care of making sure
that any source code changes to B that affect A caused a rebuild of A to happen.
More information about the Kernelnewbies
mailing list