From: Latchesar Ionkov <lucho@ionkov.net>
To: Andrew Morton <akpm@osdl.org>
Cc: Christoph Hellwig <hch@infradead.org>,
ericvh@hera.kernel.org, linux-kernel@vger.kernel.org,
v9fs-developer@lists.sourceforge.net, ericvh@gmail.com
Subject: Re: [V9fs-developer] Re: [RESEND][PATCH] v9fs: print v9fs module address
Date: Fri, 17 Mar 2006 20:59:32 -0500 [thread overview]
Message-ID: <20060318015932.GA2121@ionkov.net> (raw)
In-Reply-To: <20060317130311.0477454f.akpm@osdl.org>
Yes, it looks like funciton_name+0xoffset is enough for debugging. We can
even calculate the module address if we need it.
You can ignore the patch.
Thanks,
Lucho
On Fri, Mar 17, 2006 at 01:03:11PM -0800, Andrew Morton said:
> Christoph Hellwig <hch@infradead.org> wrote:
> >
> > On Fri, Mar 17, 2006 at 07:09:14PM +0000, Eric Van Hensbergen wrote:
> > > Subject: [PATCH] print v9fs module address
> > > From: Latchesar Ionkov <lucho@ionkov.net>
> > > Date: 1141313037 -0500
> > >
> > > This patch prints v9fs module address when the module is initialized. It is
> > > useful to have it in the logs -- if the kernel crashes the address can be
> > > used together with the oops print to find out the exact place (presumably in
> > > the v9fs code) that cause the oops.
> >
> > NACK.
> >
> > This just clutters the log. The information is provided in /proc/modules
> > for all modules.
>
> But it's not printed out in an oops record and it can be hard to read
> /proc/modules when the kernel is dead.
>
> That being said...
>
> If we really want this info then it should be printed out by the oops code,
> where it prints the names of all the loaded modules - add "(0xc0123456)"
> after each module name.
>
> But I can't say I've ever felt a need for this feature - the symbolic info
> in the oops trace tells you function_name+0xoffset/0xsize [*] which is
> sufficient info for debugging.
>
> IOW: what's the use case here, Eric?
>
>
>
> [*] unless it's x86_64, which randomly prints some of these things in
> decimal or sanskrit or something.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> V9fs-developer mailing list
> V9fs-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/v9fs-developer
prev parent reply other threads:[~2006-03-18 1:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 19:09 [RESEND][PATCH] v9fs: print v9fs module address Eric Van Hensbergen
2006-03-17 19:41 ` Christoph Hellwig
2006-03-17 21:03 ` Andrew Morton
2006-03-18 1:59 ` Latchesar Ionkov [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=20060318015932.GA2121@ionkov.net \
--to=lucho@ionkov.net \
--cc=akpm@osdl.org \
--cc=ericvh@gmail.com \
--cc=ericvh@hera.kernel.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=v9fs-developer@lists.sourceforge.net \
/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.