tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / ust-dl / libfoo.c
index c03fb28982f054ce6283d6590d2406b9ad0c2651..3c92464d849f03a1d7a22cf0c2df69aba6f84a9f 100644 (file)
@@ -1,8 +1,20 @@
+/*
+ * Copyright (C) 2016 Antoine Busque <abusque@efficios.com>
+ *
+ * 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(void)
 {
+       tracepoint(libfoo, foo);
        bar();
        return 1;
 }
This page took 0.023949 seconds and 5 git commands to generate.