aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-05-10 14:04:51 -0700
committerArnaldo Carvalho de Melo <[email protected]>2024-05-11 13:03:13 -0300
commit9ef30265a483f0405e4f7b3f15cda251b9a2c7da (patch)
tree635f98127b16db9ece0e2b96b963a4ea3845fc06 /tools/perf/scripts/python/export-to-sqlite.py
parent09541603462c399c7408d50295db99b4b8042eaa (diff)
perf annotate: Fix segfault on sample histogram
A symbol can have no samples, then accessing the annotated_source->samples hashmap will result in a segfault. Fixes: a3f7768bcf48281d ("perf annotate: Fix memory leak in annotated_source") Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions