Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / powerpc-32-syscalls-3.0.34_pointers_override.h
index b9e83bc4cf1581afc3215e3105b65618e781498f..06704b90a699bab229def9c529f5563940ba1e5b 100644 (file)
@@ -2,17 +2,12 @@
 
 #ifndef CREATE_SYSCALL_TABLE
 
-SC_LTTNG_TRACEPOINT_EVENT(mmap2,
-       TP_PROTO(void *addr, size_t len, int prot,
-                 int flags, int fd, off_t pgoff),
-       TP_ARGS(addr, len, prot, flags, fd, pgoff),
-       TP_FIELDS(
-               ctf_integer_hex(void *, addr, addr)
-               ctf_integer(size_t, len, len)
-               ctf_integer(int, prot, prot)
-               ctf_integer(int, flags, flags)
-               ctf_integer(int, fd, fd)
-               ctf_integer(off_t, pgoff, pgoff)
+#define OVERRIDE_32_pipe
+SC_LTTNG_TRACEPOINT_EVENT(pipe,
+       TP_PROTO(sc_exit(long ret,) int * fildes),
+       TP_ARGS(sc_exit(ret,) fildes),
+       TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
+               sc_out(ctf_user_array(int, fildes, fildes, 2))
        )
 )
 
@@ -22,8 +17,6 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap2,
 TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
 #define OVERRIDE_TABLE_32_clone
 TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
-#define OVERRIDE_TABLE_32_mmap2
-TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6)
 
 #endif /* CREATE_SYSCALL_TABLE */
 
This page took 0.02468 seconds and 4 git commands to generate.