Skip to content

Commit

Permalink
tracing: not necessary re-define DEFINE_EVENT_PRINT
Browse files Browse the repository at this point in the history
The definition of DEFINE_EVENT_PRINT is not changed after previous one,
so not necessary to re-define is as the same form.

Link: http://lkml.kernel.org/r/20200612092844.56107-3-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 e8cf9c8 commit b6f9eb8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/trace/trace_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,6 @@ static inline notrace int trace_event_get_offsets_##call( \
return __data_size; \
}

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

#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)

/*
Expand Down

0 comments on commit b6f9eb8

Please sign in to comment.