The Linux manual states regarding exclude_idle: "While you can currently enable this for any event type, it is ignored for all but software events." Also, it appears exclude_idle is not supported on Arm. Therefore, remove it.
Signed-off-by: Shaopeng Tan <[email protected]> --- tools/testing/selftests/resctrl/cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/resctrl/cache.c b/tools/testing/selftests/resctrl/cache.c index 1ff1104e6575..9a4a6c52b14c 100644 --- a/tools/testing/selftests/resctrl/cache.c +++ b/tools/testing/selftests/resctrl/cache.c @@ -13,7 +13,6 @@ void perf_event_attr_initialize(struct perf_event_attr *pea, __u64 config) pea->read_format = PERF_FORMAT_GROUP; pea->exclude_kernel = 1; pea->exclude_hv = 1; - pea->exclude_idle = 1; pea->exclude_callchain_kernel = 1; pea->inherit = 1; pea->exclude_guest = 1; -- 2.47.3

