projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3101383
)
scripts/decode_stacktrace: look for modules with .ko.debug extension
author
Nicolas Boichat
<drinkcat@chromium.org>
Fri, 12 Jul 2019 03:52:30 +0000
(20:52 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 12 Jul 2019 18:05:41 +0000
(11:05 -0700)
In Chromium OS kernel builds, we split the debug information as .ko.debug
files, and that's what decode_stacktrace.sh needs to use.
Relax objfile matching rule to allow any .ko* file to be matched.
[drinkcat@chromium.org: add quotes around name pattern]
Link:
http://lkml.kernel.org/r/20190528103346.42720-1-drinkcat@chromium.org
Link:
http://lkml.kernel.org/r/20190521234148.64060-1-drinkcat@chromium.org
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/decode_stacktrace.sh
patch
|
blob
|
history
diff --git
a/scripts/decode_stacktrace.sh
b/scripts/decode_stacktrace.sh
index 6c2c05a75b542055c54a65bbc139b321216fe1d2..fa704f17275e70e9fc9ce720e6aedfa73d33baa3 100755
(executable)
--- a/
scripts/decode_stacktrace.sh
+++ b/
scripts/decode_stacktrace.sh
@@
-28,7
+28,7
@@
parse_symbol() {
local objfile=${modcache[$module]}
else
[[ $modpath == "" ]] && return
- local objfile=$(find "$modpath" -name
$module.ko
-print -quit)
+ local objfile=$(find "$modpath" -name
"$module.ko*"
-print -quit)
[[ $objfile == "" ]] && return
modcache[$module]=$objfile
fi