From 2268c76ff5381c518789280f334f04cc4e41bb14 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 9 Jun 2021 11:38:08 -0400 Subject: [PATCH] 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 --- include/lttng/tracef.h | 1 - include/lttng/tracelog.h | 1 - 2 files changed, 2 deletions(-) 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 -- 2.34.1