[lkml]   [2014]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] improve_stack: make stack dump output useful again
On 03/13/2014 06:59 PM, Linus Torvalds wrote:
> On Thu, Mar 13, 2014 at 3:20 PM, Sasha Levin <> wrote:
>> I'll fix it up and re-send this patch.
> The problem (as you will find out) is that "addr2line" doesn't take
> symbolic names.
> So either addr2line needs to be improved (which really would be a good
> idea regardless), or your script needs to use "nm" or "gdb" or
> something to first translate the symbol+off into a hex number (which
> will not match the kernel-provided hex number when base randomization
> is in effect, but it will match the pre-randomized data in the vmlinux
> file, so then addr2line would work).

I figured that I'll just read it from (and do the math when
adding the offset). That should work, right?


 \ /
  Last update: 2014-03-14 00:41    [W:0.082 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site