Remove TRACEPOINT_INCLUDE_FILE macro
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Apr 2021 17:45:42 +0000 (13:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Apr 2021 17:45:42 +0000 (13:45 -0400)
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 <mathieu.desnoyers@efficios.com>
Change-Id: Ic8c840a5ae219d15f0915821aa1049786a135d40

include/lttng/tracepoint-event.h

index 938184552f928cafe3311259754825799692feda..68226f6c8982c854f1608a51b6a2c0c884f96184 100644 (file)
 
 #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 <lttng/ust-tracepoint-event.h>
This page took 0.025751 seconds and 4 git commands to generate.