Commit | Line | Data |
---|---|---|
b7cdc182 | 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ |
6314c2d3 | 2 | |
8ba62b94 | 3 | #define OVERRIDE_TABLE_32_mmap2 |
b11394d2 PW |
4 | |
5 | #ifndef CREATE_SYSCALL_TABLE | |
6 | ||
5539ecc8 LP |
7 | #define OVERRIDE_32_pipe |
8 | SC_LTTNG_TRACEPOINT_EVENT(pipe, | |
9 | TP_PROTO(sc_exit(long ret,) int * fildes), | |
10 | TP_ARGS(sc_exit(ret,) fildes), | |
11 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) | |
12 | sc_out(ctf_user_array(int, fildes, fildes, 2)) | |
13 | ) | |
14 | ) | |
15 | ||
b11394d2 PW |
16 | #else /* CREATE_SYSCALL_TABLE */ |
17 | ||
8ba62b94 NL |
18 | #define OVERRIDE_TABLE_32_execve |
19 | TRACE_SYSCALL_TABLE(execve, execve, 11, 3) | |
20 | #define OVERRIDE_TABLE_32_clone | |
21 | TRACE_SYSCALL_TABLE(clone, clone, 120, 5) | |
b11394d2 PW |
22 | |
23 | #endif /* CREATE_SYSCALL_TABLE */ | |
24 |