Import lib ring buffer into LTTng modules
[lttng-modules.git] / lib / ringbuffer / nohz.h
1 #ifndef _LINUX_RING_BUFFER_NOHZ_H
2 #define _LINUX_RING_BUFFER_NOHZ_H
3
4 #ifdef CONFIG_LIB_RING_BUFFER
5 void lib_ring_buffer_tick_nohz_flush(void);
6 void lib_ring_buffer_tick_nohz_stop(void);
7 void lib_ring_buffer_tick_nohz_restart(void);
8 #else
9 static inline void lib_ring_buffer_tick_nohz_flush(void)
10 {
11 }
12
13 static inline void lib_ring_buffer_tick_nohz_stop(void)
14 {
15 }
16
17 static inline void lib_ring_buffer_tick_nohz_restart(void)
18 {
19 }
20 #endif
21
22 #endif /* _LINUX_RING_BUFFER_NOHZ_H */
This page took 0.037198 seconds and 5 git commands to generate.