Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162972
b: refs/heads/master
c: 20a58a7
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Steven Rostedt committed Sep 14, 2009
1 parent f4e4cb2 commit ab8bb30
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05ffa2d02066c2cb169c02d5417308ee8ecab638
refs/heads/master: 20a58a77231c5f5f61470932503b889303e8d4f3
9 changes: 0 additions & 9 deletions trunk/kernel/trace/trace_entries.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
26 changes: 0 additions & 26 deletions trunk/kernel/trace/trace_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand Down

0 comments on commit ab8bb30

Please sign in to comment.