diff options
author | Ian Rogers <irogers@google.com> | 2021-11-07 10:00:00 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-11-07 19:38:54 +0100 |
commit | 6c1912898ed21bef2d7f8b52902b8bc3c0e5c2b5 (patch) | |
tree | f2768e4d3a20db33c8e699e489095b5e3e62c51d /tools/perf/bench/evlist-open-close.c | |
parent | perf stat: Fix memory leak on error path (diff) | |
download | linux-6c1912898ed21bef2d7f8b52902b8bc3c0e5c2b5.tar.xz linux-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/bench/evlist-open-close.c')
-rw-r--r-- | tools/perf/bench/evlist-open-close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/bench/evlist-open-close.c b/tools/perf/bench/evlist-open-close.c index 75a53919126b..3f9518936367 100644 --- a/tools/perf/bench/evlist-open-close.c +++ b/tools/perf/bench/evlist-open-close.c @@ -89,7 +89,7 @@ static struct evlist *bench__create_evlist(char *evstr) ret = parse_events(evlist, evstr, &err); if (ret) { - parse_events_print_error(&err, evstr); + parse_events_error__print(&err, evstr); pr_err("Run 'perf list' for a list of valid events\n"); ret = 1; goto out_delete_evlist; |