Finding all modules which consume kernel lib?
Greg KH
greg at kroah.com
Sat Mar 9 03:29:04 EST 2019
On Sat, Mar 09, 2019 at 12:07:00AM -0800, Andy Nicholas wrote:
> Hello,
>
> Is there a website or service or tool or package or script or something
> which allows me to determine which pieces of the compiled kernel
> (especially modules) contained the source-code changes I might make to any
> given directory? Like a kernel-code dependency graph website?
>
> For instance, assume I made a change to code in net/wireless/. How do I
> figure out which pieces of the kernel or modules get linked against the
> library built from this directory?
>
> I could attempt to trace the kernel's build output line-by-line and then
> grep through the output looking for which other code is linking against
> cfg80211. That is way too tedious. In this case I would like to know which
> kernel modules I would need to, potentially, re-test because I apply a
> patch to this directory.... without examining the build logs.
Just look at the build logs, it will show you exactly what gets rebuilt
when you touch a single file (or multiple files.) That's the simplest
way to do what you want here.
good luck!
greg k-h
More information about the Kernelnewbies
mailing list