diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-09 15:47:18 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-10 00:35:04 -0400 |
commit | 2939b0469d04ba9ac791aca9a81625d7eb50662b (patch) | |
tree | 573f10c39f34c670fdc6832415642738c5afb3f9 /include/trace/power.h | |
parent | 156b5f172a64103bcb13b6d26288388b9019caa3 (diff) |
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.h | 12 |
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 { | |||
18 | }; | 18 | }; |
19 | 19 | ||
20 | DECLARE_TRACE(power_start, | 20 | DECLARE_TRACE(power_start, |
21 | TPPROTO(struct power_trace *it, unsigned int type, unsigned int state), | 21 | TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state), |
22 | TPARGS(it, type, state)); | 22 | TP_ARGS(it, type, state)); |
23 | 23 | ||
24 | DECLARE_TRACE(power_mark, | 24 | DECLARE_TRACE(power_mark, |
25 | TPPROTO(struct power_trace *it, unsigned int type, unsigned int state), | 25 | TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state), |
26 | TPARGS(it, type, state)); | 26 | TP_ARGS(it, type, state)); |
27 | 27 | ||
28 | DECLARE_TRACE(power_end, | 28 | DECLARE_TRACE(power_end, |
29 | TPPROTO(struct power_trace *it), | 29 | TP_PROTO(struct power_trace *it), |
30 | TPARGS(it)); | 30 | TP_ARGS(it)); |
31 | 31 | ||
32 | #endif /* _TRACE_POWER_H */ | 32 | #endif /* _TRACE_POWER_H */ |