aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-27 08:17:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-27 08:17:14 +0200
commitc97793089b11f736287b65abe3d530d5ffd3857b (patch)
tree6944831ba049777b40aed51c75bf6dc637cc98e4 /scripts/decode_stacktrace.sh
parentxhci: dbc: remove tty specific port structure from struct xhci_dbc (diff)
parentLinux 5.8-rc7 (diff)
downloadlinux-dev-c97793089b11f736287b65abe3d530d5ffd3857b.tar.xz
linux-dev-c97793089b11f736287b65abe3d530d5ffd3857b.zip
Merge 5.8-rc7 into usb-next
We want the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
-rwxr-xr-xscripts/decode_stacktrace.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh
index 66a6d511b524..0869def435ee 100755
--- a/scripts/decode_stacktrace.sh
+++ b/scripts/decode_stacktrace.sh
@@ -87,8 +87,8 @@ parse_symbol() {
return
fi
- # Strip out the base of the path
- code=${code#$basepath/}
+ # Strip out the base of the path on each line
+ code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
# In the case of inlines, move everything to same line
code=${code//$'\n'/' '}