Re: [PATCH 0/3] tracing: introduce TRACE_EVENT_NONE and use it

2019-03-25 Thread Yafang Shao
On Tue, Mar 26, 2019 at 10:17 AM Steven Rostedt wrote: > > On Tue, 26 Mar 2019 09:40:04 +0800 > Yafang Shao wrote: > > > In this patchset, I introduce a new macro TRACE_EVENT_NONE(), which will > > define a tracepoint as a do-nothing inline function. > > #define TRACE_EVENT_NONE(name, proto

Re: [PATCH 0/3] tracing: introduce TRACE_EVENT_NONE and use it

2019-03-25 Thread Steven Rostedt
On Tue, 26 Mar 2019 09:40:04 +0800 Yafang Shao wrote: > In this patchset, I introduce a new macro TRACE_EVENT_NONE(), which will > define a tracepoint as a do-nothing inline function. > #define TRACE_EVENT_NONE(name, proto) \ > static inline void trace_##name

[PATCH 0/3] tracing: introduce TRACE_EVENT_NONE and use it

2019-03-25 Thread Yafang Shao
In this patchset, I introduce a new macro TRACE_EVENT_NONE(), which will define a tracepoint as a do-nothing inline function. #define TRACE_EVENT_NONE(name, proto) \ static inline void trace_##name(proto) \ { }