lkml.org 
[lkml]   [2020]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] tracing: cleanup trace event macro
Date
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(-)

--
2.20.1 (Apple Git-117)

\
 
 \ /
  Last update: 2020-06-12 11:29    [W:0.060 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site