Clean-up: run format-cpp on the tree
[lttng-tools.git] / src / bin / lttng-sessiond / ust-sigbus.hpp
1 /*
2 * Copyright (C) 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef LTTNG_UST_SIGBUS_H
9 #define LTTNG_UST_SIGBUS_H
10
11 #ifdef HAVE_LIBLTTNG_UST_CTL
12
13 void lttng_ust_handle_sigbus(void *address);
14
15 #else /* HAVE_LIBLTTNG_UST_CTL */
16
17 static inline void lttng_ust_handle_sigbus(void *address __attribute__((unused)))
18 {
19 }
20
21 #endif /* HAVE_LIBLTTNG_UST_CTL */
22
23 #endif /* LTTNG_UST_SIGBUS_H */
This page took 0.029371 seconds and 4 git commands to generate.