]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - tools/perf/util/s390-sample-raw.c
libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel
[mirror_ubuntu-hirsute-kernel.git] / tools / perf / util / s390-sample-raw.c
index 6650f599ed9cda651878fb19c03e92b94fe7b69b..d311c81464e51a131b70197a238340f43911e4f8 100644 (file)
@@ -200,17 +200,17 @@ static void s390_cpumcfdg_dump(struct perf_sample *sample)
  * its raw data.
  * The function is only invoked when the dump flag -D is set.
  */
-void perf_evlist__s390_sample_raw(struct perf_evlist *evlist, union perf_event *event,
+void perf_evlist__s390_sample_raw(struct evlist *evlist, union perf_event *event,
                                  struct perf_sample *sample)
 {
-       struct perf_evsel *ev_bc000;
+       struct evsel *ev_bc000;
 
        if (event->header.type != PERF_RECORD_SAMPLE)
                return;
 
        ev_bc000 = perf_evlist__event2evsel(evlist, event);
        if (ev_bc000 == NULL ||
-           ev_bc000->attr.config != PERF_EVENT_CPUM_CF_DIAG)
+           ev_bc000->core.attr.config != PERF_EVENT_CPUM_CF_DIAG)
                return;
 
        /* Display raw data on screen */