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 /kernel/trace/trace_export.c | |
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 'kernel/trace/trace_export.c')
-rw-r--r-- | kernel/trace/trace_export.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace_export.c b/kernel/trace/trace_export.c index 7162ab49d05d..e62bc10f8103 100644 --- a/kernel/trace/trace_export.c +++ b/kernel/trace/trace_export.c | |||
@@ -26,8 +26,8 @@ | |||
26 | return 0; | 26 | return 0; |
27 | 27 | ||
28 | 28 | ||
29 | #undef TPRAWFMT | 29 | #undef TP_RAW_FMT |
30 | #define TPRAWFMT(args...) args | 30 | #define TP_RAW_FMT(args...) args |
31 | 31 | ||
32 | #undef TRACE_EVENT_FORMAT | 32 | #undef TRACE_EVENT_FORMAT |
33 | #define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \ | 33 | #define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \ |
@@ -57,8 +57,8 @@ ftrace_format_##call(struct trace_seq *s) \ | |||
57 | #define TRACE_FIELD(type, item, assign)\ | 57 | #define TRACE_FIELD(type, item, assign)\ |
58 | entry->item = assign; | 58 | entry->item = assign; |
59 | 59 | ||
60 | #undef TPCMD | 60 | #undef TP_CMD |
61 | #define TPCMD(cmd...) cmd | 61 | #define TP_CMD(cmd...) cmd |
62 | 62 | ||
63 | #undef TRACE_ENTRY | 63 | #undef TRACE_ENTRY |
64 | #define TRACE_ENTRY entry | 64 | #define TRACE_ENTRY entry |