X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-sigbus.h;fp=src%2Fbin%2Flttng-sessiond%2Fust-sigbus.h;h=110ef7f75755658427d6b39384e78659c9d4fbab;hb=881fc67f7002469477a5ad00e67a8077db6c0514;hp=0000000000000000000000000000000000000000;hpb=4243641037bcc27e6338674a5c39699a22347654;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-sigbus.h b/src/bin/lttng-sessiond/ust-sigbus.h new file mode 100644 index 000000000..110ef7f75 --- /dev/null +++ b/src/bin/lttng-sessiond/ust-sigbus.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2021 Mathieu Desnoyers + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + +#ifndef LTTNG_UST_SIGBUS_H +#define LTTNG_UST_SIGBUS_H + +#ifdef HAVE_LIBLTTNG_UST_CTL + +void lttng_ust_handle_sigbus(void *address); + +#else /* HAVE_LIBLTTNG_UST_CTL */ + +static inline +void lttng_ust_handle_sigbus(void *address) +{ +} + +#endif /* HAVE_LIBLTTNG_UST_CTL */ + +#endif /* LTTNG_UST_SIGBUS_H */