Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

From: Peter Zijlstra
Date: Wed Aug 24 2016 - 14:49:20 EST


On Wed, Aug 24, 2016 at 02:03:58PM -0400, Linus Torvalds wrote:

>
> For the non-kallsyms case we _could_ also just make the '%pB' format
> add the [<>] markers back in case somebody still uses the user-space
> kallsyms script that looks up hex numbers.
>
> Right now the hex numbers are not only useless in stack dumps (since
> you can't look up symbols using them anyway thanks to randomization),
> they are noise that makes the stack traces harder to read. So let's
> just remove them?

I actively disable KASLR on my dev box and feed these hex numbers into
addr2line -ie vmlinux to find where in the function we are.

Having the option to make %pB generate them works for me.