diff options
author | Mahesh Sivasubramanian <[email protected]> | 2021-10-13 12:08:21 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-10-16 18:23:30 -0500 |
commit | 1d7724690344a264f8a567c9214aa65456d7566d (patch) | |
tree | b763440a0587feb728bdcf1fc8314de591c6f93b /scripts/gdb/linux/utils.py | |
parent | ac3f1ee77cbed7f66932a10d091f653ca1ef8143 (diff) |
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 <[email protected]>
Signed-off-by: Lina Iyer <[email protected]>
[mkshah: add subsystem sleep stats, create one file for each stat]
Signed-off-by: Maulik Shah <[email protected]>
Tested-by: Shawn Guo <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions