summaryrefslogtreecommitdiff
path: root/tools/perf/arch/s390/util/auxtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/s390/util/auxtrace.c')
-rw-r--r--tools/perf/arch/s390/util/auxtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/s390/util/auxtrace.c b/tools/perf/arch/s390/util/auxtrace.c
index 833f60fa9c5a..480ada281bdb 100644
--- a/tools/perf/arch/s390/util/auxtrace.c
+++ b/tools/perf/arch/s390/util/auxtrace.c
@@ -90,7 +90,7 @@ struct auxtrace_record *auxtrace_record__init(struct evlist *evlist,
int diagnose = 0;
*err = 0;
- if (evlist->nr_entries == 0)
+ if (evlist->core.nr_entries == 0)
return NULL;
evlist__for_each_entry(evlist, pos) {