Messages in this thread | | | From | Wei Yang <> | Subject | [PATCH 0/4] tracing: cleanup trace event macro | Date | Fri, 12 Jun 2020 17:28:40 +0800 |
| |
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)
| |