Messages in this thread | | | Subject | Re: [PATCH v2 07/12] scripts/decode_stacktrace.sh: Support debuginfod | From | Stephen Boyd <> | Date | Wed, 24 Mar 2021 15:22:11 -0700 |
| |
Quoting Andy Shevchenko (2021-03-24 04:27:53) > 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. >
I wish too but the script has /bin/bash at the start and I was trying to follow similar style to what was already in here. Feel free to send a patch to remove the bashisms.
| |