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

2019-08-26 Thread Rafael J. Wysocki
On Wednesday, July 31, 2019 11:29:33 PM CEST Kalesh Singh wrote: > 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 > --- > Changes in v2:

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

2019-08-05 Thread Tri Vo
On Thu, Aug 1, 2019 at 9:34 AM Kalesh Singh wrote: > > On Wed, Jul 31, 2019 at 11:19 PM Greg KH wrote: > > > > On Wed, Jul 31, 2019 at 02:29:33PM -0700, Kalesh Singh wrote: > > > Userspace can get suspend stats from the suspend stats debugfs node. > > > Since debugfs doesn't have stable ABI,

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

2019-08-01 Thread Kalesh Singh
On Wed, Jul 31, 2019 at 11:19 PM Greg KH wrote: > > On Wed, Jul 31, 2019 at 02:29:33PM -0700, Kalesh Singh wrote: > > 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. >

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

2019-08-01 Thread Greg KH
On Wed, Jul 31, 2019 at 02:29:33PM -0700, Kalesh Singh wrote: > 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 > --- > Changes in v2: >

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

2019-07-31 Thread Kalesh Singh
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 --- Changes in v2: - Added separate show functions for last_failed_* stats, as per Greg -