summaryrefslogtreecommitdiffstats
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 480ada281bdb..cab46f517b83 100644
--- a/tools/perf/arch/s390/util/auxtrace.c
+++ b/tools/perf/arch/s390/util/auxtrace.c
@@ -94,7 +94,7 @@ struct auxtrace_record *auxtrace_record__init(struct evlist *evlist,
return NULL;
evlist__for_each_entry(evlist, pos) {
- if (pos->attr.config == PERF_EVENT_CPUM_SF_DIAG) {
+ if (pos->core.attr.config == PERF_EVENT_CPUM_SF_DIAG) {
diagnose = 1;
break;
}