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
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
energy_model.c
FROMGIT: PM / EM: Expose the Energy Model in debugfs
2019-01-28 17:05:00 +00:00
hibernate.c
x86/power: Fix 'nosmt' vs hibernation triple fault during resume
2019-06-11 12:20:52 +02:00
Kconfig
FROMLIST: PM: Introduce an Energy Model management framework
2018-10-26 11:47:11 +01:00
main.c
BACKPORT: PM/sleep: Expose suspend stats in sysfs
2019-10-11 14:04:42 -07:00
Makefile
ANDROID: power: wakeup_reason: add an API to log wakeup reasons
2018-12-05 09:48:13 -08:00
power.h
x86/power: Fix swsusp_arch_resume prototype
2018-02-02 23:33:50 +01:00
poweroff.c
power/sysrq: fix inconstistent help message of sysrq key
2013-04-30 17:04:10 -07:00
process.c
ANDROID: power: wakeup_reason: add an API to log wakeup reasons
2018-12-05 09:48:13 -08:00
qos.c
PM / QoS: Drop redundant declaration of pm_qos_get_value()
2018-05-28 23:21:41 +02:00
snapshot.c
PM: hibernate: Do not subtract NR_FILE_MAPPED in minimum_image_size()
2018-01-05 14:46:25 +01:00
suspend.c
ANDROID: Log which device failed to suspend in dpm_suspend_start()
2019-09-18 17:47:33 +00:00
suspend_test.c
PM / s2idle: Rename PM_SUSPEND_FREEZE to PM_SUSPEND_TO_IDLE
2017-08-11 01:29:55 +02:00
swap.c
PM / hibernate: cast PAGE_SIZE to int when comparing with error code
2018-07-02 11:48:30 +02:00
user.c
PM / reboot: Eliminate race between reboot and suspend
2018-08-06 12:35:20 +02:00
wakelock.c
UPSTREAM: PM / wakeup: Show wakeup sources stats in sysfs
2019-10-11 14:04:42 -07:00
wakeup_reason.c
ANDROID: power: wakeup_reason: add an API to log wakeup reasons
2018-12-05 09:48:13 -08:00