Re: Intepreting an oops

From: Michal Hocko
Date: Tue Apr 07 2009 - 04:50:39 EST


On Sun 05-04-09 14:48:19, 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
> [ 218.418498] [] __writepage+0xa/0x30
> [ 218.418503] [] write_cache_pages+0x250/0x340
> [ 218.418509] [] __writepage+0x0/0x30
> [ 218.418522] [] generic_file_aio_write+0x6f/0xd0
> [ 218.418540] [] do_writepages+0x2b/0x40
> [ 218.418545] [] __filemap_fdatawrite_range+0x52/0x60
> [ 218.418558] [] filemap_write_and_wait+0x35/0x50
> [ 218.418570] [] :nnpfs:nnpfs_fsync_int+0x47/0x1b0
> [ 218.418599] [] :nnpfs:nnpfs_release_file+0x9d/0xc0
> [ 218.418608] [] filp_close+0x33/0x90
> [ 218.418615] [] sys_close+0x9f/0x100
> [ 218.418622] [] system_call+0x7e/0x83
>

addr2line is also an option
--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/