Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / wrapper / splice.h
... / ...
CommitLineData
1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
2 *
3 * wrapper/splice.h
4 *
5 * wrapper around splice_to_pipe. Using KALLSYMS to get its address when
6 * available, else we need to have a kernel that exports this function to GPL
7 * modules.
8 *
9 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 */
11
12#ifndef _LTTNG_WRAPPER_SPLICE_H
13#define _LTTNG_WRAPPER_SPLICE_H
14
15#include <linux/splice.h>
16
17ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
18 struct splice_pipe_desc *spd);
19
20#ifndef PIPE_DEF_BUFFERS
21#define PIPE_DEF_BUFFERS 16
22#endif
23
24#endif /* _LTTNG_WRAPPER_SPLICE_H */
This page took 0.02335 seconds and 4 git commands to generate.