[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190801061941.GB4338@kroah.com>
Date: Thu, 1 Aug 2019 08:19:41 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Kalesh Singh <kaleshsingh@...gle.com>
Cc: rjw@...ysocki.net, trong@...gle.com, trong@...roid.com,
sspatil@...gle.com, hridya@...gle.com, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH v2] PM/sleep: Expose suspend stats in sysfs
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 <kaleshsingh@...gle.com>
> ---
> 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@...uxfoundation.org>
Powered by blists - more mailing lists