Skip to content

Commit e6bc5b3

Browse files
weiyang-linuxrostedt
authored andcommitted
tracing: not necessary to define DEFINE_EVENT_PRINT to be empty again
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/[email protected] Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 61df16f commit e6bc5b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/trace/trace_events.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,9 +709,6 @@ static inline void ftrace_test_probe_##call(void) \
709709
check_trace_callback_type_##call(trace_event_raw_event_##template); \
710710
}
711711

712-
#undef DEFINE_EVENT_PRINT
713-
#define DEFINE_EVENT_PRINT(template, name, proto, args, print)
714-
715712
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
716713

717714
#undef __entry

0 commit comments

Comments
 (0)