fix shm objects wait fd and allocation error handling
[lttng-ust.git] / libringbuffer / nohz.h
CommitLineData
852c2936
MD
1#ifndef _LINUX_RING_BUFFER_NOHZ_H
2#define _LINUX_RING_BUFFER_NOHZ_H
3
4/*
5 * ringbuffer/nohz.h
6 *
7 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 *
9 * Dual LGPL v2.1/GPL v2 license.
10 */
11
12#ifdef CONFIG_LIB_RING_BUFFER
13void lib_ring_buffer_tick_nohz_flush(void);
14void lib_ring_buffer_tick_nohz_stop(void);
15void lib_ring_buffer_tick_nohz_restart(void);
16#else
17static inline void lib_ring_buffer_tick_nohz_flush(void)
18{
19}
20
21static inline void lib_ring_buffer_tick_nohz_stop(void)
22{
23}
24
25static inline void lib_ring_buffer_tick_nohz_restart(void)
26{
27}
28#endif
29
30#endif /* _LINUX_RING_BUFFER_NOHZ_H */
This page took 0.025869 seconds and 4 git commands to generate.