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:49:26 +0000 (08:49 -0400)
commit23b75ae5efa941fbd8ab666ae3dcf161789dfde5
treedc4beb167427cdfe162dd54033be247885a5b1e9
parent4526ba6908b141a77d711bb38d2971f640ce5a7e
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.024726 seconds and 5 git commands to generate.