diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index bfde6a7a80f28108e0e2036811944e62f2afcb85..d5fbcf8c7aa70138716f1d4e153f515a882c4ccb 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -1375,7 +1375,7 @@ perf_evsel__process_group_data(struct perf_evsel *leader, static int perf_evsel__read_group(struct perf_evsel *leader, int cpu, int thread) { - struct perf_stat_evsel *ps = leader->priv; + struct perf_stat_evsel *ps = leader->stats; u64 read_format = leader->attr.read_format; int size = perf_evsel__read_size(leader); u64 *data = ps->group_data;