[PATCH] scripts/kallsyms: filter symbols not in kernel address space

Andrew Morton akpm at linux-foundation.org
Thu Oct 31 18:43:11 EDT 2013


On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei <tom.leiming at gmail.com> wrote:

> This patch uses CONFIG_PAGE_OFFSET to filter symbols which
> are not in kernel address space because these symbols are
> generally for generating code purpose and can't be run at
> kernel mode, so we needn't keep them in /proc/kallsyms.
> 
> For example, on ARM there are some symbols which are
> linked in relocatable code section, then perf can't parse
> symbols any more from /proc/kallsyms, and this patch fixes
> the problem.

This is a non-back-compatible change and I'd like to see a much
stronger assurance that it is safe to merge and will not break any
existing application on the planet, please.

For a start, please describe with great precision what these excluded
symbols are (examples would help) and explain why no application will
conceivably have had any use for them.




More information about the linux-arm-kernel mailing list