projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all -Wmissing-declarations warning instances
[lttng-tools.git]
/
tests
/
regression
/
ust
/
ust-dl
/
libbar.c
diff --git
a/tests/regression/ust/ust-dl/libbar.c
b/tests/regression/ust/ust-dl/libbar.c
index 4ebd6b109c88524f8afb241afc44b6720769422c..55c2e55c0cedfc40710ccfe500be9343a3cf5d9f 100644
(file)
--- 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 <mathieu.desnoyers@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
#include "libbar.h"
#include "libbar.h"
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
+#include "libbar-tp.h"
+
int bar(void)
{
int bar(void)
{
+ tracepoint(libbar, bar);
return 1;
}
return 1;
}
This page took
0.027139 seconds
and
4
git commands to generate.