summaryrefslogtreecommitdiff
path: root/kernel/trace/Makefile
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2011-09-27 22:54:41 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-09-27 22:54:41 +0200
commitc3dc2f14622a06488f11452b6efd1e02c5a8548b (patch)
treed1fc5bc15c8fc593457fffd9e90e66498c14e196 /kernel/trace/Makefile
parent53b615ccca567ada1931eb04ad0614ac150c14a3 (diff)
PM / Runtime: Replace dev_dbg() with trace_rpm_*()
This patch replaces dev_dbg with trace_rpm_* inside the three important functions: rpm_idle rpm_suspend rpm_resume Trace points have the below advantages compared with dev_dbg: - trace points include much runtime information(such as running cpu, current task, ...) - most of linux distributions may disable "verbose debug" driver debug compile switch, so it is very difficult to report/debug runtime pm related problems from distribution users without this kind of debug information. - for upstream kernel users, enableing the debug switch will produce many useless "rpm_resume" output, and it is very noise. - dev_dbg inside rpm_suspend/rpm_resume may have some effects on runtime pm behaviour of console devicer Signed-off-by: Ming Lei <ming.lei@canonical.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/trace/Makefile')
0 files changed, 0 insertions, 0 deletions