Commit | Line | Data |
---|---|---|
8f4f80e0 | 1 | |
8ba62b94 | 2 | #define OVERRIDE_TABLE_32_mmap2 |
8f4f80e0 RK |
3 | |
4 | ||
5 | #ifndef CREATE_SYSCALL_TABLE | |
6 | ||
8ba62b94 | 7 | SC_LTTNG_TRACEPOINT_EVENT(mmap2, |
8f4f80e0 RK |
8 | TP_PROTO(void *addr, size_t len, int prot, |
9 | int flags, int fd, off_t pgoff), | |
10 | TP_ARGS(addr, len, prot, flags, fd, pgoff), | |
e0976e2b MD |
11 | TP_FIELDS( |
12 | ctf_integer_hex(void *, addr, addr) | |
13 | ctf_integer(size_t, len, len) | |
14 | ctf_integer(int, prot, prot) | |
15 | ctf_integer(int, flags, flags) | |
16 | ctf_integer(int, fd, fd) | |
17 | ctf_integer(off_t, pgoff, pgoff) | |
18 | ) | |
8f4f80e0 RK |
19 | ) |
20 | ||
21 | #else /* CREATE_SYSCALL_TABLE */ | |
22 | ||
8ba62b94 NL |
23 | #define OVERRIDE_TABLE_32_execve |
24 | TRACE_SYSCALL_TABLE(execve, execve, 11, 3) | |
25 | #define OVERRIDE_TABLE_32_clone | |
26 | TRACE_SYSCALL_TABLE(clone, clone, 120, 5) | |
27 | #define OVERRIDE_TABLE_32_mmap2 | |
28 | TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) | |
8f4f80e0 RK |
29 | |
30 | #endif /* CREATE_SYSCALL_TABLE */ | |
31 | ||
32 |