)
)
+#define OVERRIDE_32_pipe
+SC_LTTNG_TRACEPOINT_EVENT(pipe,
+ TP_PROTO(sc_exit(long ret,) int * fildes),
+ TP_ARGS(sc_exit(ret,) fildes),
+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
+ sc_out(ctf_user_array(int, fildes, fildes, 2))
+ )
+)
+
#else /* CREATE_SYSCALL_TABLE */
#define OVERRIDE_TABLE_32_execve
)
)
+#define OVERRIDE_32_pipe
+SC_LTTNG_TRACEPOINT_EVENT(pipe,
+ TP_PROTO(sc_exit(long ret,) int * fildes),
+ TP_ARGS(sc_exit(ret,) fildes),
+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
+ sc_out(ctf_user_array(int, fildes, fildes, 2))
+ )
+)
+
#else /* CREATE_SYSCALL_TABLE */
#define OVERRIDE_TABLE_32_execve
)
)
-#define OVERRIDE_32_pipe
-#define OVERRIDE_64_pipe
-SC_LTTNG_TRACEPOINT_EVENT(pipe,
- TP_PROTO(sc_exit(long ret,) int * fildes),
- TP_ARGS(sc_exit(ret,) fildes),
- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
- sc_out(ctf_user_array(int, fildes, fildes, 2))
- )
-)
-
#define OVERRIDE_32_pipe2
#define OVERRIDE_64_pipe2
SC_LTTNG_TRACEPOINT_EVENT(pipe2,
# define OVERRIDE_32_chown16
# endif
+#define OVERRIDE_32_pipe
+#define OVERRIDE_64_pipe
+SC_LTTNG_TRACEPOINT_EVENT(pipe,
+ TP_PROTO(sc_exit(long ret,) int * fildes),
+ TP_ARGS(sc_exit(ret,) fildes),
+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
+ sc_out(ctf_user_array(int, fildes, fildes, 2))
+ )
+)
+
#else /* CREATE_SYSCALL_TABLE */
# ifndef CONFIG_UID16
)
)
+#define OVERRIDE_64_pipe
+SC_LTTNG_TRACEPOINT_EVENT(pipe,
+ TP_PROTO(sc_exit(long ret,) int * fildes),
+ TP_ARGS(sc_exit(ret,) fildes),
+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
+ sc_out(ctf_user_array(int, fildes, fildes, 2))
+ )
+)
+
#else /* CREATE_SYSCALL_TABLE */
#define OVERRIDE_TABLE_64_clone