aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/bench/evlist-open-close.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/bench/evlist-open-close.c')
-rw-r--r--tools/perf/bench/evlist-open-close.c2
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;