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

From: Linus Torvalds
Date: Mon Mar 17 2014 - 15:49:16 EST


On Mon, Mar 17, 2014 at 12:31 PM, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
>
> What about duplicate symbol names? Without the full hex address we lose
> the ability to correctly translate from symbol name to file/line.

Yeah, and we should strive to avoid that issue.

The thing is, think about address randomization. We can pretty much
assume that is going to be the standard behavior due to it being
really cheap (just a trivial boot time cost), and helping some
security issues.

So we might have a few ambiguous cases, that's still better than the
alternative.

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