Re: [PATCH v2] PM / wakeup: show wakeup sources stats in sysfs

2019-07-07 Thread Tri Vo
On Thu, Jul 4, 2019 at 7:31 PM Rafael J. Wysocki wrote: > > On Friday, June 28, 2019 5:10:40 PM CEST Greg KH wrote: > > On Thu, Jun 27, 2019 at 03:53:35PM -0700, Tri Vo wrote: > > > Userspace can use wakeup_sources debugfs node to plot history of suspend > > > blocking wakeup sources over device's

Re: [PATCH v2] PM / wakeup: show wakeup sources stats in sysfs

2019-07-04 Thread Rafael J. Wysocki
On Friday, June 28, 2019 5:10:40 PM CEST Greg KH wrote: > On Thu, Jun 27, 2019 at 03:53:35PM -0700, Tri Vo wrote: > > Userspace can use wakeup_sources debugfs node to plot history of suspend > > blocking wakeup sources over device's boot cycle. This information can > > then be used (1) for power-sp

Re: [PATCH v2] PM / wakeup: show wakeup sources stats in sysfs

2019-06-28 Thread Greg KH
On Thu, Jun 27, 2019 at 03:53:35PM -0700, Tri Vo wrote: > Userspace can use wakeup_sources debugfs node to plot history of suspend > blocking wakeup sources over device's boot cycle. This information can > then be used (1) for power-specific bug reporting and (2) towards > attributing battery consu

[PATCH v2] PM / wakeup: show wakeup sources stats in sysfs

2019-06-27 Thread Tri Vo
Userspace can use wakeup_sources debugfs node to plot history of suspend blocking wakeup sources over device's boot cycle. This information can then be used (1) for power-specific bug reporting and (2) towards attributing battery consumption to specific processes over a period of time. However, de