[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160917081525.632afu7ddw3osgop@debian>
Date: Sat, 17 Sep 2016 10:15:45 +0200
From: Rabin Vincent <rabin@....in>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Stephane Eranian <eranian@...gle.com>,
Vince Weaver <vincent.weaver@...ne.edu>,
LKML <linux-kernel@...r.kernel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Ingo Molnar <mingo@...nel.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH v2] scripts: add script for translating stack dump
function offsets
On Fri, Sep 16, 2016 at 04:26:56PM -0500, Josh Poimboeuf wrote:
> + addr2line -ie $objfile $hexaddr
Could you pass in -f and -p too to addr2line?
Before:
$ scripts/faddr2line ~/dev/kvm2/vmlinux free_reserved_area+0x90
/home/rabin/dev/linux/include/linux/compiler.h:222
/home/rabin/dev/linux/include/linux/page-flags.h:149
/home/rabin/dev/linux/include/linux/page-flags.h:154
/home/rabin/dev/linux/include/linux/page-flags.h:287
/home/rabin/dev/linux/include/linux/mm.h:1778
/home/rabin/dev/linux/include/linux/mm.h:1785
/home/rabin/dev/linux/mm/page_alloc.c:6599
After:
$ scripts/faddr2line ~/dev/kvm2/vmlinux free_reserved_area+0x90
__read_once_size at /home/rabin/dev/linux/include/linux/compiler.h:222
(inlined by) PageTail at /home/rabin/dev/linux/include/linux/page-flags.h:149
(inlined by) PageCompound at /home/rabin/dev/linux/include/linux/page-flags.h:154
(inlined by) ClearPageReserved at /home/rabin/dev/linux/include/linux/page-flags.h:287
(inlined by) __free_reserved_page at /home/rabin/dev/linux/include/linux/mm.h:1778
(inlined by) free_reserved_page at /home/rabin/dev/linux/include/linux/mm.h:1785
(inlined by) free_reserved_area at /home/rabin/dev/linux/mm/page_alloc.c:6599
Powered by blists - more mailing lists