From: Kristis Makris <kristis.makris@asu.edu>
To: Andreas Schwab <schwab@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Issues with symbol names
Date: Wed, 05 Apr 2006 15:26:33 -0700 [thread overview]
Message-ID: <1144275993.2785.25.camel@syd.mkgnu.net> (raw)
In-Reply-To: <jeirpn7k6i.fsf@sykes.suse.de>
On Thu, 2006-04-06 at 00:05 +0200, Andreas Schwab wrote:
> Kristis Makris <kristis.makris@asu.edu> writes:
>
> > My goal here is to use /proc/kallsyms to determine the size of a function
> > image at runtime.
>
> The size is also recorded in the symbol table.
Do you mean the vmlinux image ? That is not the case for modules that
were dynamically loaded.
This is when problems begin. If one loads a module that happens to be
placed in memory that originally belonged to the __init functions,
then /proc/kallsyms will still report them and throw off this logic. And
perhaps the original module file won't be around to try and get the
function sizes from it.
I suppose I'd rather rely on computing this size from runtime
information...
prev parent reply other threads:[~2006-04-05 22:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-05 20:27 Issues with symbol names Kristis Makris
2006-04-05 21:18 ` Sam Ravnborg
2006-04-05 22:05 ` Andreas Schwab
2006-04-05 22:26 ` Kristis Makris [this message]
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=1144275993.2785.25.camel@syd.mkgnu.net \
--to=kristis.makris@asu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=schwab@suse.de \
/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.