From: orbea Date: Sat, 29 May 2021 18:07:41 +0000 (-0700) Subject: build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE(); X-Git-Tag: v2.13.0-rc3~60 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c48cf4324526eb22a371102325d89875311a24d0;p=lttng-tools.git build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE(); Fixes: liblttng-ust-ctl.so: undefined reference to `lttng_ust_sigbus_state' Signed-off-by: orbea Signed-off-by: Jérémie Galarneau Change-Id: I428bdc262168d1701525e024e7580861d2498e2b --- diff --git a/tests/regression/tools/live/live_test.c b/tests/regression/tools/live/live_test.c index 4c56deece..a9adc5946 100644 --- a/tests/regression/tools/live/live_test.c +++ b/tests/regression/tools/live/live_test.c @@ -23,6 +23,7 @@ #include #include +#include #include #include @@ -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; diff --git a/tests/unit/test_kernel_data.c b/tests/unit/test_kernel_data.c index 34d12be24..58e701442 100644 --- a/tests/unit/test_kernel_data.c +++ b/tests/unit/test_kernel_data.c @@ -15,6 +15,7 @@ #include #include #include +#include #include @@ -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"