Fix: ust: segfault on lttng start on filter bytecode copy
[lttng-tools.git] / src / bin / lttng-sessiond / ust-sigbus.h
CommitLineData
881fc67f
MD
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
13void lttng_ust_handle_sigbus(void *address);
14
15#else /* HAVE_LIBLTTNG_UST_CTL */
16
17static inline
18void 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.023061 seconds and 4 git commands to generate.