Thread (7 messages) 7 messages, 4 authors, 2019-08-26

Re: [PATCH v2] PM/sleep: Expose suspend stats in sysfs

From: Kalesh Singh <hidden>
Date: 2019-08-01 16:34:35
Also in: lkml

On Wed, Jul 31, 2019 at 11:19 PM Greg KH [off-list ref] wrote:
On Wed, Jul 31, 2019 at 02:29:33PM -0700, Kalesh Singh wrote:
quoted
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 <redacted>
---
Changes in v2:
  - Added separate show functions for last_failed_* stats, as per Greg
  - Updated ABI Documentation
This is nice, I didn't even know some of these were in the debugfs
entries, so this should be more helpful to people.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thanks for the review Greg :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help