diff options
| author | Ingo Molnar <mingo@kernel.org> | 2024-12-02 11:52:59 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2024-12-02 11:52:59 +0100 |
| commit | bcfd5f644c5b933cfb3c488220e40a03e011e8a4 (patch) | |
| tree | 66717ce2352b3e9a14b94ffe804db93b073eb525 /scripts/decode_stacktrace.sh | |
| parent | perf/core: Check sample_type in perf_sample_save_brstack (diff) | |
| parent | Linux 6.13-rc1 (diff) | |
| download | linux-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-x | scripts/decode_stacktrace.sh | 7 |
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 |
