aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2022-08-09 11:07:00 +0300
committerArnaldo Carvalho de Melo <[email protected]>2022-08-10 14:29:23 -0300
commit2e828582b81f5bc76a4fe8e7812df259ab208302 (patch)
tree1bfff325125d0ab5c3041061d5463ecd3db6f7ba /tools/perf/scripts/python/stackcollapse.py
parentb39c9e1b101d2992de9981673919ae55a088792c (diff)
perf parse-events: Fix segfault when event parser gets an error
parse_events() is often called with parse_events_error set to NULL. Make parse_events_error__handle() not segfault in that case. A subsequent patch changes to avoid passing NULL in the first place. Fixes: 43eb05d066795bdf ("perf tests: Support 'Track with sched_switch' test for hybrid") Signed-off-by: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jin Yao <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions