X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Flibfoo.c;h=908eb1f80891ebe828d010e43b6d25553c4c542e;hb=HEAD;hp=c03fb28982f054ce6283d6590d2406b9ad0c2651;hpb=d8ed06afceb2d0517633814f7f2a04f69ac71da6;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/libfoo.c b/tests/regression/ust/ust-dl/libfoo.c index c03fb2898..908eb1f80 100644 --- a/tests/regression/ust/ust-dl/libfoo.c +++ b/tests/regression/ust/ust-dl/libfoo.c @@ -1,8 +1,20 @@ -#include "libfoo.h" +/* + * Copyright (C) 2016 Antoine Busque + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + #include "libbar.h" +#include "libfoo.h" + +#define TRACEPOINT_DEFINE +#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE +#include "libfoo-tp.h" int foo(void) { + tracepoint(libfoo, foo); bar(); return 1; }