074dc4d02f808bcf6c6b927dc38e3abeaff135c6
1 // SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only
5 #define OVERRIDE_TABLE_32_mmap2
7 #ifndef CREATE_SYSCALL_TABLE
10 * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
11 * instead of the default integer pointer.
13 #define OVERRIDE_32_pipe
14 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
15 TP_PROTO(sc_exit(long ret
,) int * fildes
),
16 TP_ARGS(sc_exit(ret
,) fildes
),
17 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
))
18 sc_out(ctf_user_array(int, fildes
, fildes
, 2))
22 #else /* CREATE_SYSCALL_TABLE */
24 #define OVERRIDE_TABLE_32_execve
25 TRACE_SYSCALL_TABLE(execve
, execve
, 11, 3)
26 #define OVERRIDE_TABLE_32_clone
27 TRACE_SYSCALL_TABLE(clone
, clone
, 120, 5)
29 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.048184 seconds and 5 git commands to generate.