Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit fe7d14f

Browse files
drinkcattorvalds
authored andcommitted
scripts/decode_stacktrace: look for modules with .ko.debug extension
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>
1 parent 3101383 commit fe7d14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/decode_stacktrace.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ parse_symbol() {
2828
local objfile=${modcache[$module]}
2929
else
3030
[[ $modpath == "" ]] && return
31-
local objfile=$(find "$modpath" -name $module.ko -print -quit)
31+
local objfile=$(find "$modpath" -name "$module.ko*" -print -quit)
3232
[[ $objfile == "" ]] && return
3333
modcache[$module]=$objfile
3434
fi

0 commit comments

Comments
 (0)