Re: [patch] Re: [perf] Finding uninstalled modules Was Re: mailinglist for trace users

From: Mike Galbraith
Date: Wed Sep 23 2009 - 10:09:42 EST


On Wed, 2009-09-23 at 17:00 +0300, Avi Kivity wrote:
> On 09/23/2009 04:50 PM, Mike Galbraith wrote:
>
> > So I need what's in your modules.dep to figure out where the rest of the
> > path went.
> >
> >
>
> Mine says:
>
> kernel/arch/x86/kvm/kvm.ko:
> kernel/arch/x86/kvm/kvm-intel.ko: kernel/arch/x86/kvm/kvm.ko
>
> Which is reasonable for /lib/modules/2.6.31, not for a source directory.

Yup, there's the problem. The code assumes that the path to modules.dep
and the path stored in modules.dep will agree.

Wants some robustification.

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/