diff options
author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2021-10-13 08:38:21 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-17 01:23:30 +0200 |
commit | 1d7724690344a264f8a567c9214aa65456d7566d (patch) | |
tree | b763440a0587feb728bdcf1fc8314de591c6f93b /fs/mount.h | |
parent | dt-bindings: Introduce QCOM Sleep stats bindings (diff) | |
download | linux-1d7724690344a264f8a567c9214aa65456d7566d.tar.xz linux-1d7724690344a264f8a567c9214aa65456d7566d.zip |
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 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions