Re: [PATCH] improve_stack: make stack dump output useful again
From: Sasha Levin
Date: Mon Mar 17 2014 - 15:53:33 EST
On 03/17/2014 03:49 PM, Linus Torvalds wrote:
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.
Makes sense. I'll send a patch to rename a small number of "high profile" symbols
that appear often and are duplicated to the respective subsystem maintainers.
Thanks,
Sasha
--
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/