commit | 2c8db5bef9fb442a5a0d2fee28aed20100362ce3 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Wed Jul 31 14:29:33 2019 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Aug 05 12:03:18 2019 +0200 |
tree | fd4fe9b730b7cc0f122accd26ee78cc0c62c04d7 | |
parent | e21a712a9685488f5ce80495b37b9fdbe96c230d [diff] |
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>