diff options
author | Sameer Nanda <snanda@chromium.org> | 2012-06-19 16:23:33 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-01 07:31:22 -0400 |
commit | 4b7760ba0dd3319f66886ab2335a0fbecdbc808a (patch) | |
tree | f619ead7186c286a5f8c786091af8c46de0decf3 /Documentation/ABI | |
parent | 443772d408a25af62498793f6f805ce3c559309a (diff) |
PM / Sleep: add knob for printing device resume times
Added a new knob called /sys/power/pm_print_times. Setting it to 1
enables printing of time taken by devices to suspend and resume.
Setting it to 0 disables this printing (unless overridden by
initcall_debug kernel command line option).
Signed-off-by: Sameer Nanda <snanda@chromium.org>
Acked-by: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-power | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power index 31725ffeeb3a..217772615d02 100644 --- a/Documentation/ABI/testing/sysfs-power +++ b/Documentation/ABI/testing/sysfs-power | |||
@@ -231,3 +231,16 @@ Description: | |||
231 | Reads from this file return a string consisting of the names of | 231 | Reads from this file return a string consisting of the names of |
232 | wakeup sources created with the help of /sys/power/wake_lock | 232 | wakeup sources created with the help of /sys/power/wake_lock |
233 | that are inactive at the moment, separated with spaces. | 233 | that are inactive at the moment, separated with spaces. |
234 | |||
235 | What: /sys/power/pm_print_times | ||
236 | Date: May 2012 | ||
237 | Contact: Sameer Nanda <snanda@chromium.org> | ||
238 | Description: | ||
239 | The /sys/power/pm_print_times file allows user space to | ||
240 | control whether the time taken by devices to suspend and | ||
241 | resume is printed. These prints are useful for hunting down | ||
242 | devices that take too long to suspend or resume. | ||
243 | |||
244 | Writing a "1" enables this printing while writing a "0" | ||
245 | disables it. The default value is "0". Reading from this file | ||
246 | will display the current value. | ||