LKML Archive on
help / color / mirror / Atom feed
* [PATCH v2] scripts/decode_stacktrace: Look for modules with .ko.debug extension
@ 2019-05-28 10:33 Nicolas Boichat
  0 siblings, 0 replies; only message in thread
From: Nicolas Boichat @ 2019-05-28 10:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Marc Zyngier, Konstantin Khlebnikov, Nicolas Boichat, linux-kernel

In Chromium OS kernel builds, we split the debug information as
.ko.debug files, and that's what needs to use.

Relax objfile matching rule to allow any .ko* file to be matched.

Signed-off-by: Nicolas Boichat <>

Changes since v1:
 - Added quotes around name pattern.

(note that the line in 81 chars now, but there is a precedent below, that
does not split a much longer line in $(), so hopefully this is ok)

akpm: To replace the existing patch in mmotm, thanks!

 scripts/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ b/scripts/
index bcdd45df3f5127a..d88554dc0eec9e7 100755
--- a/scripts/
+++ b/scripts/
@@ -28,7 +28,7 @@ parse_symbol() {
 		local objfile=${modcache[$module]}
 		[[ $modpath == "" ]] && return
-		local objfile=$(find "$modpath" -name $module.ko -print -quit)
+		local objfile=$(find "$modpath" -name "$module.ko*" -print -quit)
 		[[ $objfile == "" ]] && return

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-28 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 10:33 [PATCH v2] scripts/decode_stacktrace: Look for modules with .ko.debug extension Nicolas Boichat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).