Re: [PATCH] perf test: Skip sched stats test for !root

From: Namhyung Kim

Date: Mon Apr 06 2026 - 13:51:34 EST


On Sat, Apr 04, 2026 at 10:16:44PM -0700, Namhyung Kim wrote:
> Running perf sched stats requires root and it fails to open the
> schedstat file for regular users. Let's skip the test.
>
> $ perf sched stats true
> Failed to open /proc/sys/kernel/sched_schedstats
>
> Cc: Swapnil Sapkal <swapnil.sapkal@xxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Applied to perf-tools-next, thanks!

Best regards,
Namhyung