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: exclude_idle only on x86_64
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 sets `exclude_idle` only on known-to-work architectures (presently, it's only x86_64), assuming it is initialized to 0 as all other unset bitfields in `perf_event_attr`. Fixes scylladb#2298 Signed-off-by: Benny Halevy <[email protected]>
- Loading branch information