aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/power.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-09 15:47:18 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 00:35:04 -0400
commit2939b0469d04ba9ac791aca9a81625d7eb50662b (patch)
tree573f10c39f34c670fdc6832415642738c5afb3f9 /include/trace/power.h
parenttracing: typecast sizeof and offsetof to unsigned int (diff)
downloadlinux-dev-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.xz
linux-dev-2939b0469d04ba9ac791aca9a81625d7eb50662b.zip
tracing: replace TP<var> with TP_<var>
Impact: clean up The macros TPPROTO, TPARGS, TPFMT, TPRAWFMT, and TPCMD all look a bit ugly. This patch adds an underscore to their names. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/trace/power.h')
-rw-r--r--include/trace/power.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/trace/power.h b/include/trace/power.h
index 38aca537e497..ef204666e983 100644
--- a/include/trace/power.h
+++ b/include/trace/power.h
@@ -18,15 +18,15 @@ struct power_trace {
};
DECLARE_TRACE(power_start,
- TPPROTO(struct power_trace *it, unsigned int type, unsigned int state),
- TPARGS(it, type, state));
+ TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state),
+ TP_ARGS(it, type, state));
DECLARE_TRACE(power_mark,
- TPPROTO(struct power_trace *it, unsigned int type, unsigned int state),
- TPARGS(it, type, state));
+ TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state),
+ TP_ARGS(it, type, state));
DECLARE_TRACE(power_end,
- TPPROTO(struct power_trace *it),
- TPARGS(it));
+ TP_PROTO(struct power_trace *it),
+ TP_ARGS(it));
#endif /* _TRACE_POWER_H */