Files
twx-linux/tools/perf/util
Adrian Hunter 129fe9d509 perf parse-events: Fix segfault when event parser gets an error
commit 2e828582b8 upstream.

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: 43eb05d066 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-25 11:45:26 +02:00
..
…
2022-01-12 17:01:38 -08:00
…
2022-06-28 12:05:25 -03:00
…
…
2022-02-14 16:47:13 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-12 14:28:23 -03:00
…
…
2022-05-23 10:11:39 -03:00
2022-05-23 10:11:39 -03:00
…
…
2022-01-12 14:28:23 -03:00
2022-01-12 14:28:23 -03:00
2022-05-23 10:18:38 -03:00
…
…
…
…
2022-04-11 16:37:26 -03:00
…
…
…
…
…
…
…
…
2022-05-23 10:18:38 -03:00
2022-05-23 10:18:38 -03:00
2022-02-14 16:56:32 -03:00
…
…
…
…
2022-02-11 14:05:49 -03:00
…
…
…
…
…
…
…
…
…
…
…
2022-05-23 10:18:38 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-02-15 17:15:29 -03:00
…
…
…
…
…
…
…
…
…
…
…
…