From: Rafael J. Wysocki Date: Sat, 23 Jan 2010 21:03:29 +0000 (+0100) Subject: PM: Add parent information to timing messages X-Git-Tag: v2.6.34-rc1~274^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cc6b39ff36b4bbce2d7471da088df122b0e9033;p=profile%2Fcommon%2Fkernel-common.git 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 --- diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index a5142bd..6ca5cdf 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, ktime_t calltime, delta, rettime; if (initcall_debug) { - pr_info("calling %s_i+ @ %i\n", - dev_name(dev), task_pid_nr(current)); + pr_info("calling %s+ @ %i, parent: %s\n", + dev_name(dev), task_pid_nr(current), + dev->parent ? dev_name(dev->parent) : "none"); calltime = ktime_get(); }