Fix: annotate bytecode interpreter for kernel stack validator
[lttng-modules.git] / wrapper / splice.h
CommitLineData
a90917c3
MD
1#ifndef _LTTNG_WRAPPER_SPLICE_H
2#define _LTTNG_WRAPPER_SPLICE_H
90225db5
MD
3
4/*
886d51a3 5 * wrapper/splice.h
90225db5 6 *
00525d30 7 * wrapper around splice_to_pipe. Using KALLSYMS to get its address when
90225db5
MD
8 * available, else we need to have a kernel that exports this function to GPL
9 * modules.
10 *
886d51a3
MD
11 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; only
16 * version 2.1 of the License.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
90225db5
MD
26 */
27
90225db5
MD
28#include <linux/splice.h>
29
90225db5 30ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
5dd620fa 31 struct splice_pipe_desc *spd);
90225db5 32
45750163
MD
33#ifndef PIPE_DEF_BUFFERS
34#define PIPE_DEF_BUFFERS 16
35#endif
36
a90917c3 37#endif /* _LTTNG_WRAPPER_SPLICE_H */
This page took 0.058914 seconds and 4 git commands to generate.