tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / ust-dl / libbar.c
index 4ebd6b109c88524f8afb241afc44b6720769422c..55c2e55c0cedfc40710ccfe500be9343a3cf5d9f 100644 (file)
@@ -1,6 +1,18 @@
+/*
+ * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * 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;
 }
This page took 0.023991 seconds and 5 git commands to generate.