diff options
| author | Nicolas Boichat <[email protected]> | 2019-07-12 03:52:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-12 18:05:41 +0000 |
| commit | fe7d14f174f18745d8dc141377e5f85ae7757d66 (patch) | |
| tree | d5b4345c19d8953851dc27fbaaa7de90dcff6b10 /scripts/decode_stacktrace.sh | |
| parent | scripts/decode_stacktrace: match basepath using shell prefix operator, not regex (diff) | |
| download | kernel-fe7d14f174f18745d8dc141377e5f85ae7757d66.tar.gz kernel-fe7d14f174f18745d8dc141377e5f85ae7757d66.zip | |
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.
[[email protected]: add quotes around name pattern]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Nicolas Boichat <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
| -rwxr-xr-x | scripts/decode_stacktrace.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh index 6c2c05a75b54..fa704f17275e 100755 --- 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 |
