summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAnubhav Shelat <ashelat@redhat.com>2026-04-01 09:24:43 -0400
committerNamhyung Kim <namhyung@kernel.org>2026-04-02 12:51:10 -0700
commitff6be45adb1989698867938157f9317ae0bba936 (patch)
tree1488dbed933142bad23ba5338f7373797632d601 /tools/perf/scripts/python/bin/stackcollapse-record
parent77cb9b443b7fff2a93d78cd2e309db030046772f (diff)
perf tools: prevent null dsos from being added
When sorting the dso array we sometimes get a crash due to null comparisons in comparator functions. So prevent __dsos__add from adding null to the dso array to avoid out-of-memory related errors. Signed-off-by: Anubhav Shelat <ashelat@redhat.com> Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions