Migrate ARM, powerpc, MIPS syscall instrumentation to TP_FIELDS
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls-3.4.25_pointers_override.h
1
2 #define OVERRIDE_TABLE_32_mmap2
3
4
5 #ifndef CREATE_SYSCALL_TABLE
6
7 SC_LTTNG_TRACEPOINT_EVENT(mmap2,
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),
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 )
19 )
20
21 #else /* CREATE_SYSCALL_TABLE */
22
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)
29
30 #endif /* CREATE_SYSCALL_TABLE */
31
32
This page took 0.029384 seconds and 4 git commands to generate.