From: Mathieu Desnoyers Date: Tue, 6 Apr 2021 17:45:42 +0000 (-0400) Subject: Remove TRACEPOINT_INCLUDE_FILE macro X-Git-Tag: v2.13.0-rc1~152 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d2966b4b0b24336f6eb548c6474d03514864309d;p=lttng-ust.git 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 --- 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