Skip to content

Commit 61df16f

Browse files
weiyang-linuxrostedt
authored andcommitted
tracing: define DEFINE_EVENT_PRINT not related to DEFINE_EVENT
Current definition define DEFINE_EVENT_PRINT to be DEFINE_EVENT. Actually, at this point DEFINE_EVENT is already an empty macro. Let's cut the relationship between DEFINE_EVENT_PRINT and DEFINE_EVENT. 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 b6f9eb8 commit 61df16f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/trace/trace_events.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ TRACE_MAKE_SYSTEM_STR();
210210
#define DEFINE_EVENT(template, name, proto, args)
211211

212212
#undef DEFINE_EVENT_PRINT
213-
#define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
214-
DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
213+
#define DEFINE_EVENT_PRINT(template, name, proto, args, print)
215214

216215
#undef TRACE_EVENT_FLAGS
217216
#define TRACE_EVENT_FLAGS(event, flag)
@@ -444,8 +443,7 @@ static struct trace_event_fields trace_event_fields_##call[] = { \
444443
{} };
445444

446445
#undef DEFINE_EVENT_PRINT
447-
#define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
448-
DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
446+
#define DEFINE_EVENT_PRINT(template, name, proto, args, print)
449447

450448
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
451449

0 commit comments

Comments
 (0)