X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Flibfoo.c;h=3bebed42776db4e4f3c6cb4d61cdfd0af6d985eb;hb=818df80b8b47b736056088fd7d75263a21f6a5a9;hp=c03fb28982f054ce6283d6590d2406b9ad0c2651;hpb=77c44a1d884e139000a22f1b5f35243ac44017e4;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/libfoo.c b/tests/regression/ust/ust-dl/libfoo.c index c03fb2898..3bebed427 100644 --- a/tests/regression/ust/ust-dl/libfoo.c +++ b/tests/regression/ust/ust-dl/libfoo.c @@ -1,8 +1,13 @@ #include "libfoo.h" #include "libbar.h" +#define TRACEPOINT_DEFINE +#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE +#include "libfoo-tp.h" + int foo(void) { + tracepoint(libfoo, foo); bar(); return 1; }