summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/evsel-roundtrip-name.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/evsel-roundtrip-name.c')
-rw-r--r--tools/perf/tests/evsel-roundtrip-name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/evsel-roundtrip-name.c b/tools/perf/tests/evsel-roundtrip-name.c
index 6cc408b23026..74e79d6b7e96 100644
--- a/tools/perf/tests/evsel-roundtrip-name.c
+++ b/tools/perf/tests/evsel-roundtrip-name.c
@@ -12,7 +12,7 @@ static int perf_evsel__roundtrip_cache_name_test(void)
char name[128];
int type, op, err = 0, ret = 0, i, idx;
struct evsel *evsel;
- struct evlist *evlist = perf_evlist__new();
+ struct evlist *evlist = evlist__new();
if (evlist == NULL)
return -ENOMEM;
@@ -68,7 +68,7 @@ static int __perf_evsel__name_array_test(const char *names[], int nr_names)
{
int i, err;
struct evsel *evsel;
- struct evlist *evlist = perf_evlist__new();
+ struct evlist *evlist = evlist__new();
if (evlist == NULL)
return -ENOMEM;