Re: maps mismatch in /proc/kcore for sparc

From: David Miller
Date: Wed Mar 18 2015 - 15:44:09 EST


From: David Ahern <david.ahern@xxxxxxxxxx>
Date: Wed, 18 Mar 2015 10:56:22 -0600

> I am trying to understand why the perf tool on sparc fails to convert
> kernel symbols when /proc/kcore is used. I have instrumented perf to
> the point I can see that it drops symbols from kallsyms because it
> cannot find a corresponding map when the kernel maps are created based
> on parsing /proc/kcore.

I'm looking into this, I think we need to set ARCH_PROC_KCORE_TEXT in
arch/sparc/Kconfig

I have an even worse problem on my T4 system, /proc/kcore is zero
length. Looking into that now as well.
--
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/