Fix: lttng_trace_archive_location_serialize is called on freed memory
[lttng-tools.git] / src / bin / lttng-sessiond / ust-sigbus.h
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
18 void lttng_ust_handle_sigbus(void *address)
19 {
20 }
21
22 #endif /* HAVE_LIBLTTNG_UST_CTL */
23
24 #endif /* LTTNG_UST_SIGBUS_H */
This page took 0.029716 seconds and 4 git commands to generate.