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

From
Ming Lei <tom.leiming@gmail.com>
Date
2013-11-01 02:10:40
Also in
lkml
Reply to
Andrew Morton, 2013-10-31
Hi Andrew,

Thanks for your comment.

On Fri, Nov 1, 2013 at 6:43 AM, Andrew Morton [off-list ref] wrote:
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.
Looks Russell has given the example symbols already, and all these
symbols should be only for generating code, and they won't be run by
kernel since kernel can't run code which isn't in kernel virtual address
space, so there is no reason for application to use these symbols.

Actually, there is already report on the problem, see below link:

http://www.gossamer-threads.com/lists/linux/kernel/1808193?page=last
OK.  Do you recall which patch that was?  And is it the case that this
patch excludes only the symbols which that patch accidentally added?
This patch excludes all kernel symbols(non-module symbols) which
aren't in kernel virtual address space, I think it is reasonable and correct.


Thanks,
-- 
Ming Lei
Thread (11 messages) 11 messages, 6 authors, last reply 2014-01-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help