Commit 8ce5fa4d authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim

perf kvm powerpc: Fix build

Updates to struct parse_events_error needed to be carried through to
PowerPC specific event parsing.

Fixes: fd7b8e8f ("perf parse-events: Print all errors")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Acked-by: default avatarNamhyung <namhyung@kernel.org>
Cc: James Clark <james.clark@arm.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240206235902.2917395-1-irogers@google.com
parent e024fa6a
...@@ -114,7 +114,7 @@ static int is_tracepoint_available(const char *str, struct evlist *evlist) ...@@ -114,7 +114,7 @@ static int is_tracepoint_available(const char *str, struct evlist *evlist)
parse_events_error__init(&err); parse_events_error__init(&err);
ret = parse_events(evlist, str, &err); ret = parse_events(evlist, str, &err);
if (err.str) if (ret)
parse_events_error__print(&err, "tracepoint"); parse_events_error__print(&err, "tracepoint");
parse_events_error__exit(&err); parse_events_error__exit(&err);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment