blob: 62793dbd2e1244a2c06f74907df50777b7a0b80f [file] [log] [blame]
Peter Zijlstra391e43d2011-11-15 17:14:39 +01001ifdef CONFIG_FUNCTION_TRACER
Heiko Carstensc0a80c02015-01-09 13:06:33 +01002CFLAGS_REMOVE_clock.o = $(CC_FLAGS_FTRACE)
Peter Zijlstra391e43d2011-11-15 17:14:39 +01003endif
4
Dmitry Vyukov5c9a8752016-03-22 14:27:30 -07005# These files are disabled because they produce non-interesting flaky coverage
6# that is not a function of syscall inputs. E.g. involuntary context switches.
7KCOV_INSTRUMENT := n
8
Peter Zijlstra391e43d2011-11-15 17:14:39 +01009ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y)
10# According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
11# needed for x86 only. Why this used to be enabled for all architectures is beyond
12# me. I suspect most platforms don't need this, but until we know that for sure
13# I turn this off for IA-64 only. Andreas Schwab says it's also needed on m68k
14# to get a correct value for the wait-channel (WCHAN in ps). --davidm
15CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer
16endif
17
Peter Zijlstra3289bdb2015-04-14 13:19:42 +020018obj-y += core.o loadavg.o clock.o cputime.o
Patrick Bellasi2178e842016-07-22 11:35:59 +010019obj-y += idle_task.o fair.o rt.o deadline.o stop_task.o
Peter Zijlstra (Intel)13b35682016-02-19 09:46:37 +010020obj-y += wait.o swait.o completion.o idle.o
Patrick Bellasi2178e842016-07-22 11:35:59 +010021obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o energy.o
Srivatsa Vaddagiri26c21542016-05-31 09:08:38 -070022obj-$(CONFIG_SCHED_WALT) += walt.o
Peter Zijlstra391e43d2011-11-15 17:14:39 +010023obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o
24obj-$(CONFIG_SCHEDSTATS) += stats.o
25obj-$(CONFIG_SCHED_DEBUG) += debug.o
Patrick Bellasi69fa4c72015-06-22 18:11:44 +010026obj-$(CONFIG_SCHED_TUNE) += tune.o
Li Zefan2e76c242013-03-29 14:36:31 +080027obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o
Rafael J. Wysockiadaf9fc2016-03-10 20:44:47 +010028obj-$(CONFIG_CPU_FREQ) += cpufreq.o
Michael Turquette3b6188e2015-06-30 12:45:48 +010029obj-$(CONFIG_CPU_FREQ_GOV_SCHED) += cpufreq_sched.o