aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorManoj Iyer <manoj.iyer@canonical.com>2009-12-18 01:57:47 +0100
committerLeann Ogasawara <leann.ogasawara@canonical.com>2010-09-02 12:55:46 -0700
commit6850bf47df309f03221327dbfb3fcf98d59ca163 (patch)
treefca3565c639e061851c761844b257bf1e14a1e2a /kernel
parentdf09014537b8ff18943e6f063f8e5ca11af79c84 (diff)
UBUNTU: SAUCE: PM report driver and device suspend/resume times.
Based on a patch from Rafael J. Wysocki. This patch prints suspend/resume information for each driver/device to dmesg. [apw@canonical.com: rejigged to split config updates.] Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index ca6066a6952..41201f95118 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -242,3 +242,11 @@ config PM_OPS
bool
depends on PM_SLEEP || PM_RUNTIME
default y
+
+config SR_REPORT_TIME_LIMIT
+ int "Default low threshold"
+ depends on PM
+ default 100
+ help
+ Print suspend/resume information for driver/device for time greater
+ then default msec, ie 100 msec.