build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE();
authororbea <orbea@riseup.net>
Sat, 29 May 2021 18:07:41 +0000 (11:07 -0700)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Jun 2021 15:05:10 +0000 (11:05 -0400)
Fixes:

  liblttng-ust-ctl.so: undefined reference to `lttng_ust_sigbus_state'

Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I428bdc262168d1701525e024e7580861d2498e2b

tests/regression/tools/live/live_test.c
tests/unit/test_kernel_data.c

index 4c56deece91321b8d07db210665481acbb46269b..a9adc5946d967b9c606469b661912fd314917b41 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <tap/tap.h>
 #include <lttng/lttng.h>
+#include <lttng/ust-sigbus.h>
 
 #include <urcu/list.h>
 #include <common/common.h>
@@ -41,6 +42,8 @@
 #define NUM_TESTS 11
 #define mmap_size 524288
 
+DEFINE_LTTNG_UST_SIGBUS_STATE();
+
 static int control_sock;
 struct live_session *session;
 
index 34d12be2466d1ade2506c45e33d7f42eed56937a..58e7014422fb6bb68484025a96972460238bdef8 100644 (file)
@@ -15,6 +15,7 @@
 #include <common/compat/errno.h>
 #include <bin/lttng-sessiond/trace-kernel.h>
 #include <common/defaults.h>
+#include <lttng/ust-sigbus.h>
 
 #include <tap/tap.h>
 
@@ -23,6 +24,8 @@
 /* Number of TAP tests in this file */
 #define NUM_TESTS 11
 
+DEFINE_LTTNG_UST_SIGBUS_STATE();
+
 static const char alphanum[] =
        "0123456789"
        "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
This page took 0.027914 seconds and 4 git commands to generate.