diff mbox

[LUCID,3/3] request-pull suspend/resume report

Message ID alpine.DEB.2.00.1002161349310.18301@hungry
State Accepted
Delegated to: Andy Whitcroft
Headers show

Commit Message

Manoj Iyer Feb. 16, 2010, 7:50 p.m. UTC
The following changes since commit 
4b876bd4ad82fb8866fcf8724514c80ebc158f1d:
   Andy Whitcroft (1):
         UBUNTU: ensure we build the source package contents when enabled

are available in the git repository at:


ssh://zinc.canonical.com/srv/kernel.ubuntu.com/git/manjo/ubuntu-lucid.git 
pmsrtime

Manoj Iyer (2):
       UBUNTU: SAUCE: PM report driver and device suspend/resume times.
       UBUNTU: [Config] added new config option CONFIG_SR_REPORT_TIME_LIMIT

Rafael J. Wysocki (1):
       PM: Measure device suspend and resume times

  debian.master/config/config.common.ubuntu |    1 +
  drivers/Kconfig                           |    2 ++
  drivers/base/power/Kconfig                |    6 ++++++
  drivers/base/power/main.c                 |   26 
++++++++++++++++++++++++++
  4 files changed, 35 insertions(+), 0 deletions(-)
  create mode 100644 drivers/base/power/Kconfig

From 22856a4a50068f7cd186f3eacceec81ca72a4d80 Mon Sep 17 00:00:00 2001
From: Manoj Iyer <manoj.iyer@canonical.com>
Date: Tue, 16 Feb 2010 13:41:35 -0600
Subject: [PATCH 3/3] UBUNTU: [Config] added new config option CONFIG_SR_REPORT_TIME_LIMIT

The new config option can be used to set the lower limit value for
which suspend/resume times will be printed. Default is set to 100msecs.

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
---
  debian.master/config/config.common.ubuntu |    1 +
  drivers/Kconfig                           |    2 ++
  drivers/base/power/Kconfig                |    6 ++++++
  3 files changed, 9 insertions(+), 0 deletions(-)
  create mode 100644 drivers/base/power/Kconfig
diff mbox

Patch

diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 94e6614..e598d6a 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -3711,6 +3711,7 @@  CONFIG_SPLIT_PTLOCK_CPUS=4
  CONFIG_SQUASHFS=m
  # CONFIG_SQUASHFS_EMBEDDED is not set
  CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
+CONFIG_SR_REPORT_TIME_LIMIT=100
  CONFIG_SSB=m
  # CONFIG_SSB_DEBUG is not set
  CONFIG_SSB_DRIVER_PCICORE=y
diff --git a/drivers/Kconfig b/drivers/Kconfig
index 48bbdbe..1d97691 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -4,6 +4,8 @@  menu "Device Drivers"

  source "drivers/base/Kconfig"

+source "drivers/base/power/Kconfig"
+
  source "drivers/connector/Kconfig"

  source "drivers/mtd/Kconfig"
diff --git a/drivers/base/power/Kconfig b/drivers/base/power/Kconfig
new file mode 100644
index 0000000..46d6ead
--- /dev/null
+++ b/drivers/base/power/Kconfig
@@ -0,0 +1,6 @@ 
+config SR_REPORT_TIME_LIMIT
+	int "Default low threshold"
+	default 100
+	help
+	  Print suspend/resume information for driver/device for time greater
+	  then default msec, ie 100 msec.