summaryrefslogtreecommitdiff
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorwangguangju <wangguangju@hygon.cn>2026-02-26 15:22:08 +0300
committerNamhyung Kim <namhyung@kernel.org>2026-02-26 21:48:14 +0300
commit96f202eab8133f94479b14a32902c636e9bdf6af (patch)
tree07c1a4e52c7d33af5ee731ab50d2a2bd9da67f76 /scripts/decode_stacktrace.sh
parent0feca0b788567debbaec6a9a329f5bee1b15c705 (diff)
downloadlinux-96f202eab8133f94479b14a32902c636e9bdf6af.tar.xz
perf trace: Fix IS_ERR() vs NULL check bug
The alloc_syscall_stats() function always returns an error pointer (ERR_PTR) on failure. So replace NULL check with IS_ERR() check after calling delete_syscall_stats() function. Fixes: ef2da619b132c6f74 ("perf trace: Convert syscall_stats to hashmap") Signed-off-by: wangguangju <wangguangju@hygon.cn> Reviewed-by: Howard Chu <howardchu95@gmail.com> Acked-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions