android_kernel_xiaomi_sm7250/kernel/power
Kalesh Singh d112bff3b7 BACKPORT: PM/sleep: Expose suspend stats in sysfs
Userspace can get suspend stats from the suspend stats debugfs node.
Since debugfs doesn't have stable ABI, expose suspend stats in
sysfs under /sys/power/suspend_stats.

Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 2c8db5bef9fb442a5a0d2fee28aed20100362ce3)
[ fixed conflicts in Documentation ]
Bug: 129087298
Change-Id: Ia8f0d8551ae693cb5f3e1abc609fb9bbfeb695f5
Signed-off-by: Tri Vo <trong@google.com>
2019-10-11 14:04:42 -07:00
..
autosleep.c UPSTREAM: PM / wakeup: Show wakeup sources stats in sysfs 2019-10-11 14:04:42 -07:00
console.c
energy_model.c
hibernate.c
Kconfig
main.c BACKPORT: PM/sleep: Expose suspend stats in sysfs 2019-10-11 14:04:42 -07:00
Makefile
power.h
poweroff.c
process.c
qos.c
snapshot.c
suspend_test.c
suspend.c ANDROID: Log which device failed to suspend in dpm_suspend_start() 2019-09-18 17:47:33 +00:00
swap.c
user.c
wakelock.c UPSTREAM: PM / wakeup: Show wakeup sources stats in sysfs 2019-10-11 14:04:42 -07:00
wakeup_reason.c