Skip to content

Commit

Permalink
tracing: not necessary to define DEFINE_EVENT_PRINT to be empty again
Browse files Browse the repository at this point in the history
After the previous cleanup, DEFINE_EVENT_PRINT's definition has no
relationship with DEFINE_EVENT. So After we re-define DEFINE_EVENT, it
is not necessary to define DEFINE_EVENT_PRINT to be empty again.

Link: http://lkml.kernel.org/r/20200612092844.56107-5-richard.weiyang@linux.alibaba.com

Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Wei Yang authored and Steven Rostedt (VMware) committed Jun 30, 2020
1 parent 61df16f commit e6bc5b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/trace/trace_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,6 @@ static inline void ftrace_test_probe_##call(void) \
check_trace_callback_type_##call(trace_event_raw_event_##template); \
}

#undef DEFINE_EVENT_PRINT
#define DEFINE_EVENT_PRINT(template, name, proto, args, print)

#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)

#undef __entry
Expand Down

0 comments on commit e6bc5b3

Please sign in to comment.