Fix: wrapper random documentation
[lttng-modules.git] / lib / ringbuffer / nohz.h
1 /* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
2 *
3 * lib/ringbuffer/nohz.h
4 *
5 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 */
7
8 #ifndef _LIB_RING_BUFFER_NOHZ_H
9 #define _LIB_RING_BUFFER_NOHZ_H
10
11 #ifdef CONFIG_LIB_RING_BUFFER
12 void lib_ring_buffer_tick_nohz_flush(void);
13 void lib_ring_buffer_tick_nohz_stop(void);
14 void lib_ring_buffer_tick_nohz_restart(void);
15 #else
16 static inline void lib_ring_buffer_tick_nohz_flush(void)
17 {
18 }
19
20 static inline void lib_ring_buffer_tick_nohz_stop(void)
21 {
22 }
23
24 static inline void lib_ring_buffer_tick_nohz_restart(void)
25 {
26 }
27 #endif
28
29 #endif /* _LIB_RING_BUFFER_NOHZ_H */
This page took 0.029201 seconds and 4 git commands to generate.