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>
This commit is contained in:
parent
971cb7fba0
commit
8cc6b39ff3
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue