tracing: remove some unused macros
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 14 Sep 2009 07:55:18 +0000 (15:55 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 14 Sep 2009 15:43:24 +0000 (11:43 -0400)
- 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>
kernel/trace/trace_entries.h
kernel/trace/trace_export.c

index 0c10095..a431748 100644 (file)
@@ -116,15 +116,6 @@ FTRACE_ENTRY(funcgraph_exit, ftrace_graph_ret_entry,
        __field(        unsigned char,  next_state      )       \
        __field(        unsigned int,   next_cpu        )
 
-#if 0
-FTRACE_ENTRY_STRUCT_ONLY(ctx_switch_entry,
-
-       F_STRUCT(
-               FTRACE_CTX_FIELDS
-       )
-);
-#endif
-
 FTRACE_ENTRY(context_switch, ctx_switch_entry,
 
        TRACE_CTX,
index 2435d55..9753fcc 100644 (file)
@@ -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);                         \