Fix: add struct user_msghdr forward declaration for older kernels
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls-3.4.25_pointers_override.h
CommitLineData
8f4f80e0 1
8ba62b94 2#define OVERRIDE_TABLE_32_mmap2
8f4f80e0
RK
3
4
5#ifndef CREATE_SYSCALL_TABLE
6
8ba62b94 7SC_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
5539ecc8
LP
21#define OVERRIDE_32_pipe
22SC_LTTNG_TRACEPOINT_EVENT(pipe,
23 TP_PROTO(sc_exit(long ret,) int * fildes),
24 TP_ARGS(sc_exit(ret,) fildes),
25 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
26 sc_out(ctf_user_array(int, fildes, fildes, 2))
27 )
28)
29
8f4f80e0
RK
30#else /* CREATE_SYSCALL_TABLE */
31
8ba62b94
NL
32#define OVERRIDE_TABLE_32_execve
33TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
34#define OVERRIDE_TABLE_32_clone
35TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
36#define OVERRIDE_TABLE_32_mmap2
37TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6)
8f4f80e0
RK
38
39#endif /* CREATE_SYSCALL_TABLE */
40
41
This page took 0.028026 seconds and 4 git commands to generate.