Re: [RFC] kallsyms: embed source file:line info in kernel stack traces

Steven Rostedt
2026-03-03T13:17:19Z

On Tue, 3 Mar 2026 08:39:36 +0300
Alexey Dobriyan <adobriyan@gmail.com> wrote:

> On Mon, Mar 02, 2026 at 03:28:28PM -0500, Sasha Levin wrote:
> > [ 11.206749] dump_stack_lvl+0x5d/0x80 (lib/dump_stack.c:94)
>
> This is super useful, thanks.
>
> Can the 0x prefix be dropped as well?

And print in decimal? Without the 0x, it could be ambiguous that it's hex.

> It is shorter to print in decimal up to 1 million.
>
> () are just character noise, I'd drop them

I actually prefer them ;-)

Anyway, this looks more like a feature that is for us kernel developers
debugging our own kernels than something that should be added to a distro.
decode_stacktrace.pl can be used for those because distro kernels always
supply debug data that can be downloaded at any time.

I can see this being very useful when debugging something that causes a
crash, as it will save me time from cat'ing the output into
decode_stacktrace.pl after each crash. Although, I can see this having the
same issue as gdb has with static inlined functions.

-- Steve