diff options
author | Ian Rogers <irogers@google.com> | 2021-11-07 01:00:00 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-11-07 15:38:54 -0300 |
commit | 6c1912898ed21bef2d7f8b52902b8bc3c0e5c2b5 (patch) | |
tree | f2768e4d3a20db33c8e699e489095b5e3e62c51d /tools/perf/util/metricgroup.c | |
parent | e4e290791d87b95b2b1fa991e504fba89cbe2a03 (diff) | |
download | lwn-6c1912898ed21bef2d7f8b52902b8bc3c0e5c2b5.tar.gz lwn-6c1912898ed21bef2d7f8b52902b8bc3c0e5c2b5.zip |
perf parse-events: Rename parse_events_error functions
Group error functions and name after the data type they manipulate.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20211107090002.3784612-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/metricgroup.c')
-rw-r--r-- | tools/perf/util/metricgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c index 4917e9704765..edd7180b24e4 100644 --- a/tools/perf/util/metricgroup.c +++ b/tools/perf/util/metricgroup.c @@ -1342,7 +1342,7 @@ static int parse_ids(struct perf_pmu *fake_pmu, struct expr_parse_ctx *ids, bzero(&parse_error, sizeof(parse_error)); ret = __parse_events(parsed_evlist, events.buf, &parse_error, fake_pmu); if (ret) { - parse_events_print_error(&parse_error, events.buf); + parse_events_error__print(&parse_error, events.buf); goto err_out; } ret = decode_all_metric_ids(parsed_evlist, modifier); |