Re: [PATCH] scripts/decode_stacktrace: warn when modpath is needed but is unset

From: Linus Torvalds
Date: Mon Jun 15 2020 - 18:38:15 EST


On Mon, Jun 15, 2020 at 3:24 PM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> When a user tries to parse a symbol located inside a module he must have
> modpath set. Otherwise, decode_stacktrace won't be able to parse the
> symbol correctly.
>
> Right now the failure is silent and easily missed by the user. What's
> worse is that by the time the user realizes what happened (or someone on
> LKML asks him to add the modpath and re-run), he might have already got
> rid of the vmlinux/modules.

Well, that looks straightforward.

Applied,

Linus