From: Paulo Marques <pmarques@grupopie.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /proc/kallsyms broken in 2.6.26-rc1-git6
Date: Fri, 09 May 2008 20:59:56 +0100 [thread overview]
Message-ID: <4824AD3C.3070506@grupopie.com> (raw)
In-Reply-To: <4824A7B6.70306@firstfloor.org>
Andi Kleen wrote:
>>> ffffffff80337043 u idr_pre_get [i2c_core]
>>> ffffc2000007573e ? DW.sched.h.920090ff.56 [i2c_core]
>> Are you compiling with CONFIG_KALLSYMS_ALL?
>
> Yep.
>
> CONFIG_KALLSYMS=y
> CONFIG_KALLSYMS_ALL=y
> # CONFIG_KALLSYMS_EXTRA_PASS is not set
>
>> If you are, kallsyms will store all the output of "nm -n vmlinux" no
>> matter what section the symbol belongs to...
>
> Yes and? Surely that's not correct?
That's not for me to judge, but I believe it has always been like that.
I just wanted to understand if you noticed a change in behavior (which
is probably a bug) or if it has always been like that but you just
noticed how ugly it is.
Maybe you also have some debug or markers configuration or something
that is generating extra symbols to a special section that is just
making the problem look worse now.
Anyway, I can change the way kallsyms works, but that has to be done
with some care because there are some userspace tools that read
/proc/kallsyms and we don't want to break those. A proper testing period
through -mm should take care of that, though.
--
Paulo Marques - www.grupopie.com
"All generalizations are false."
next prev parent reply other threads:[~2008-05-09 22:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 17:41 /proc/kallsyms broken in 2.6.26-rc1-git6 Andi Kleen
2008-05-09 18:03 ` Paulo Marques
2008-05-09 19:36 ` Andi Kleen
2008-05-09 19:59 ` Paulo Marques [this message]
2008-05-09 23:16 ` Andi Kleen
2008-05-12 9:55 ` Paulo Marques
2008-05-12 10:08 ` Andi Kleen
2008-05-09 23:37 ` Alexey Dobriyan
2008-05-12 10:00 ` Paulo Marques
2008-05-12 15:50 ` Cyrill Gorcunov
2008-05-12 17:23 ` Sam Ravnborg
2008-05-12 17:28 ` Cyrill Gorcunov
2008-05-13 9:54 ` Andi Kleen
2008-05-19 18:11 ` Sam Ravnborg
2008-05-19 18:15 ` Cyrill Gorcunov
2008-05-19 18:21 ` Sam Ravnborg
2008-05-19 18:22 ` Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4824AD3C.3070506@grupopie.com \
--to=pmarques@grupopie.com \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.