Remove vtracelog and vtracef from v0 compat API
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Jun 2021 15:38:08 +0000 (11:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Jun 2021 16:47:16 +0000 (12:47 -0400)
vtracelog and vtracef were introduced between lttng-ust 2.12 and 2.13
(not released yet). They are replaced by lttng_ust_vtracelog and
lttng_ust_vtracef in the v1 API, newly introduced in lttng-ust 2.13.

Therefore, there is no need to expose a v0 compat API for the vtracelog
and vtracef macros which were never officially part of any release
other than the 2.13 release candidates.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I96cfed7d6c211d24017bfd33cd8d8c5a7087d78f

include/lttng/tracef.h
include/lttng/tracelog.h

index 37f7ae478d9aa0ffd3fc2020d8f5d7055aca8f14..08dca5ba1864c214980f6994c1ea8dbe32e455fc 100644 (file)
@@ -37,7 +37,6 @@ void lttng_ust__vtracef(const char *fmt, va_list ap)
 
 #if LTTNG_UST_COMPAT_API(0)
 #define tracef         lttng_ust_tracef
-#define vtracef                lttng_ust_vtracef
 #endif
 
 #ifdef __cplusplus
index e97c827574a25329521b046b16541d4eba0be40a..837971f107e9a38676b0e911dc414dd36b016bb2 100644 (file)
@@ -60,7 +60,6 @@ LTTNG_UST_TP_TRACELOG_CB_TEMPLATE(LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG);
 #if LTTNG_UST_COMPAT_API(0)
 #define TP_TRACELOG_CB_TEMPLATE LTTNG_UST_TP_TRACELOG_CB_TEMPLATE
 #define tracelog       lttng_ust_tracelog
-#define vtracelog      lttng_ust_vtracelog
 #endif
 
 #ifdef __cplusplus
This page took 0.024373 seconds and 4 git commands to generate.