Skip to content

Commit 8b1e6a3

Browse files
Thomas RichterVasily Gorbik
authored andcommitted
s390/pai: fix raw data collection for PMU pai_ext
Commit 838d9bb ("perf: Use sample_flags for raw_data") changed the way the raw data of an event is collected. Adjust the PMU pai_ext to the new scheme. Fixes: 838d9bb ("perf: Use sample_flags for raw_data") Signed-off-by: Thomas Richter <[email protected]> Acked-by: Sumanth Korikkar <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent aa127a0 commit 8b1e6a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/kernel/perf_pai_ext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ static int paiext_push_sample(void)
459459
raw.frag.data = cpump->save;
460460
raw.size = raw.frag.size;
461461
data.raw = &raw;
462+
data.sample_flags |= PERF_SAMPLE_RAW;
462463
}
463464

464465
overflow = perf_event_overflow(event, &data, &regs);

0 commit comments

Comments
 (0)