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