]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
gcov: enable gcov for many power related files
authorMatt Longnecker <mlongnecker@nvidia.com>
Wed, 17 Aug 2016 22:24:14 +0000 (15:24 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 19 Aug 2016 16:04:28 +0000 (09:04 -0700)
Change-Id: Ibbbd1ba5c1c6752ce6786c94f9e5bf95be29e262
Signed-off-by: Matt Longnecker <mlongnecker@nvidia.com>
Reviewed-on: http://git-master/r/1203977

arch/arm/mach-tegra/Makefile
drivers/clk/tegra/Makefile
drivers/cpufreq/Makefile
drivers/cpuidle/Makefile
drivers/firmware/tegra/Makefile
drivers/misc/Makefile
drivers/thermal/Makefile
kernel/sched/Makefile
kernel/time/Makefile

index fffad2426ee4bc0ea1689b0de9e760db41713a0f..731e47c0bc9f41d7797a3f7da08f2ce045378008 100644 (file)
@@ -1,3 +1,5 @@
+GCOV_PROFILE := y
+
 asflags-y                              += -march=armv7-a
 
 obj-y                                   += io.o
index 27edd5b67154233de9599992272d5c3d2198ce93..a64f83e1fcdda3cb71c68d93295249bdf1424aca 100644 (file)
@@ -1,3 +1,4 @@
+GCOV_PROFILE := y
 obj-y                                  += clk.o
 obj-y                                  += clk-audio-sync.o
 obj-y                                  += clk-dfll.o
index 0d09c7ae7821ac3b2d3b84a4eb2135b8c29524c5..d97b3868987fbe0e01ed7c943bb081f14a018949 100644 (file)
@@ -1,3 +1,5 @@
+GCOV_PROFILE := y
+
 # CPUfreq core
 obj-$(CONFIG_CPU_FREQ)                 += cpufreq.o freq_table.o
 
index 3ba81b1dffad87db0574f98b7cc4b4a59758891c..88111c378612620a5a11827acd970bc8ddbe3d86 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for cpuidle.
 #
 
+GCOV_PROFILE := y
+
 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
 obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
 obj-$(CONFIG_DT_IDLE_STATES)             += dt_idle_states.o
index 4e51aad52bfd83c1b019e0c7d1434b7e781e8968..23d51d9f546b97600997c4a791501a38a51ecba6 100644 (file)
@@ -5,3 +5,4 @@ obj-$(CONFIG_DEBUG_FS)                  += fwdebug.o
 obj-y                                  += bpmp.o
 obj-y                                  += mail.o
 obj-y                                  += mailman.o
+GCOV_PORFILE := y
index ca87f8b06a8dc4a888ab1a781baab51390db72b0..48452e90ba0c768b2f45b1c691b8f79d1b5d3459 100644 (file)
@@ -76,3 +76,5 @@ obj-$(CONFIG_NVS_DFSH)                += nvs-dfsh/
 obj-$(CONFIG_SAF775x_HWDEP)    += saf775x/
 obj-$(CONFIG_SAF36XX_HWDEP) += saf775x/
 obj-$(CONFIG_TEGRA_PROFILER)   += tegra-profiler/
+
+GCOV_PROFILE_cpuload.o := y
index bd48d5a0ff6e115284e32093a9eb6e1ee77389e9..2c633acde65cabfc1b6c65d9a6dd16df42213a16 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for sensor chip drivers.
 #
 
+GCOV_PROFILE := y
+
 obj-$(CONFIG_THERMAL)          += thermal_sys.o
 thermal_sys-y                  += thermal_core.o
 
index a047f0571a5d9b245213f5d3d0fe4fb17a88b8bb..43fb319c92f7bbabe87d6ac14c4ea5dd2c3bc8c0 100644 (file)
@@ -1,3 +1,5 @@
+GCOV_PROFILE := y
+
 ifdef CONFIG_FUNCTION_TRACER
 CFLAGS_REMOVE_clock.o = $(CC_FLAGS_FTRACE)
 endif
index 49eca0beed32ebc2972cdd6ccdb1b2b65bbd769f..be2b566c3d674df2e21a7febef65ecfec55f2f5a 100644 (file)
@@ -1,3 +1,5 @@
+GCOV_PROFILE := y
+
 obj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o
 obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
 obj-y += timeconv.o timecounter.o posix-clock.o alarmtimer.o