Peter Zijlstra | 391e43d | 2011-11-15 17:14:39 +0100 | [diff] [blame] | 1 | ifdef CONFIG_FUNCTION_TRACER |
Heiko Carstens | c0a80c0 | 2015-01-09 13:06:33 +0100 | [diff] [blame] | 2 | CFLAGS_REMOVE_clock.o = $(CC_FLAGS_FTRACE) |
Peter Zijlstra | 391e43d | 2011-11-15 17:14:39 +0100 | [diff] [blame] | 3 | endif |
| 4 | |
Dmitry Vyukov | 5c9a875 | 2016-03-22 14:27:30 -0700 | [diff] [blame] | 5 | # 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. |
| 7 | KCOV_INSTRUMENT := n |
| 8 | |
Peter Zijlstra | 391e43d | 2011-11-15 17:14:39 +0100 | [diff] [blame] | 9 | ifneq ($(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 |
| 15 | CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer |
| 16 | endif |
| 17 | |
Peter Zijlstra | 3289bdb | 2015-04-14 13:19:42 +0200 | [diff] [blame] | 18 | obj-y += core.o loadavg.o clock.o cputime.o |
Patrick Bellasi | 2178e84 | 2016-07-22 11:35:59 +0100 | [diff] [blame] | 19 | obj-y += idle_task.o fair.o rt.o deadline.o stop_task.o |
Peter Zijlstra (Intel) | 13b3568 | 2016-02-19 09:46:37 +0100 | [diff] [blame] | 20 | obj-y += wait.o swait.o completion.o idle.o |
Patrick Bellasi | 2178e84 | 2016-07-22 11:35:59 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o energy.o |
Srivatsa Vaddagiri | 26c2154 | 2016-05-31 09:08:38 -0700 | [diff] [blame^] | 22 | obj-$(CONFIG_SCHED_WALT) += walt.o |
Peter Zijlstra | 391e43d | 2011-11-15 17:14:39 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o |
| 24 | obj-$(CONFIG_SCHEDSTATS) += stats.o |
| 25 | obj-$(CONFIG_SCHED_DEBUG) += debug.o |
Patrick Bellasi | 69fa4c7 | 2015-06-22 18:11:44 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_SCHED_TUNE) += tune.o |
Li Zefan | 2e76c24 | 2013-03-29 14:36:31 +0800 | [diff] [blame] | 27 | obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o |
Rafael J. Wysocki | adaf9fc | 2016-03-10 20:44:47 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_CPU_FREQ_GOV_SCHED) += cpufreq_sched.o |