[lttng-dev] Using tracepoint call inside a macro
franck.balazot at oneaccess-net.com
Tue Apr 21 05:21:56 EDT 2015
I wonder if it is possible to define a macro containing a tracepoint
(which is also a macro) call.
As a very simple example, using :
#define TRACE(subsystem, tracepoint, params...) tracepoint(subsystem,
TRACE(provider, tp1, arg);
is not compiling (tracepoint macro seems not to be expanded), whereas
tracepoint(provider, tp1, arg);
Any idea ?
More information about the lttng-dev