PM / Runtime: Introduce trace points for tracing rpm_* functions
authorMing Lei <ming.lei@canonical.com>
Tue, 27 Sep 2011 20:53:27 +0000 (22:53 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 27 Sep 2011 20:53:27 +0000 (22:53 +0200)
commit53b615ccca567ada1931eb04ad0614ac150c14a3
treef09512d0dabaeff71b9ee66c26ca02cae2947873
parentad3c36a534bc7b945d7bffdda1c62e13bf93489a
PM / Runtime: Introduce trace points for tracing rpm_* functions

This patch introduces 3 trace points to prepare for tracing
rpm_idle/rpm_suspend/rpm_resume functions, so we can use these
trace points to replace the current dev_dbg().

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>
include/trace/events/rpm.h [new file with mode: 0644]
kernel/trace/Makefile
kernel/trace/rpm-traces.c [new file with mode: 0644]