diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-09-14 15:55:18 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-14 11:43:24 -0400 |
commit | 20a58a77231c5f5f61470932503b889303e8d4f3 (patch) | |
tree | f9c3b0b6071dce526c63bb0c38f68a0865a62cb8 /kernel/trace/trace_export.c | |
parent | 05ffa2d02066c2cb169c02d5417308ee8ecab638 (diff) | |
download | linux-20a58a77231c5f5f61470932503b889303e8d4f3.tar.bz2 |
tracing: remove some unused macros
- remove FTRACE_ENTRY_STRUCT_ONLY()
- remove TRACE_XXX() macros
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4AADF6E6.3080606@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_export.c')
-rw-r--r-- | kernel/trace/trace_export.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/kernel/trace/trace_export.c b/kernel/trace/trace_export.c index 2435d55947e6..9753fcc61bc5 100644 --- a/kernel/trace/trace_export.c +++ b/kernel/trace/trace_export.c @@ -209,32 +209,6 @@ ftrace_define_fields_##name(struct ftrace_event_call *event_call) \ #undef __dynamic_array #define __dynamic_array(type, item) - -#undef TRACE_ZERO_CHAR -#define TRACE_ZERO_CHAR(arg) - -#undef TRACE_FIELD -#define TRACE_FIELD(type, item, assign)\ - entry->item = assign; - -#undef TRACE_FIELD -#define TRACE_FIELD(type, item, assign)\ - entry->item = assign; - -#undef TRACE_FIELD_SIGN -#define TRACE_FIELD_SIGN(type, item, assign, is_signed) \ - TRACE_FIELD(type, item, assign) - -#undef TP_CMD -#define TP_CMD(cmd...) cmd - -#undef TRACE_ENTRY -#define TRACE_ENTRY entry - -#undef TRACE_FIELD_SPECIAL -#define TRACE_FIELD_SPECIAL(type_item, item, len, cmd) \ - cmd; - #undef FTRACE_ENTRY #define FTRACE_ENTRY(call, struct_name, type, tstruct, print) \ static int ftrace_raw_init_event_##call(void); \ |