2 * Copyright (C) 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef LTTNG_UST_SIGBUS_H
9 #define LTTNG_UST_SIGBUS_H
11 #ifdef HAVE_LIBLTTNG_UST_CTL
13 void lttng_ust_handle_sigbus(void *address);
15 #else /* HAVE_LIBLTTNG_UST_CTL */
18 void lttng_ust_handle_sigbus(void *address __attribute__((unused)))
22 #endif /* HAVE_LIBLTTNG_UST_CTL */
24 #endif /* LTTNG_UST_SIGBUS_H */