projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
971cb7f
)
PM: Add parent information to timing messages
author
Rafael J. Wysocki
<rjw@sisk.pl>
Sat, 23 Jan 2010 21:03:29 +0000
(22:03 +0100)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Fri, 26 Feb 2010 19:39:09 +0000
(20:39 +0100)
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>
drivers/base/power/main.c
patch
|
blob
|
history
diff --git
a/drivers/base/power/main.c
b/drivers/base/power/main.c
index a5142bddef412e079c3083dec37ffeb82c163cd5..6ca5cdf638497e3bfc6a9a9e8974e5f004efe6aa 100644
(file)
--- 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();
}