Add abi0 conflict tests
[lttng-ust.git] / tests / regression / abi0-conflict / fake-ust.h
diff --git a/tests/regression/abi0-conflict/fake-ust.h b/tests/regression/abi0-conflict/fake-ust.h
new file mode 100644 (file)
index 0000000..f784806
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com>
+ */
+
+#define LTTNG_UST_PROBE_DESC_PADDING    12
+struct lttng_probe_desc {
+        char padding[LTTNG_UST_PROBE_DESC_PADDING];
+};
+
+void init_usterr(void);
+
+/*
+ * The symbol used by liblttng-ust.so.1 to detect liblttng-ust.so.0 in a
+ * process.
+ */
+int ltt_probe_register(struct lttng_probe_desc *desc);
This page took 0.023024 seconds and 4 git commands to generate.