Skip to content

tracing: cleanup trace event macro

Wei Yang lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tracing: not necessary to undefine DEFINE_EVENT againinclude/trace/trace_events.h+0 -60 replies
2/4tracing: not necessary re-define DEFINE_EVENT_PRINTinclude/trace/trace_events.h+0 -40 replies
3/4tracing: define DEFINE_EVENT_PRINT not related to DEFINE_EVENTinclude/trace/trace_events.h+2 -40 replies
4/4tracing: not necessary to define DEFINE_EVENT_PRINT to be empty againinclude/trace/trace_events.h+0 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] tracing: cleanup trace event macro

TRACE_EVENT definition is some kind of magic. We define/un-define some elements to implement it.

During the code reading, I found there are some redundant definition of the macro. Let's reform and remove some of them.

Wei Yang (4):
tracing: not necessary to undefine DEFINE_EVENT again
tracing: not necessary re-define DEFINE_EVENT_PRINT
tracing: define DEFINE_EVENT_PRINT not related to DEFINE_EVENT
tracing: not necessary to define DEFINE_EVENT_PRINT to be empty again

 include/trace/trace_events.h | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)
Signature · 1 line
2.20.1 (Apple Git-117)