X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Flibbar.c;h=55c2e55c0cedfc40710ccfe500be9343a3cf5d9f;hb=HEAD;hp=4ebd6b109c88524f8afb241afc44b6720769422c;hpb=d8ed06afceb2d0517633814f7f2a04f69ac71da6;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/libbar.c b/tests/regression/ust/ust-dl/libbar.c index 4ebd6b109..55c2e55c0 100644 --- a/tests/regression/ust/ust-dl/libbar.c +++ b/tests/regression/ust/ust-dl/libbar.c @@ -1,6 +1,18 @@ +/* + * Copyright (C) 2016 Mathieu Desnoyers + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + #include "libbar.h" +#define TRACEPOINT_DEFINE +#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE +#include "libbar-tp.h" + int bar(void) { + tracepoint(libbar, bar); return 1; }