mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	All the big Linux distros enable CONFIG_SCHED_DEBUG, because the various features it provides help not just with kernel development, but with system administration and user-space software development as well. Reflect this reality and enable this functionality unconditionally. Signed-off-by: Ingo Molnar <mingo@kernel.org> Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Juri Lelli <juri.lelli@redhat.com> Cc: Vincent Guittot <vincent.guittot@linaro.org> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Ben Segall <bsegall@google.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Valentin Schneider <vschneid@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20250317104257.3496611-4-mingo@kernel.org
		
			
				
	
	
		
			107 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			107 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0-only
 | 
						|
/*
 | 
						|
 * These are various utility functions of the scheduler,
 | 
						|
 * built in a single compilation unit for build efficiency reasons.
 | 
						|
 *
 | 
						|
 * ( Incidentally, the size of the compilation unit is roughly
 | 
						|
 *   comparable to core.c, fair.c, smp.c and policy.c, the other
 | 
						|
 *   big compilation units. This helps balance build time, while
 | 
						|
 *   coalescing source files to amortize header inclusion
 | 
						|
 *   cost. )
 | 
						|
 */
 | 
						|
#include <linux/sched/clock.h>
 | 
						|
#include <linux/sched/cputime.h>
 | 
						|
#include <linux/sched/debug.h>
 | 
						|
#include <linux/sched/isolation.h>
 | 
						|
#include <linux/sched/loadavg.h>
 | 
						|
#include <linux/sched/nohz.h>
 | 
						|
#include <linux/sched/mm.h>
 | 
						|
#include <linux/sched/rseq_api.h>
 | 
						|
#include <linux/sched/task_stack.h>
 | 
						|
 | 
						|
#include <linux/cpufreq.h>
 | 
						|
#include <linux/cpumask_api.h>
 | 
						|
#include <linux/cpuset.h>
 | 
						|
#include <linux/ctype.h>
 | 
						|
#include <linux/debugfs.h>
 | 
						|
#include <linux/energy_model.h>
 | 
						|
#include <linux/hashtable_api.h>
 | 
						|
#include <linux/irq.h>
 | 
						|
#include <linux/kobject_api.h>
 | 
						|
#include <linux/membarrier.h>
 | 
						|
#include <linux/mempolicy.h>
 | 
						|
#include <linux/nmi.h>
 | 
						|
#include <linux/nospec.h>
 | 
						|
#include <linux/proc_fs.h>
 | 
						|
#include <linux/psi.h>
 | 
						|
#include <linux/ptrace_api.h>
 | 
						|
#include <linux/sched_clock.h>
 | 
						|
#include <linux/security.h>
 | 
						|
#include <linux/spinlock_api.h>
 | 
						|
#include <linux/swait_api.h>
 | 
						|
#include <linux/timex.h>
 | 
						|
#include <linux/utsname.h>
 | 
						|
#include <linux/wait_api.h>
 | 
						|
#include <linux/workqueue_api.h>
 | 
						|
 | 
						|
#include <uapi/linux/prctl.h>
 | 
						|
#include <uapi/linux/sched/types.h>
 | 
						|
 | 
						|
#include <asm/switch_to.h>
 | 
						|
 | 
						|
#include "sched.h"
 | 
						|
#include "sched-pelt.h"
 | 
						|
#include "stats.h"
 | 
						|
#include "autogroup.h"
 | 
						|
 | 
						|
#include "clock.c"
 | 
						|
 | 
						|
#ifdef CONFIG_CGROUP_CPUACCT
 | 
						|
# include "cpuacct.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_CPU_FREQ
 | 
						|
# include "cpufreq.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_CPU_FREQ_GOV_SCHEDUTIL
 | 
						|
# include "cpufreq_schedutil.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#include "debug.c"
 | 
						|
 | 
						|
#ifdef CONFIG_SCHEDSTATS
 | 
						|
# include "stats.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#include "loadavg.c"
 | 
						|
#include "completion.c"
 | 
						|
#include "swait.c"
 | 
						|
#include "wait_bit.c"
 | 
						|
#include "wait.c"
 | 
						|
 | 
						|
#ifdef CONFIG_SMP
 | 
						|
# include "cpupri.c"
 | 
						|
# include "stop_task.c"
 | 
						|
# include "topology.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_SCHED_CORE
 | 
						|
# include "core_sched.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_PSI
 | 
						|
# include "psi.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_MEMBARRIER
 | 
						|
# include "membarrier.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_CPU_ISOLATION
 | 
						|
# include "isolation.c"
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_SCHED_AUTOGROUP
 | 
						|
# include "autogroup.c"
 | 
						|
#endif
 |