X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint-event.h;h=2cef17a4a944386d3f1c424367654d2cba73e11e;hb=cda77256e7f0cbc8839f9c872b75e77cb1fb7d5c;hp=938184552f928cafe3311259754825799692feda;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/include/lttng/tracepoint-event.h b/include/lttng/tracepoint-event.h index 93818455..2cef17a4 100644 --- a/include/lttng/tracepoint-event.h +++ b/include/lttng/tracepoint-event.h @@ -24,25 +24,11 @@ #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 #undef TRACEPOINT_HEADER_MULTI_READ -#undef TRACEPOINT_INCLUDE_FILE #undef TRACEPOINT_INCLUDE #define TRACEPOINT_CREATE_PROBES