X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint-event.h;h=0bbecce84e4adaed6b683c805c5074f25f258933;hb=91fe3e1353806b798ce141de4481de115ea209fe;hp=4044339d255e421aa2d8d9d1d2a7687b16856b5d;hpb=061fc37ae64a1ad3ecefe10d9a2db33ebb5c41ce;p=lttng-ust.git diff --git a/include/lttng/tracepoint-event.h b/include/lttng/tracepoint-event.h index 4044339d..0bbecce8 100644 --- a/include/lttng/tracepoint-event.h +++ b/include/lttng/tracepoint-event.h @@ -51,6 +51,12 @@ # endif #endif /* #if LTTNG_UST_COMPAT_API(0) */ +#if LTTNG_UST_COMPAT_API(0) +# if defined(TP_SESSION_CHECK) && !defined(LTTNG_UST_TP_SESSION_CHECK) +# define LTTNG_UST_TP_SESSION_CHECK +# endif +#endif /* #if LTTNG_UST_COMPAT_API(0) */ + #include LTTNG_UST_TRACEPOINT_INCLUDE #include