Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux_perf_event: do not exclude_idle on aarch64
Commit 93f19d3 added `exclude_idle = 1` to `linux_perf_event`. However, as reported in scylladb/scylladb#19227 (comment), `exclude_idle` is not supported on ARM platforms. This change skips setting `exclude_idle` on aarch64 assuming it is initialized to 0 as all other unset bitfields in `perf_event_attr`. Signed-off-by: Benny Halevy <[email protected]>
- Loading branch information