From: Bob Copeland <me@bobcopeland.com>
To: Peter Hallberg <hallberg68@hotmail.com>
Cc: Avi Kivity <avi@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: Intepreting an oops
Date: Sun, 5 Apr 2009 10:43:20 -0400 [thread overview]
Message-ID: <b6c5339f0904050743k799104f1x443edb69a00fdb64@mail.gmail.com> (raw)
In-Reply-To: <49D8ABA8.20700@redhat.com>
On Sun, Apr 5, 2009 at 9:01 AM, Avi Kivity <avi@redhat.com> wrote:
> Peter Hallberg wrote:
>>
>> How does one translate the offset in the function to a line number in the
>> source code?
>> [ 218.418473] Call Trace:
>> [ 218.418484] [] :nnpfs:nnpfs_writepage+0xab/0x230
>>
>
> You can use 'objdump -Sr nnpfs.ko' and look for the address of
> nnpfs_writepage, plus 0xab.
I use the above sometimes, also you can do:
gdb nnpfs.ko
gdb> l *(nnpfs_writepage+0xab)
Documentation/oops-tracing.txt has some helpful tips.
--
Bob Copeland %% www.bobcopeland.com
next prev parent reply other threads:[~2009-04-05 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 12:48 Peter Hallberg
2009-04-05 13:01 ` Avi Kivity
2009-04-05 14:43 ` Bob Copeland [this message]
2009-04-05 15:18 ` Arjan van de Ven
2009-04-07 8:50 ` Michal Hocko
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=b6c5339f0904050743k799104f1x443edb69a00fdb64@mail.gmail.com \
--to=me@bobcopeland.com \
--cc=avi@redhat.com \
--cc=hallberg68@hotmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®