summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/Makefile
diff options
context:
space:
mode:
authorMahesh Sivasubramanian <msivasub@codeaurora.org>2021-10-13 09:38:21 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-10-17 02:23:30 +0300
commit1d7724690344a264f8a567c9214aa65456d7566d (patch)
treeb763440a0587feb728bdcf1fc8314de591c6f93b /drivers/soc/qcom/Makefile
parentac3f1ee77cbed7f66932a10d091f653ca1ef8143 (diff)
downloadlinux-1d7724690344a264f8a567c9214aa65456d7566d.tar.xz
soc: qcom: Add Sleep stats driver
Let's add a driver to read the stats from remote processor and export to debugfs. The driver creates "qcom_sleep_stats" directory in debugfs and adds files for various low power mode available. Below is sample output with command cat /sys/kernel/debug/qcom_sleep_stats/ddr count = 0 Last Entered At = 0 Last Exited At = 0 Accumulated Duration = 0 Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org> Signed-off-by: Lina Iyer <ilina@codeaurora.org> [mkshah: add subsystem sleep stats, create one file for each stat] Signed-off-by: Maulik Shah <mkshah@codeaurora.org> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/1634107104-22197-3-git-send-email-mkshah@codeaurora.org
Diffstat (limited to 'drivers/soc/qcom/Makefile')
-rw-r--r--drivers/soc/qcom/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
index 24514c722832..70d5de69fd7b 100644
--- a/drivers/soc/qcom/Makefile
+++ b/drivers/soc/qcom/Makefile
@@ -21,6 +21,7 @@ obj-$(CONFIG_QCOM_SMP2P) += smp2p.o
obj-$(CONFIG_QCOM_SMSM) += smsm.o
obj-$(CONFIG_QCOM_SOCINFO) += socinfo.o
obj-$(CONFIG_QCOM_SPM) += spm.o
+obj-$(CONFIG_QCOM_STATS) += qcom_stats.o
obj-$(CONFIG_QCOM_WCNSS_CTRL) += wcnss_ctrl.o
obj-$(CONFIG_QCOM_APR) += apr.o
obj-$(CONFIG_QCOM_LLCC) += llcc-qcom.o