Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for detecting reliable stack traces

From: Jiri Slaby
Date: Tue Jan 17 2017 - 08:17:04 EST


On 12/01/2016, 09:59 PM, Josh Poimboeuf wrote:
> I honestly am planning on picking it back up as soon as I post the
> consistency model v3, probably next week.
>
> Here's its current state, though it ain't pretty:
>
> https://github.com/jpoimboe/linux/tree/objtool-dwarf

FWIW, I had to port the SUSE's in-kernel DWARF unwinder which we drag
for a decade or so. It seems to be working correctly on the top of the
rewritten 4.9 stack unwinding. It needs a lot of polishing, though. And
it does not go beyond a single stack (e.g. from IRQ to process ctx) yet
(it never did).

https://git.kernel.org/cgit/linux/kernel/git/jirislaby/linux.git/commit/?h=devel&id=b190fa08c9248846e9cf23959f0484215d3ad0e4

Having the working DWARF unwinder, I am moving to DWARF generation for
asm in your tool now.

thanks,
--
js
suse labs