Skip to content

Commit 8cc6b39

Browse files
committed
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>
1 parent 971cb7f commit 8cc6b39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/base/power/main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@ static int pm_noirq_op(struct device *dev,
271271
ktime_t calltime, delta, rettime;
272272

273273
if (initcall_debug) {
274-
pr_info("calling %s_i+ @ %i\n",
275-
dev_name(dev), task_pid_nr(current));
274+
pr_info("calling %s+ @ %i, parent: %s\n",
275+
dev_name(dev), task_pid_nr(current),
276+
dev->parent ? dev_name(dev->parent) : "none");
276277
calltime = ktime_get();
277278
}
278279

0 commit comments

Comments
 (0)