Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / powerpc-32-syscalls-3.0.34_pointers_override.h
CommitLineData
8ba62b94 1#define OVERRIDE_TABLE_32_mmap2
b11394d2
PW
2
3#ifndef CREATE_SYSCALL_TABLE
4
5539ecc8
LP
5#define OVERRIDE_32_pipe
6SC_LTTNG_TRACEPOINT_EVENT(pipe,
7 TP_PROTO(sc_exit(long ret,) int * fildes),
8 TP_ARGS(sc_exit(ret,) fildes),
9 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
10 sc_out(ctf_user_array(int, fildes, fildes, 2))
11 )
12)
13
b11394d2
PW
14#else /* CREATE_SYSCALL_TABLE */
15
8ba62b94
NL
16#define OVERRIDE_TABLE_32_execve
17TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
18#define OVERRIDE_TABLE_32_clone
19TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
b11394d2
PW
20
21#endif /* CREATE_SYSCALL_TABLE */
22
This page took 0.032276 seconds and 4 git commands to generate.