Hi,
dwfl_linux_kernel_report_offline has the following comment:
/* Skip a "source" subtree, which tends to be large.
This insane hard-coding of names is what depmod does too. */
But on my installs source is just a symlink to build, and the whole
source tree is under that build (symlink) and so is still traversed by
dwfl_linux_kernel_report_offline(). And indeed depmod (from
module-init-tools-3.7-pre9) does also skip the build subtree now. So
this patch does the same for dwfl_linux_kernel_report_offline() and
dwfl_linux_kernel_find_elf(), which saves several seconds on my
slow-disk/low-mem laptop (yes, it is that slow...)
OK to commit/push?
Mark