Re: [Patch v3 6/6] sched/debug: Dump domains' sched group flags
From: Valentin Schneider
Date: Mon Jul 10 2023 - 16:34:52 EST
On 07/07/23 15:57, Tim Chen wrote:
> From: "Peter Zijlstra (Intel)" <peterz@xxxxxxxxxxxxx>
>
> There have been a case where the SD_SHARE_CPUCAPACITY sched group flag
> in a parent domain were not set and propagated properly when a degenerate
> domain is removed.
>
> Add dump of domain sched group flags of a CPU to make debug easier
> in the future.
>
> Usage:
> cat /debug/sched/domains/cpu0/domain1/groups_flags
> to dump cpu0 domain1's sched group flags.
>
> Signed-off-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
Reviewed-by: Valentin Schneider <vschneid@xxxxxxxxxx>