Re: [PATCH v2 07/12] scripts/decode_stacktrace.sh: Support debuginfod

From: Andy Shevchenko
Date: Wed Mar 24 2021 - 07:29:13 EST


On Tue, Mar 23, 2021 at 07:04:38PM -0700, Stephen Boyd wrote:
> Now that stacktraces contain the build ID information we can update this
> script to use debuginfod-find to locate the debuginfo for the vmlinux
> and modules automatically. This can replace the existing code that
> requires specifying a path to vmlinux or tries to find the vmlinux and
> modules automatically by using the release number. Work it into the
> script as a fallback option if the vmlinux isn't specified on the
> commandline.

One wish for the shell scripts: try to avoid bashisms as much as possible,
please.

--
With Best Regards,
Andy Shevchenko