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