summaryrefslogtreecommitdiff
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-08-20 15:58:34 -0700
commit19d61f5aea848892f36af8c38e21f4c16ab1a45e (patch)
treea5cb8b2be6c4c3ff80a2f0a02ee508150f64c00b /kernel
parent73d144ccc2af9088263fa0e696bac71adaecc318 (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 ca6066a6952e..41201f95118e 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.