Hide libringbuffer private symbols
[lttng-ust.git] / libringbuffer / nohz.h
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #ifndef _LTTNG_RING_BUFFER_NOHZ_H
8 #define _LTTNG_RING_BUFFER_NOHZ_H
9
10 #include "ust-helper.h"
11
12 #ifdef CONFIG_LIB_RING_BUFFER
13 LTTNG_HIDDEN
14 void lib_ring_buffer_tick_nohz_flush(void);
15 LTTNG_HIDDEN
16 void lib_ring_buffer_tick_nohz_stop(void);
17 LTTNG_HIDDEN
18 void lib_ring_buffer_tick_nohz_restart(void);
19 #else
20 static inline void lib_ring_buffer_tick_nohz_flush(void)
21 {
22 }
23
24 static inline void lib_ring_buffer_tick_nohz_stop(void)
25 {
26 }
27
28 static inline void lib_ring_buffer_tick_nohz_restart(void)
29 {
30 }
31 #endif
32
33 #endif /* _LTTNG_RING_BUFFER_NOHZ_H */
This page took 0.029778 seconds and 4 git commands to generate.