Merge tag 'random_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / x86 / events / amd / ibs.c
index feb90f6730e8aebc06780090dcb6738750dd0a43..72dea2f40fc4d43bb61b486f8f784c5a02aa6fe7 100644 (file)
@@ -655,8 +655,12 @@ fail:
        }
 
        if (event->attr.sample_type & PERF_SAMPLE_RAW) {
-               raw.size = sizeof(u32) + ibs_data.size;
-               raw.data = ibs_data.data;
+               raw = (struct perf_raw_record){
+                       .frag = {
+                               .size = sizeof(u32) + ibs_data.size,
+                               .data = ibs_data.data,
+                       },
+               };
                data.raw = &raw;
        }
 
This page took 0.025113 seconds and 5 git commands to generate.