Re: [RFC] improve_stack: make stack dump output useful again

From: Dave Jones
Date: Thu Mar 13 2014 - 19:12:48 EST


On Thu, Mar 13, 2014 at 03:03:41PM -0700, Linus Torvalds wrote:

> You need to look at the *symbol* number. In this output:
>
> [<ffffffff810020c2>] do_one_initcall+0xc2/0x1e0
>
> that "ffffffff810020c2" is crap, and is going away. The address that
> is meaningful and valid is the "do_one_initcall+0xc2" part.
>
> *That* is the part you'd use to parse in user space.
>
> Try it today with the CONFIG_RANDOMIZE_BASE option to see. Using the
> hex number doesn't *work*.

That reminds me, perf top is still busted when this option is enabled.

Dave
--
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/