Many cases do not use the extra error information provided by parse_events and instead pass NULL as the struct parse_events_error pointer. Add a wrapper for those cases so that the pointer is never NULL. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20220809080702.6921-4-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
arch-tests.c | ||
bp-modify.c | ||
Build | ||
dwarf-unwind.c | ||
gen-insn-x86-dat.awk | ||
gen-insn-x86-dat.sh | ||
insn-x86-dat-32.c | ||
insn-x86-dat-64.c | ||
insn-x86-dat-src.c | ||
insn-x86.c | ||
intel-cqm.c | ||
intel-pt-pkt-decoder-test.c | ||
regs_load.S | ||
sample-parsing.c |