X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Flibfoo-tp.h;fp=tests%2Fregression%2Fust%2Fust-dl%2Flibfoo-tp.h;h=c3b23f18689c22f85e9631a933bfacce0fa1763d;hb=818df80b8b47b736056088fd7d75263a21f6a5a9;hp=0000000000000000000000000000000000000000;hpb=77c44a1d884e139000a22f1b5f35243ac44017e4;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/libfoo-tp.h b/tests/regression/ust/ust-dl/libfoo-tp.h new file mode 100644 index 000000000..c3b23f186 --- /dev/null +++ b/tests/regression/ust/ust-dl/libfoo-tp.h @@ -0,0 +1,21 @@ +#undef TRACEPOINT_PROVIDER +#define TRACEPOINT_PROVIDER libfoo + +#undef TRACEPOINT_INCLUDE +#define TRACEPOINT_INCLUDE "./libfoo-tp.h" + +#if !defined(_LIBFOO_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) +#define _LIBFOO_TP_H + +#include + +TRACEPOINT_EVENT( + libfoo, + foo, + TP_ARGS(void), + TP_FIELDS() +) + +#endif /* _LIBFOO_TP_H */ + +#include