Drop support for kernels < 4.4 from 'wrapper/splice.h'
[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
MD
15#include <linux/splice.h>
16
90225db5 17ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
5dd620fa 18 struct splice_pipe_desc *spd);
90225db5 19
a90917c3 20#endif /* _LTTNG_WRAPPER_SPLICE_H */
This page took 0.053224 seconds and 4 git commands to generate.