s390/pai: fix raw data collection for PMU pai_ext
Commit838d9bb62d("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:838d9bb62d("perf: Use sample_flags for raw_data") Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
aa127a069e
commit
8b1e6a3fb3
1 changed files with 1 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ static int paiext_push_sample(void)
|
||||||
raw.frag.data = cpump->save;
|
raw.frag.data = cpump->save;
|
||||||
raw.size = raw.frag.size;
|
raw.size = raw.frag.size;
|
||||||
data.raw = &raw;
|
data.raw = &raw;
|
||||||
|
data.sample_flags |= PERF_SAMPLE_RAW;
|
||||||
}
|
}
|
||||||
|
|
||||||
overflow = perf_event_overflow(event, &data, ®s);
|
overflow = perf_event_overflow(event, &data, ®s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue