Re: Finding all modules which consume kernel lib?

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

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux