aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power/main.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-01-23 16:03:29 -0500
committerRafael J. Wysocki <rjw@sisk.pl>2010-02-26 14:39:09 -0500
commit8cc6b39ff36b4bbce2d7471da088df122b0e9033 (patch)
treee4abc6059ecf560f8fb363226a35fb981b0f0313 /drivers/base/power/main.c
parent971cb7fba0c84dd74c39020f4596b08398f58199 (diff)
PM: Add parent information to timing messages
Add parent information to the messages printed by the suspend/resume core when initcall_debug is set. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r--drivers/base/power/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index a5142bddef41..6ca5cdf63849 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -271,8 +271,9 @@ static int pm_noirq_op(struct device *dev,
271 ktime_t calltime, delta, rettime; 271 ktime_t calltime, delta, rettime;
272 272
273 if (initcall_debug) { 273 if (initcall_debug) {
274 pr_info("calling %s_i+ @ %i\n", 274 pr_info("calling %s+ @ %i, parent: %s\n",
275 dev_name(dev), task_pid_nr(current)); 275 dev_name(dev), task_pid_nr(current),
276 dev->parent ? dev_name(dev->parent) : "none");
276 calltime = ktime_get(); 277 calltime = ktime_get();
277 } 278 }
278 279