libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel
[linux-2.6-microblaze.git] / tools / perf / util / db-export.c
index dc2d4de..701e9f8 100644 (file)
@@ -388,8 +388,8 @@ int db_export__sample(struct db_export *dbe, union perf_event *event,
                }
        }
 
-       if ((evsel->attr.sample_type & PERF_SAMPLE_ADDR) &&
-           sample_addr_correlates_sym(&evsel->attr)) {
+       if ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
+           sample_addr_correlates_sym(&evsel->core.attr)) {
                struct addr_location addr_al;
 
                thread__resolve(thread, &addr_al, sample);