summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-08-09 11:07:00 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-08-10 14:29:23 -0300
commit2e828582b81f5bc76a4fe8e7812df259ab208302 (patch)
tree1bfff325125d0ab5c3041061d5463ecd3db6f7ba /tools/perf/scripts/python/export-to-postgresql.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 <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20220809080702.6921-2-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions