Fix: support compile units including 'sys/sdt.h' without defining SDT_USE_VARIADIC
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 26 Jun 2020 19:44:20 +0000 (15:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Jun 2020 12:50:44 +0000 (08:50 -0400)
commitf1e966740a17de362569162ae15468872d2d6034
treeb767af27b7ef52384bf0f4c2c8928f58e3f91b89
parentee089ab24d2d0e1c0ba22f58542906d3a5914df1
Fix: support compile units including 'sys/sdt.h' without defining SDT_USE_VARIADIC

Instead of using SDT_USE_VARIADIC from 'sys/sdt.h', use our own namespaced
macros since the instrumented application might already have included
'sys/sdt.h' without variadic support.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Idfece1a65a5296a90d33370bc8d73ea554c14b0f
include/lttng/tracepoint.h
This page took 0.026199 seconds and 4 git commands to generate.