Fix: Move pipe override to the arch specific pointers_override.h
[lttng-modules.git] / instrumentation / syscalls / headers / powerpc-32-syscalls-3.0.34_pointers_override.h
1 #define OVERRIDE_TABLE_32_mmap2
2
3 #ifndef CREATE_SYSCALL_TABLE
4
5 SC_LTTNG_TRACEPOINT_EVENT(mmap2,
6 TP_PROTO(void *addr, size_t len, int prot,
7 int flags, int fd, off_t pgoff),
8 TP_ARGS(addr, len, prot, flags, fd, pgoff),
9 TP_FIELDS(
10 ctf_integer_hex(void *, addr, addr)
11 ctf_integer(size_t, len, len)
12 ctf_integer(int, prot, prot)
13 ctf_integer(int, flags, flags)
14 ctf_integer(int, fd, fd)
15 ctf_integer(off_t, pgoff, pgoff)
16 )
17 )
18
19 #define OVERRIDE_32_pipe
20 SC_LTTNG_TRACEPOINT_EVENT(pipe,
21 TP_PROTO(sc_exit(long ret,) int * fildes),
22 TP_ARGS(sc_exit(ret,) fildes),
23 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
24 sc_out(ctf_user_array(int, fildes, fildes, 2))
25 )
26 )
27
28 #else /* CREATE_SYSCALL_TABLE */
29
30 #define OVERRIDE_TABLE_32_execve
31 TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
32 #define OVERRIDE_TABLE_32_clone
33 TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
34 #define OVERRIDE_TABLE_32_mmap2
35 TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6)
36
37 #endif /* CREATE_SYSCALL_TABLE */
38
This page took 0.029495 seconds and 4 git commands to generate.