X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Fheaders%2Fx86-32-syscalls-3.1.0-rc6_pointers_override.h;h=7c804a67e3cb445a5484da4e3d8bf369d8bb5e7a;hb=f771eda68a28a432a87a7a71b23aab9692828700;hp=4ee3ca3d2c2ccdd6c38c76a5aa5d343d348c1b95;hpb=b5aa4b6a4efc476e3a9b9fafcafd080d9aaa173e;p=lttng-modules.git diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h index 4ee3ca3d..7c804a67 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h @@ -2,31 +2,41 @@ #ifndef CREATE_SYSCALL_TABLE # ifndef CONFIG_UID16 -# define OVERRIDE_32_sys_getgroups16 -# define OVERRIDE_32_sys_setgroups16 -# define OVERRIDE_32_sys_lchown16 -# define OVERRIDE_32_sys_getresuid16 -# define OVERRIDE_32_sys_getresgid16 -# define OVERRIDE_32_sys_chown16 +# define OVERRIDE_32_getgroups16 +# define OVERRIDE_32_setgroups16 +# define OVERRIDE_32_lchown16 +# define OVERRIDE_32_getresuid16 +# define OVERRIDE_32_getresgid16 +# define OVERRIDE_32_chown16 # endif +#define OVERRIDE_32_pipe +#define OVERRIDE_64_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)) + ) +) + #else /* CREATE_SYSCALL_TABLE */ # ifndef CONFIG_UID16 -# define OVERRIDE_TABLE_32_sys_getgroups16 -# define OVERRIDE_TABLE_32_sys_setgroups16 -# define OVERRIDE_TABLE_32_sys_lchown16 -# define OVERRIDE_TABLE_32_sys_getresuid16 -# define OVERRIDE_TABLE_32_sys_getresgid16 -# define OVERRIDE_TABLE_32_sys_chown16 +# define OVERRIDE_TABLE_32_getgroups16 +# define OVERRIDE_TABLE_32_setgroups16 +# define OVERRIDE_TABLE_32_lchown16 +# define OVERRIDE_TABLE_32_getresuid16 +# define OVERRIDE_TABLE_32_getresgid16 +# define OVERRIDE_TABLE_32_chown16 # endif -#define OVERRIDE_TABLE_32_sys_execve -TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 11, 3) -#define OVERRIDE_TABLE_32_sys_clone -TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 120, 5) -#define OVERRIDE_TABLE_32_sys_getcpu -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 318, 3) +#define OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#define OVERRIDE_TABLE_32_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) +#define OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) #endif /* CREATE_SYSCALL_TABLE */