Skip to content

Commit

Permalink
build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE();
Browse files Browse the repository at this point in the history
Fixes:

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

Signed-off-by: orbea <orbea@riseup.net>
  • Loading branch information
orbea committed Jun 4, 2021
1 parent 56fe715 commit 149c66e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/regression/tools/live/live_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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;

Expand Down
3 changes: 3 additions & 0 deletions tests/unit/test_kernel_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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"
Expand Down

0 comments on commit 149c66e

Please sign in to comment.