From d2966b4b0b24336f6eb548c6474d03514864309d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 6 Apr 2021 13:45:42 -0400 Subject: [PATCH] Remove TRACEPOINT_INCLUDE_FILE macro Now that we bump the soname major version, we can remove old macros which only purpose is compatibility with LTTng-UST 2.0. Signed-off-by: Mathieu Desnoyers Change-Id: Ic8c840a5ae219d15f0915821aa1049786a135d40 --- include/lttng/tracepoint-event.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/lttng/tracepoint-event.h b/include/lttng/tracepoint-event.h index 93818455..68226f6c 100644 --- a/include/lttng/tracepoint-event.h +++ b/include/lttng/tracepoint-event.h @@ -24,19 +24,6 @@ #define TRACEPOINT_HEADER_MULTI_READ -/* - * LTTng-UST 2.0 expects TRACEPOINT_INCLUDE_FILE, but this approach has - * the unwanted side-effect of expanding any macro name found within - * TRACEPOINT_INCLUDE_FILE. - * - * Starting from LTTng-UST 2.1, we expect the TRACEPOINT_INCLUDE to be - * defined by probes as a string. We still check for - * TRACEPOINT_INCLUDE_FILE for API backward compatibility. - */ -#ifdef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE __tp_stringify(TRACEPOINT_INCLUDE_FILE) -#endif - #include TRACEPOINT_INCLUDE #include -- 2.34.1