From: Mathieu Desnoyers Date: Fri, 24 Jun 2011 03:04:34 +0000 (-0400) Subject: Add PIPE_DEF_BUFFERS to splice wrapper X-Git-Tag: v2.0-pre1~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=457501638fe38f96d90598a6284befec5f949ce4;p=lttng-modules.git Add PIPE_DEF_BUFFERS to splice wrapper Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/splice.h b/wrapper/splice.h index d419847d..f75309a8 100644 --- a/wrapper/splice.h +++ b/wrapper/splice.h @@ -16,4 +16,8 @@ ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe, struct splice_pipe_desc *spd); +#ifndef PIPE_DEF_BUFFERS +#define PIPE_DEF_BUFFERS 16 +#endif + #endif /* _LTT_WRAPPER_SPLICE_H */