diff options
author | Gaurav Singh <[email protected]> | 2020-06-08 13:18:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-09 12:40:04 -0300 |
commit | 11b6e5482e178055ec1f2444b55f2518713809d1 (patch) | |
tree | afa7780404b16ed2e109ad5a5a436943e8807931 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dd76c302955de405ea589e36c574f6f10eca99b6 (diff) |
perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
The 'evname' variable can be NULL, as it is checked a few lines back,
check it before using.
Fixes: 9e207ddfa207 ("perf report: Show call graph from reference events")
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/
Signed-off-by: Gaurav Singh <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions