Move to kernel style SPDX license identifiers
[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 #ifdef CONFIG_LIB_RING_BUFFER
11 void lib_ring_buffer_tick_nohz_flush(void);
12 void lib_ring_buffer_tick_nohz_stop(void);
13 void lib_ring_buffer_tick_nohz_restart(void);
14 #else
15 static inline void lib_ring_buffer_tick_nohz_flush(void)
16 {
17 }
18
19 static inline void lib_ring_buffer_tick_nohz_stop(void)
20 {
21 }
22
23 static inline void lib_ring_buffer_tick_nohz_restart(void)
24 {
25 }
26 #endif
27
28 #endif /* _LTTNG_RING_BUFFER_NOHZ_H */
This page took 0.029179 seconds and 4 git commands to generate.