Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s390/cpum_sf: ensure sample frequency of perf event attributes is non…
…-zero Correct a trinity finding for the perf_event_open() system call with a perf event attribute structure that uses a frequency but has the sampling frequency set to zero. This causes a FP divide exception during the sample rate initialization for the hardware sampling facility. Fixes: 8c069ff ("s390/perf: add support for the CPU-Measurement Sampling Facility") Cc: [email protected] # 3.14+ Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
- Loading branch information