aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-12-02 11:52:59 +0100
committerIngo Molnar <mingo@kernel.org>2024-12-02 11:52:59 +0100
commitbcfd5f644c5b933cfb3c488220e40a03e011e8a4 (patch)
tree66717ce2352b3e9a14b94ffe804db93b073eb525 /scripts/decode_stacktrace.sh
parentperf/core: Check sample_type in perf_sample_save_brstack (diff)
parentLinux 6.13-rc1 (diff)
downloadlinux-bcfd5f644c5b933cfb3c488220e40a03e011e8a4.tar.gz
linux-bcfd5f644c5b933cfb3c488220e40a03e011e8a4.zip
Merge tag 'v6.13-rc1' into perf/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
-rwxr-xr-xscripts/decode_stacktrace.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh
index 826836d264c6..46fa18b80fc1 100755
--- a/scripts/decode_stacktrace.sh
+++ b/scripts/decode_stacktrace.sh
@@ -311,7 +311,12 @@ handle_line() {
parse_symbol # modifies $symbol
# Add up the line number to the symbol
- echo "${words[@]}" "$symbol $module"
+ if [[ -z ${module} ]]
+ then
+ echo "${words[@]}" "$symbol"
+ else
+ echo "${words[@]}" "$symbol $module"
+ fi
}
while read line; do