From: Mathieu Desnoyers Date: Wed, 9 Jun 2021 15:38:08 +0000 (-0400) Subject: Remove vtracelog and vtracef from v0 compat API X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2268c76f;p=lttng-ust.git Remove vtracelog and vtracef from v0 compat API 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 Change-Id: I96cfed7d6c211d24017bfd33cd8d8c5a7087d78f --- diff --git a/include/lttng/tracef.h b/include/lttng/tracef.h index 37f7ae47..08dca5ba 100644 --- a/include/lttng/tracef.h +++ b/include/lttng/tracef.h @@ -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 diff --git a/include/lttng/tracelog.h b/include/lttng/tracelog.h index e97c8275..837971f1 100644 --- a/include/lttng/tracelog.h +++ b/include/lttng/tracelog.h @@ -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