build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE();
[lttng-tools.git] / tests / unit / test_kernel_data.c
index d575d25180fc31748add8778821ad0b3cb6acdb0..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>
 
 /* Number of TAP tests in this file */
 #define NUM_TESTS 11
 
-/* For error.h */
-int lttng_opt_quiet = 1;
-int lttng_opt_verbose;
-int lttng_opt_mi;
+DEFINE_LTTNG_UST_SIGBUS_STATE();
 
 static const char alphanum[] =
        "0123456789"
@@ -149,7 +147,7 @@ static void test_create_kernel_event(void)
 
        ok(event->fd == -1 &&
           event->enabled == 1 &&
-          event->event->instrumentation == LTTNG_KERNEL_TRACEPOINT &&
+          event->event->instrumentation == LTTNG_KERNEL_ABI_TRACEPOINT &&
           strlen(event->event->name),
           "Validate kernel event");
 
This page took 0.02399 seconds and 4 git commands to generate.