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