summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
authorSrikanth Nori <srikanthn@nvidia.com>2012-07-02 17:35:38 -0700
committerSimone Willett <swillett@nvidia.com>2012-08-16 13:37:52 -0700
commit43ecb3724fa90222dd6cd502aee422364b0c65cb (patch)
tree39a1c589e7ec31c0124f1dbab151ae968802a91c /arch/arm/mach-tegra/Makefile
parentbe3e9def273181d1b44c1891de8602faebd719a8 (diff)
ARM: tegra: clocks: Frequency stats for SCLK/CBUS
This adds a frequency histogram of the frequencies that SCLK and CBUS clocks go to over time. Stats are presented in the debugfs at /d/clock_stats/cbus and /d/clock_stats/sclk only if debugfs is enabled in config Change-Id: Icae83329612958d8ed4318b2e10c487683d9d734 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/118380 Reviewed-by: Wen Yi <wyi@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r--arch/arm/mach-tegra/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index cf51359c32e7..cb84614919bd 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -19,6 +19,7 @@ obj-y += tegra2_clocks.o
obj-y += timer-t2.o
else
obj-y += tegra3_clocks.o
+obj-$(CONFIG_DEBUG_FS) += clocks_stats.o
obj-y += timer-t3.o
endif
obj-y += pinmux.o