Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched/debug: Print the local group's asym_prefer_cpu

Add a file to read local group's "asym_prefer_cpu" from debugfs. This
information was useful when debugging issues where "asym_prefer_cpu" was
incorrectly set to a CPU with a lower asym priority.

Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250409053446.23367-5-kprateek.nayak@amd.com

authored by

K Prateek Nayak and committed by
Peter Zijlstra
44671e21 8157fbc9

+4
+4
kernel/sched/debug.c
··· 588 588 debugfs_create_file("flags", 0444, parent, &sd->flags, &sd_flags_fops); 589 589 debugfs_create_file("groups_flags", 0444, parent, &sd->groups->flags, &sd_flags_fops); 590 590 debugfs_create_u32("level", 0444, parent, (u32 *)&sd->level); 591 + 592 + if (sd->flags & SD_ASYM_PACKING) 593 + debugfs_create_u32("group_asym_prefer_cpu", 0444, parent, 594 + (u32 *)&sd->groups->asym_prefer_cpu); 591 595 } 592 596 593 597 void update_sched_domain_debugfs(void)