From: Mathieu Desnoyers Date: Tue, 9 Sep 2014 15:06:22 +0000 (-0400) Subject: syscall tracing: input/output parameter handling for all arch X-Git-Tag: v2.6.0-rc1~36 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f1e7d826123df8fe2164aa22fa0f418debc0df1b;p=lttng-modules.git syscall tracing: input/output parameter handling for all arch Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h index d3761526..941f9359 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h @@ -9,842 +9,1025 @@ #include "arm-32-syscalls-3.4.25_integers_override.h" #include "syscalls_integers_override.h" +#ifdef SC_ENTER SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_32_sys_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif -#ifndef OVERRIDE_32_sys_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif -#ifndef OVERRIDE_32_sys_getuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid16) +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) #endif -#ifndef OVERRIDE_32_sys_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif -#ifndef OVERRIDE_32_sys_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif -#ifndef OVERRIDE_32_sys_getgid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid16) +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) #endif -#ifndef OVERRIDE_32_sys_geteuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid16) +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) #endif -#ifndef OVERRIDE_32_sys_getegid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid16) +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) #endif -#ifndef OVERRIDE_32_sys_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif -#ifndef OVERRIDE_32_sys_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif -#ifndef OVERRIDE_32_sys_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif -#ifndef OVERRIDE_32_sys_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif -#ifndef OVERRIDE_32_sys_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif -#ifndef OVERRIDE_32_sys_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif -#ifndef OVERRIDE_32_sys_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif -#ifndef OVERRIDE_32_sys_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif -#ifndef OVERRIDE_32_sys_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif -#ifndef OVERRIDE_32_sys_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif -#ifndef OVERRIDE_32_sys_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif -#ifndef OVERRIDE_32_sys_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif -#ifndef OVERRIDE_32_sys_exit -SC_LTTNG_TRACEPOINT_EVENT(sys_exit, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_close -SC_LTTNG_TRACEPOINT_EVENT(sys_close, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setuid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid16, - TP_PROTO(old_uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(old_uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT(getuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nice -SC_LTTNG_TRACEPOINT_EVENT(sys_nice, - TP_PROTO(int increment), - TP_ARGS(increment), - TP_STRUCT__entry(__field(int, increment)), - TP_fast_assign(tp_assign(increment, increment)), +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup -SC_LTTNG_TRACEPOINT_EVENT(sys_dup, - TP_PROTO(unsigned int fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field(unsigned int, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_brk -SC_LTTNG_TRACEPOINT_EVENT(sys_brk, - TP_PROTO(unsigned long brk), - TP_ARGS(brk), - TP_STRUCT__entry(__field(unsigned long, brk)), - TP_fast_assign(tp_assign(brk, brk)), +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT(getgid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid16, - TP_PROTO(old_gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(old_gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT(geteuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umask -SC_LTTNG_TRACEPOINT_EVENT(sys_umask, - TP_PROTO(int mask), - TP_ARGS(mask), - TP_STRUCT__entry(__field(int, mask)), - TP_fast_assign(tp_assign(mask, mask)), +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT(getegid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsync -SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchdir -SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_personality, - TP_PROTO(unsigned int personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned int, personality)), - TP_fast_assign(tp_assign(personality, personality)), +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsuid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid16, - TP_PROTO(old_uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(old_uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsgid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid16, - TP_PROTO(old_gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(old_gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsid -SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlockall -SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_setuid16 +SC_LTTNG_TRACEPOINT_EVENT(setuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(increment, increment))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, - TP_PROTO(aio_context_t ctx), - TP_ARGS(ctx), - TP_STRUCT__entry(__field(aio_context_t, ctx)), - TP_fast_assign(tp_assign(ctx, ctx)), +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_exit_group -SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(brk, brk))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, - TP_PROTO(int size), - TP_ARGS(size), - TP_STRUCT__entry(__field(int, size)), - TP_fast_assign(tp_assign(size, size)), +#ifndef OVERRIDE_32_setgid16 +SC_LTTNG_TRACEPOINT_EVENT(setgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unshare -SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, - TP_PROTO(unsigned long unshare_flags), - TP_ARGS(unshare_flags), - TP_STRUCT__entry(__field(unsigned long, unshare_flags)), - TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, - TP_PROTO(unsigned int count), - TP_ARGS(count), - TP_STRUCT__entry(__field(unsigned int, count)), - TP_fast_assign(tp_assign(count, count)), +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(personality, personality))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setfsuid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syncfs -SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, - TP_PROTO(int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_setfsgid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_kill -SC_LTTNG_TRACEPOINT_EVENT(sys_kill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, - TP_PROTO(pid_t pid, pid_t pgid), - TP_ARGS(pid, pgid), - TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup2 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, - TP_PROTO(unsigned int oldfd, unsigned int newfd), - TP_ARGS(oldfd, newfd), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setreuid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid16, - TP_PROTO(old_uid_t ruid, old_uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setregid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid16, - TP_PROTO(old_gid_t rgid, old_gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munmap -SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, - TP_PROTO(unsigned long addr, size_t len), - TP_ARGS(addr, len), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, - TP_PROTO(unsigned int fd, unsigned long length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmod -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, - TP_PROTO(unsigned int fd, umode_t mode), - TP_ARGS(fd, mode), - TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bdflush -SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, - TP_PROTO(int func, long data), - TP_ARGS(func, data), - TP_STRUCT__entry(__field(int, func) __field(long, data)), - TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flock -SC_LTTNG_TRACEPOINT_EVENT(sys_flock, - TP_PROTO(unsigned int fd, unsigned int cmd), - TP_ARGS(fd, cmd), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx, ctx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlock -SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munlock -SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setreuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, - TP_PROTO(uid_t ruid, uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setregid -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, - TP_PROTO(gid_t rgid, gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listen -SC_LTTNG_TRACEPOINT_EVENT(sys_listen, - TP_PROTO(int fd, int backlog), - TP_ARGS(fd, backlog), - TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shutdown -SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, - TP_PROTO(int fd, int how), - TP_ARGS(fd, how), - TP_STRUCT__entry(__field(int, fd) __field(int, how)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msgget -SC_LTTNG_TRACEPOINT_EVENT(sys_msgget, - TP_PROTO(key_t key, int msgflg), - TP_ARGS(key, msgflg), - TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, - TP_PROTO(int fd, __s32 wd), - TP_ARGS(fd, wd), - TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, - TP_PROTO(int clockid, int flags), - TP_ARGS(clockid, flags), - TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), - TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(pgid, pgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, - TP_PROTO(unsigned int count, int flags), - TP_ARGS(count, flags), - TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), - TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fanotify_init -SC_LTTNG_TRACEPOINT_EVENT(sys_fanotify_init, - TP_PROTO(unsigned int flags, unsigned int event_f_flags), - TP_ARGS(flags, event_f_flags), - TP_STRUCT__entry(__field(unsigned int, flags) __field(unsigned int, event_f_flags)), - TP_fast_assign(tp_assign(flags, flags) tp_assign(event_f_flags, event_f_flags)), +#ifndef OVERRIDE_32_setreuid16 +SC_LTTNG_TRACEPOINT_EVENT(setreuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setns -SC_LTTNG_TRACEPOINT_EVENT(sys_setns, - TP_PROTO(int fd, int nstype), - TP_ARGS(fd, nstype), - TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(nstype, nstype)), +#ifndef OVERRIDE_32_setregid16 +SC_LTTNG_TRACEPOINT_EVENT(setregid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lseek -SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, - TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(fd, offset, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioctl -SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchown16 -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown16, - TP_PROTO(unsigned int fd, old_uid_t user, old_gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(old_uid_t, user) __field(old_gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, - TP_PROTO(int which, int who, int niceval), - TP_ARGS(which, who, niceval), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(func, func)) sc_inout(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mprotect -SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, - TP_PROTO(unsigned long start, size_t len, unsigned long prot), - TP_ARGS(start, len, prot), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, - TP_PROTO(int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(option, arg1, arg2), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msync -SC_LTTNG_TRACEPOINT_EVENT(sys_msync, - TP_PROTO(unsigned long start, size_t len, int flags), - TP_ARGS(start, len, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresuid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid16, - TP_PROTO(old_uid_t ruid, old_uid_t euid, old_uid_t suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid) __field(old_uid_t, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresgid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid16, - TP_PROTO(old_gid_t rgid, old_gid_t egid, old_gid_t sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid) __field(old_gid_t, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchown -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, - TP_PROTO(unsigned int fd, uid_t user, gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, - TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(backlog, backlog))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, - TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(how, how))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_madvise -SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, - TP_PROTO(unsigned long start, size_t len_in, int behavior), - TP_ARGS(start, len_in, behavior), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), - TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), +#ifndef OVERRIDE_32_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tgkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, - TP_PROTO(pid_t tgid, pid_t pid, int sig), - TP_ARGS(tgid, pid, sig), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socket -SC_LTTNG_TRACEPOINT_EVENT(sys_socket, - TP_PROTO(int family, int type, int protocol), - TP_ARGS(family, type, protocol), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_semget -SC_LTTNG_TRACEPOINT_EVENT(sys_semget, - TP_PROTO(key_t key, int nsems, int semflg), - TP_ARGS(key, nsems, semflg), - TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(nsems, nsems) tp_assign(semflg, semflg)), +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shmget -SC_LTTNG_TRACEPOINT_EVENT(sys_shmget, - TP_PROTO(key_t key, size_t size, int shmflg), - TP_ARGS(key, size, shmflg), - TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(size, size) tp_assign(shmflg, shmflg)), +#ifndef OVERRIDE_32_fanotify_init +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, + TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), + TP_ARGS(sc_exit(ret,) flags, event_f_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, flags)) sc_in(__field(unsigned int, event_f_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(event_f_flags, event_f_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, - TP_PROTO(int which, int who, int ioprio), - TP_ARGS(which, who, ioprio), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup3 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, - TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(oldfd, newfd, flags), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ptrace -SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, - TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(request, pid, addr, data), - TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), - TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tee -SC_LTTNG_TRACEPOINT_EVENT(sys_tee, - TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(fdin, fdout, len, flags), - TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mremap -SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, - TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(addr, old_len, new_len, flags, new_addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), +#ifndef OVERRIDE_32_fchown16 +SC_LTTNG_TRACEPOINT_EVENT(fchown16, + TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prctl -SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(niceval, niceval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, - TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(start, size, prot, pgoff, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(prot, prot))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_keyctl -SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_in(tp_assign(arg1, arg1)) sc_in(tp_assign(arg2, arg2))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setresuid16 +SC_LTTNG_TRACEPOINT_EVENT(setresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid)) sc_inout(__field(old_uid_t, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid)) sc_inout(tp_assign(suid, suid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setresgid16 +SC_LTTNG_TRACEPOINT_EVENT(setresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid)) sc_inout(__field(old_gid_t, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid)) sc_inout(tp_assign(sgid, sgid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid)) sc_in(tp_assign(suid, suid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid)) sc_in(tp_assign(sgid, sgid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len_in, len_in)) sc_in(tp_assign(behavior, behavior))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, nsems)) sc_in(__field(int, semflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(nsems, nsems)) sc_in(tp_assign(semflg, semflg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(size_t, size)) sc_in(__field(int, shmflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(size, size)) sc_in(tp_assign(shmflg, shmflg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(ioprio, ioprio))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(request, request)) sc_in(tp_assign(pid, pid)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(data, data))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fdin, fdin)) sc_in(tp_assign(fdout, fdout)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(old_len, old_len)) sc_in(tp_assign(new_len, new_len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_addr, new_addr))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_in(tp_assign(arg3, arg3)) sc_in(tp_assign(arg4, arg4)) sc_in(tp_assign(arg5, arg5))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(size, size)) sc_in(tp_assign(prot, prot)) sc_in(tp_assign(pgoff, pgoff)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_inout(__field(unsigned long, arg3)) sc_inout(__field(unsigned long, arg4)) sc_inout(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_inout(tp_assign(arg3, arg3)) sc_inout(tp_assign(arg4, arg4)) sc_inout(tp_assign(arg5, arg5))), TP_printk() ) #endif @@ -859,323 +1042,386 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, #include "arm-32-syscalls-3.4.25_integers_override.h" #include "syscalls_integers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 0, 0) +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 316, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 20, 0) +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid16, 24, 0) +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 29, 0) +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 29, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 36, 0) +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 36, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid16, 47, 0) +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_geteuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid16, 49, 0) +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getegid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid16, 50, 0) +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 64, 0) +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 65, 0) +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 66, 0) +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 111, 0) +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 153, 0) +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 158, 0) +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 199, 0) +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 200, 0) +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 201, 0) +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 202, 0) +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 224, 0) +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 316, 0) +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 316, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit -TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 1, 1) +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 1, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_close -TRACE_SYSCALL_TABLE(sys_close, sys_close, 6, 1) +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 6, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_lseek -TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 19, 3) +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setuid16 -TRACE_SYSCALL_TABLE(sys_setuid16, sys_setuid16, 23, 1) +#ifndef OVERRIDE_TABLE_32_setuid16 +TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ptrace -TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 26, 4) +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_nice -TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 34, 1) +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 34, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_kill -TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 37, 2) +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 37, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup -TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 41, 1) +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 41, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_brk -TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 45, 1) +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 45, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgid16 -TRACE_SYSCALL_TABLE(sys_setgid16, sys_setgid16, 46, 1) +#ifndef OVERRIDE_TABLE_32_setgid16 +TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioctl -TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 54, 3) +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl -TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 55, 3) +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpgid -TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 57, 2) +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_umask -TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 60, 1) +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 60, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup2 -TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 63, 2) +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setreuid16 -TRACE_SYSCALL_TABLE(sys_setreuid16, sys_setreuid16, 70, 2) +#ifndef OVERRIDE_TABLE_32_setreuid16 +TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setregid16 -TRACE_SYSCALL_TABLE(sys_setregid16, sys_setregid16, 71, 2) +#ifndef OVERRIDE_TABLE_32_setregid16 +TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_munmap -TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 91, 2) +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ftruncate -TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 93, 2) +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmod -TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 94, 2) +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchown16 -TRACE_SYSCALL_TABLE(sys_fchown16, sys_fchown16, 95, 3) +#ifndef OVERRIDE_TABLE_32_fchown16 +TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpriority -TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 96, 2) +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpriority -TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 97, 3) +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsync -TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 118, 1) +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mprotect -TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 125, 3) +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgid -TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 132, 1) +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchdir -TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 133, 1) +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_bdflush -TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 134, 2) +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysfs -TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 135, 3) +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_personality -TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 136, 1) +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 136, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsuid16 -TRACE_SYSCALL_TABLE(sys_setfsuid16, sys_setfsuid16, 138, 1) +#ifndef OVERRIDE_TABLE_32_setfsuid16 +TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsgid16 -TRACE_SYSCALL_TABLE(sys_setfsgid16, sys_setfsgid16, 139, 1) +#ifndef OVERRIDE_TABLE_32_setfsgid16 +TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_flock -TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 143, 2) +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 143, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_msync -TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 144, 3) +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 144, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsid -TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 147, 1) +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fdatasync -TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 148, 1) +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlock -TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 150, 2) +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlock -TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 151, 2) +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlockall -TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 152, 1) +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler -TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 157, 1) +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max -TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 159, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min -TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 160, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mremap -TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 163, 5) +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresuid16 -TRACE_SYSCALL_TABLE(sys_setresuid16, sys_setresuid16, 164, 3) +#ifndef OVERRIDE_TABLE_32_setresuid16 +TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresgid16 -TRACE_SYSCALL_TABLE(sys_setresgid16, sys_setresgid16, 170, 3) +#ifndef OVERRIDE_TABLE_32_setresgid16 +TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_prctl -TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 172, 5) +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_setreuid -TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 203, 2) +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setregid -TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 204, 2) +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchown -TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 207, 3) +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresuid -TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 208, 3) +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresgid -TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 210, 3) +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setuid -TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 213, 1) +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgid -TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 214, 1) +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsuid -TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 215, 1) +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsgid -TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 216, 1) +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_madvise -TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 220, 3) +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 220, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl64 -TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 221, 3) +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_tkill -TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 238, 2) +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_destroy -TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 244, 1) +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 244, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit_group -TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 248, 1) +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 248, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create -TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 250, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 250, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_remap_file_pages -TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 253, 5) +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 253, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_getoverrun -TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 260, 1) +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 260, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_delete -TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 261, 1) +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 261, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_tgkill -TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 268, 3) +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 268, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_socket -TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 281, 3) +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 281, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_listen -TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 284, 2) +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 284, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_shutdown -TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 293, 2) +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 293, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_semget -TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 299, 3) +#ifndef OVERRIDE_TABLE_32_semget +TRACE_SYSCALL_TABLE(semget, semget, 299, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_msgget -TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 303, 2) +#ifndef OVERRIDE_TABLE_32_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 303, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_shmget -TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 307, 3) +#ifndef OVERRIDE_TABLE_32_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 307, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_keyctl -TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 311, 5) +#ifndef OVERRIDE_TABLE_32_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 311, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_set -TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 314, 3) +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 314, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_get -TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 315, 2) +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 315, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_rm_watch -TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 318, 2) +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 318, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unshare -TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 337, 1) +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 337, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_tee -TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 342, 4) +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 342, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_create -TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 350, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 350, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd -TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 351, 1) +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 351, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd2 -TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 356, 2) +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 356, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create1 -TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 357, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 357, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup3 -TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 358, 3) +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 358, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init1 -TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 360, 1) +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 360, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fanotify_init -TRACE_SYSCALL_TABLE(sys_fanotify_init, sys_fanotify_init, 367, 2) +#ifndef OVERRIDE_TABLE_32_fanotify_init +TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 367, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_syncfs -TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 373, 1) +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 373, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setns -TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 375, 2) +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 375, 2) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h index 2f5dfcb4..18f0703a 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h @@ -9,1722 +9,1722 @@ #include "arm-32-syscalls-3.4.25_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_32_sys_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chdir -SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rmdir -SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pipe -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe, - TP_PROTO(int * fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field_hex(int *, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_times -SC_LTTNG_TRACEPOINT_EVENT(sys_times, - TP_PROTO(struct tms * tbuf), - TP_ARGS(tbuf), - TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), - TP_fast_assign(tp_assign(tbuf, tbuf)), +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_acct -SC_LTTNG_TRACEPOINT_EVENT(sys_acct, - TP_PROTO(const char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chroot -SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, - TP_PROTO(old_sigset_t * set), - TP_ARGS(set), - TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), - TP_fast_assign(tp_assign(set, set)), +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_sigset_t *, set))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(set, set))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_uselib -SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, - TP_PROTO(const char * library), - TP_ARGS(library), - TP_STRUCT__entry(__field_hex(const char *, library)), - TP_fast_assign(tp_assign(library, library)), +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(library, library))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_swapoff -SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, - TP_PROTO(const char * specialfile), - TP_ARGS(specialfile), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), +#ifndef OVERRIDE_32_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, - TP_PROTO(struct sysinfo * info), - TP_ARGS(info), - TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), - TP_fast_assign(tp_assign(info, info)), +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newuname -SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, - TP_PROTO(struct new_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, - TP_PROTO(struct timex * txc_p), - TP_ARGS(txc_p), - TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), - TP_fast_assign(tp_assign(txc_p, txc_p)), +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, - TP_PROTO(struct __sysctl_args * args), - TP_ARGS(args), - TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), - TP_fast_assign(tp_assign(args, args)), +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, - TP_PROTO(int * tidptr), - TP_ARGS(tidptr), - TP_STRUCT__entry(__field_hex(int *, tidptr)), - TP_fast_assign(tp_assign(tidptr, tidptr)), +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_unlink, - TP_PROTO(const char * u_name), - TP_ARGS(u_name), - TP_STRUCT__entry(__string_from_user(u_name, u_name)), - TP_fast_assign(tp_copy_string_from_user(u_name, u_name)), +#ifndef OVERRIDE_32_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shmdt -SC_LTTNG_TRACEPOINT_EVENT(sys_shmdt, - TP_PROTO(char * shmaddr), - TP_ARGS(shmaddr), - TP_STRUCT__entry(__field_hex(char *, shmaddr)), - TP_fast_assign(tp_assign(shmaddr, shmaddr)), +#ifndef OVERRIDE_32_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(char *, shmaddr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmaddr, shmaddr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_creat -SC_LTTNG_TRACEPOINT_EVENT(sys_creat, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_link -SC_LTTNG_TRACEPOINT_EVENT(sys_link, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chmod -SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, - TP_PROTO(const char * filename, umode_t mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_access -SC_LTTNG_TRACEPOINT_EVENT(sys_access, - TP_PROTO(const char * filename, int mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rename -SC_LTTNG_TRACEPOINT_EVENT(sys_rename, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdir -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umount -SC_LTTNG_TRACEPOINT_EVENT(sys_umount, - TP_PROTO(char * name, int flags), - TP_ARGS(name, flags), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ustat -SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, - TP_PROTO(unsigned dev, struct ustat * ubuf), - TP_ARGS(dev, ubuf), - TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), - TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrusage -SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, - TP_PROTO(int who, struct rusage * ru), - TP_ARGS(who, ru), - TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getgroups16 -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups16, - TP_PROTO(int gidsetsize, old_gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_getgroups16 +SC_LTTNG_TRACEPOINT_EVENT(getgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gidsetsize, gidsetsize)) sc_inout(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgroups16 -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups16, - TP_PROTO(int gidsetsize, old_gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_setgroups16 +SC_LTTNG_TRACEPOINT_EVENT(setgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gidsetsize, gidsetsize)) sc_inout(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlink -SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_swapon -SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, - TP_PROTO(const char * specialfile, int swap_flags), - TP_ARGS(specialfile, swap_flags), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), +#ifndef OVERRIDE_32_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile)) sc_in(tp_assign(swap_flags, swap_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_truncate -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, - TP_PROTO(const char * path, long length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_statfs -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, - TP_PROTO(const char * pathname, struct statfs * buf), - TP_ARGS(pathname, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, - TP_PROTO(unsigned int fd, struct statfs * buf), - TP_ARGS(fd, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, - TP_PROTO(int which, struct itimerval * value), - TP_ARGS(which, value), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newlstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newfstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, - TP_PROTO(unsigned int fd, struct stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_delete_module -SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, - TP_PROTO(const char * name_user, unsigned int flags), - TP_ARGS(name_user, flags), - TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), - TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, - TP_PROTO(pid_t pid, struct timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, - TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(rqtp, rmtp), - TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, - TP_PROTO(sigset_t * set, size_t sigsetsize), - TP_ARGS(set, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(set, set) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, set)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(set, set)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, - TP_PROTO(sigset_t * unewset, size_t sigsetsize), - TP_ARGS(unewset, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(unewset, unewset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unewset, unewset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcwd -SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, - TP_PROTO(char * buf, unsigned long size), - TP_ARGS(buf, size), - TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), - TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, - TP_PROTO(unsigned long fd, struct stat64 * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, - TP_PROTO(const char * new_root, const char * put_old), - TP_ARGS(new_root, put_old), - TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), - TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_removexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, - TP_PROTO(int fd, const char * name), - TP_ARGS(fd, name), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_setup -SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, - TP_PROTO(unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(nr_events, ctxp), - TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), - TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, - TP_PROTO(timer_t timer_id, struct itimerspec * setting), - TP_ARGS(timer_id, setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, - TP_PROTO(const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimes -SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, - TP_PROTO(char * filename, struct timeval * utimes), - TP_ARGS(filename, utimes), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_notify, - TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(mqdes, u_notification), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct sigevent *, u_notification)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_notification, u_notification)), +#ifndef OVERRIDE_32_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_notification, u_notification))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, - TP_PROTO(struct robust_list_head * head, size_t len), - TP_ARGS(head, len), - TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), - TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, - TP_PROTO(int ufd, struct itimerspec * otmr), - TP_ARGS(ufd, otmr), - TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, - TP_PROTO(int * fildes, int flags), - TP_ARGS(fildes, flags), - TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), - TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, - TP_PROTO(const clockid_t which_clock, struct timex * utx), - TP_ARGS(which_clock, utx), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_read -SC_LTTNG_TRACEPOINT_EVENT(sys_read, - TP_PROTO(unsigned int fd, char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_write -SC_LTTNG_TRACEPOINT_EVENT(sys_write, - TP_PROTO(unsigned int fd, const char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_open -SC_LTTNG_TRACEPOINT_EVENT(sys_open, - TP_PROTO(const char * filename, int flags, umode_t mode), - TP_ARGS(filename, flags, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknod -SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, - TP_PROTO(const char * filename, umode_t mode, unsigned dev), - TP_ARGS(filename, mode, dev), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lchown16 -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown16, - TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_lchown16 +SC_LTTNG_TRACEPOINT_EVENT(lchown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlink -SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, - TP_PROTO(const char * path, char * buf, int bufsiz), - TP_ARGS(path, buf, bufsiz), - TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syslog -SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, - TP_PROTO(int type, char * buf, int len), - TP_ARGS(type, buf, len), - TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), - TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, - TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(which, value, ovalue), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, - TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(how, nset, oset), - TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(old_sigset_t *, nset)) sc_inout(__field_hex(old_sigset_t *, oset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(how, how)) sc_inout(tp_assign(nset, nset)) sc_inout(tp_assign(oset, oset))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_init_module -SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, - TP_PROTO(void * umod, unsigned long len, const char * uargs), - TP_ARGS(umod, len, uargs), - TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), - TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, - TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_readv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_writev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, - TP_PROTO(pid_t pid, int policy, struct sched_param * param), - TP_ARGS(pid, policy, param), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresuid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid16, - TP_PROTO(old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field_hex(old_uid_t *, ruid) __field_hex(old_uid_t *, euid) __field_hex(old_uid_t *, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_getresuid16 +SC_LTTNG_TRACEPOINT_EVENT(getresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_uid_t *, ruid)) sc_inout(__field_hex(old_uid_t *, euid)) sc_inout(__field_hex(old_uid_t *, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid)) sc_inout(tp_assign(suid, suid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_poll -SC_LTTNG_TRACEPOINT_EVENT(sys_poll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(ufds, nfds, timeout_msecs), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(int, timeout_msecs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresgid16 -SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid16, - TP_PROTO(old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field_hex(old_gid_t *, rgid) __field_hex(old_gid_t *, egid) __field_hex(old_gid_t *, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_getresgid16 +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_gid_t *, rgid)) sc_inout(__field_hex(old_gid_t *, egid)) sc_inout(__field_hex(old_gid_t *, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid)) sc_inout(tp_assign(sgid, sgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, - TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chown16 -SC_LTTNG_TRACEPOINT_EVENT(sys_chown16, - TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_chown16 +SC_LTTNG_TRACEPOINT_EVENT(chown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lchown -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, - TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field_hex(uid_t *, ruid) __field_hex(uid_t *, euid) __field_hex(uid_t *, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruid)) sc_out(__field_hex(uid_t *, euid)) sc_out(__field_hex(uid_t *, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruid, ruid)) sc_out(tp_assign(euid, euid)) sc_out(tp_assign(suid, suid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, - TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field_hex(gid_t *, rgid) __field_hex(gid_t *, egid) __field_hex(gid_t *, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgid)) sc_out(__field_hex(gid_t *, egid)) sc_out(__field_hex(gid_t *, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgid, rgid)) sc_out(tp_assign(egid, egid)) sc_out(tp_assign(sgid, sgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chown -SC_LTTNG_TRACEPOINT_EVENT(sys_chown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, - TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mincore -SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, - TP_PROTO(unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(start, len, vec), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, - TP_PROTO(int fd, char * list, size_t size), - TP_ARGS(fd, list, size), - TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_in(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_out(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_submit -SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, - TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(ctx_id, nr, iocbpp), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, - TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(ctx_id, iocb, result), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, - TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(which_clock, timer_event_spec, created_timer_id), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_getsetattr, - TP_PROTO(mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(mqdes, u_mqstat, u_omqstat), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct mq_attr *, u_mqstat) __field_hex(struct mq_attr *, u_omqstat)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_mqstat, u_mqstat) tp_assign(u_omqstat, u_omqstat)), +#ifndef OVERRIDE_32_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_mqstat, u_mqstat)) sc_out(tp_assign(u_omqstat, u_omqstat))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bind -SC_LTTNG_TRACEPOINT_EVENT(sys_bind, - TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(fd, umyaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(umyaddr, umyaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_connect -SC_LTTNG_TRACEPOINT_EVENT(sys_connect, - TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(fd, uservaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uservaddr, uservaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept -SC_LTTNG_TRACEPOINT_EVENT(sys_accept, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockname -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpeername -SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_semop -SC_LTTNG_TRACEPOINT_EVENT(sys_semop, - TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(semid, tsops, nsops), - TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), - TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops)), +#ifndef OVERRIDE_32_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msgctl -SC_LTTNG_TRACEPOINT_EVENT(sys_msgctl, - TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(msqid, cmd, buf), - TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(cmd, cmd) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct msqid_ds *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shmat -SC_LTTNG_TRACEPOINT_EVENT(sys_shmat, - TP_PROTO(int shmid, char * shmaddr, int shmflg), - TP_ARGS(shmid, shmaddr, shmflg), - TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), - TP_fast_assign(tp_assign(shmid, shmid) tp_assign(shmaddr, shmaddr) tp_assign(shmflg, shmflg)), +#ifndef OVERRIDE_32_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field_hex(char *, shmaddr)) sc_in(__field(int, shmflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(shmaddr, shmaddr)) sc_in(tp_assign(shmflg, shmflg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shmctl -SC_LTTNG_TRACEPOINT_EVENT(sys_shmctl, - TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(shmid, cmd, buf), - TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), - TP_fast_assign(tp_assign(shmid, shmid) tp_assign(cmd, cmd) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct shmid_ds *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, - TP_PROTO(int fd, const char * pathname, u32 mask), - TP_ARGS(fd, pathname, mask), - TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, - TP_PROTO(int dfd, const char * pathname, umode_t mode), - TP_ARGS(dfd, pathname, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futimesat -SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, - TP_PROTO(int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(dfd, filename, utimes), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, - TP_PROTO(int dfd, const char * pathname, int flag), - TP_ARGS(dfd, pathname, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, - TP_PROTO(const char * oldname, int newdfd, const char * newname), - TP_ARGS(oldname, newdfd, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, - TP_PROTO(int dfd, const char * filename, umode_t mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_faccessat -SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, - TP_PROTO(int dfd, const char * filename, int mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, - TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(pid, head_ptr, len_ptr), - TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcpu -SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, - TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(cpup, nodep, unused), - TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), - TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(ufd, user_mask, sizemask), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(sys_open_by_handle_at, - TP_PROTO(int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(mountdirfd, handle, flags), - TP_STRUCT__entry(__field(int, mountdirfd) __field_hex(struct file_handle *, handle) __field(int, flags)), - TP_fast_assign(tp_assign(mountdirfd, mountdirfd) tp_assign(handle, handle) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mountdirfd)) sc_in(__field_hex(struct file_handle *, handle)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mountdirfd, mountdirfd)) sc_in(tp_assign(handle, handle)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_reboot -SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, - TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(magic1, magic2, cmd, arg), - TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), - TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_wait4 -SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, - TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(upid, stat_addr, options, ru), - TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_quotactl -SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, - TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(cmd, special, id, addr), - TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), - TP_fast_assign(tp_assign(cmd, cmd) tp_assign(special, special) tp_assign(id, id) tp_assign(addr, addr)), +#ifndef OVERRIDE_32_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(special, special)) sc_in(tp_assign(id, id)) sc_inout(tp_assign(addr, addr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sig, act, oact, sigsetsize), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, - TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(how, nset, oset, sigsetsize), - TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, - TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(uthese, uinfo, uts, sigsetsize), - TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, - TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, out_fd)) sc_inout(__field(int, in_fd)) sc_inout(__field_hex(off_t *, offset)) sc_inout(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(out_fd, out_fd)) sc_inout(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, - TP_PROTO(int fd, const char * name, void * value, size_t size), - TP_ARGS(fd, name, value, size), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, - TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, - TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(epfd, op, fd, event), - TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(epfd, events, maxevents, timeout), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, - TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(timer_id, flags, new_setting, old_setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, - TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(which_clock, flags, rqtp, rmtp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_open -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_open, - TP_PROTO(const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), - TP_ARGS(u_name, oflag, mode, u_attr), - TP_STRUCT__entry(__string_from_user(u_name, u_name) __field(int, oflag) __field(umode_t, mode) __field_hex(struct mq_attr *, u_attr)), - TP_fast_assign(tp_copy_string_from_user(u_name, u_name) tp_assign(oflag, oflag) tp_assign(mode, mode) tp_assign(u_attr, u_attr)), +#ifndef OVERRIDE_32_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(umode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name)) sc_in(tp_assign(oflag, oflag)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(u_attr, u_attr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socketpair -SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, - TP_PROTO(int family, int type, int protocol, int * usockvec), - TP_ARGS(family, type, protocol, usockvec), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol)) sc_out(tp_assign(usockvec, usockvec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_send -SC_LTTNG_TRACEPOINT_EVENT(sys_send, - TP_PROTO(int fd, void * buff, size_t len, unsigned flags), - TP_ARGS(fd, buff, len, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field_hex(void *, buff)) sc_inout(__field(size_t, len)) sc_inout(__field(unsigned, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buff, buff)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(sys_msgsnd, - TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_32_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_request_key -SC_LTTNG_TRACEPOINT_EVENT(sys_request_key, - TP_PROTO(const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(_type, _description, _callout_info, destringid), - TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const char *, _callout_info) __field(key_serial_t, destringid)), - TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_callout_info, _callout_info) tp_assign(destringid, destringid)), +#ifndef OVERRIDE_32_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_callout_info, _callout_info)) sc_in(tp_assign(destringid, destringid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(sys_semtimedop, - TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(semid, tsops, nsops, timeout), - TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), - TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops)) sc_inout(__field_hex(const struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_openat -SC_LTTNG_TRACEPOINT_EVENT(sys_openat, - TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(dfd, filename, flags, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknodat -SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, - TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(dfd, filename, mode, dev), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, - TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(dfd, filename, statbuf, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf)) sc_inout(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(dfd, dfd)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf)) sc_inout(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_renameat -SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(olddfd, oldname, newdfd, newname), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, - TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(dfd, pathname, buf, bufsiz), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, - TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(fd, iov, nr_segs, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimensat -SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, - TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(dfd, filename, utimes, flags), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, - TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(ufd, flags, utmr, otmr), - TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(ufd, user_mask, sizemask, flags), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, - TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(tgid, pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept4 -SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, - TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(pid, resource, new_rlim, old_rlim), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(fd, mmsg, vlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mount -SC_LTTNG_TRACEPOINT_EVENT(sys_mount, - TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(dev_name, dir_name, type, flags, data), - TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), - TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llseek -SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, - TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(fd, offset_high, offset_low, result, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned long, offset_high)) sc_inout(__field(unsigned long, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset_high, offset_high)) sc_inout(tp_assign(offset_low, offset_low)) sc_inout(tp_assign(result, result)) sc_inout(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_select -SC_LTTNG_TRACEPOINT_EVENT(sys_select, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(n, inp, outp, exp, tvp), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, - TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(fd, name, value, size, flags), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, - TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(ctx_id, min_nr, nr, events, timeout), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedsend, - TP_PROTO(mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), - TP_ARGS(mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const char *, u_msg_ptr) __field(size_t, msg_len) __field(unsigned int, msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(msg_prio, msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), +#ifndef OVERRIDE_32_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_in(tp_assign(msg_prio, msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedreceive, - TP_PROTO(mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), - TP_ARGS(mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(char *, u_msg_ptr) __field(size_t, msg_len) __field_hex(unsigned int *, u_msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(u_msg_prio, u_msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), +#ifndef OVERRIDE_32_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_out(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_out(tp_assign(u_msg_prio, u_msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_waitid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, - TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(which, upid, infop, options, ru), - TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_in(tp_assign(optval, optval)) sc_in(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_out(tp_assign(optval, optval)) sc_inout(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(sys_msgrcv, - TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_32_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_out(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(long, msgtyp)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_out(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgtyp, msgtyp)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_add_key -SC_LTTNG_TRACEPOINT_EVENT(sys_add_key, - TP_PROTO(const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(_type, _description, _payload, plen, ringid), - TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const void *, _payload) __field(size_t, plen) __field(key_serial_t, ringid)), - TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_payload, _payload) tp_assign(plen, plen) tp_assign(ringid, ringid)), +#ifndef OVERRIDE_32_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_payload, _payload)) sc_in(tp_assign(plen, plen)) sc_in(tp_assign(ringid, ringid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchownat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, - TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(dfd, filename, user, group, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_linkat -SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(olddfd, oldname, newdfd, newname, flags), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ppoll -SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_preadv -SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pwritev -SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, - TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), - TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(attr_uptr, attr_uptr) tp_assign(pid, pid) tp_assign(cpu, cpu) tp_assign(group_fd, group_fd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(attr_uptr, attr_uptr)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(cpu, cpu)) sc_in(tp_assign(group_fd, group_fd)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(fd, mmsg, vlen, flags, timeout), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(sys_name_to_handle_at, - TP_PROTO(int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(dfd, name, handle, mnt_id, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(name, name) __field_hex(struct file_handle *, handle) __field_hex(int *, mnt_id) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(name, name) tp_assign(handle, handle) tp_assign(mnt_id, mnt_id) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(name, name)) sc_inout(__field_hex(struct file_handle *, handle)) sc_out(__field_hex(int *, mnt_id)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(name, name)) sc_inout(tp_assign(handle, handle)) sc_out(tp_assign(mnt_id, mnt_id)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futex -SC_LTTNG_TRACEPOINT_EVENT(sys_futex, - TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(uaddr, op, val, utime, uaddr2, val3), - TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), - TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendto -SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, - TP_PROTO(int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), - TP_ARGS(fd, buff, len, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buff, buff)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, - TP_PROTO(int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(fd, ubuf, size, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(ubuf, ubuf)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags)) sc_out(tp_assign(addr, addr)) sc_inout(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(n, inp, outp, exp, tsp, sig), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_splice -SC_LTTNG_TRACEPOINT_EVENT(sys_splice, - TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), - TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), - TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_readv, - TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_writev, - TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif @@ -1739,578 +1739,578 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_writev, #include "arm-32-syscalls-3.4.25_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_read -TRACE_SYSCALL_TABLE(sys_read, sys_read, 3, 3) +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 3, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_write -TRACE_SYSCALL_TABLE(sys_write, sys_write, 4, 3) +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_open -TRACE_SYSCALL_TABLE(sys_open, sys_open, 5, 3) +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 5, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_creat -TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 8, 2) +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 8, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_link -TRACE_SYSCALL_TABLE(sys_link, sys_link, 9, 2) +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 9, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlink -TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 10, 1) +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_chdir -TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 12, 1) +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknod -TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 14, 3) +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_chmod -TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 15, 2) +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lchown16 -TRACE_SYSCALL_TABLE(sys_lchown16, sys_lchown16, 16, 3) +#ifndef OVERRIDE_TABLE_32_lchown16 +TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mount -TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 21, 5) +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 21, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_access -TRACE_SYSCALL_TABLE(sys_access, sys_access, 33, 2) +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 33, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rename -TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 38, 2) +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 38, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdir -TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 39, 2) +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rmdir -TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 40, 1) +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_pipe -TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 42, 1) +#ifndef OVERRIDE_TABLE_32_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_times -TRACE_SYSCALL_TABLE(sys_times, sys_times, 43, 1) +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 43, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_acct -TRACE_SYSCALL_TABLE(sys_acct, sys_acct, 51, 1) +#ifndef OVERRIDE_TABLE_32_acct +TRACE_SYSCALL_TABLE(acct, acct, 51, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_umount -TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 52, 2) +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 52, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_chroot -TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 61, 1) +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ustat -TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 62, 2) +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigpending -TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 73, 1) +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sethostname -TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 74, 2) +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setrlimit -TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 75, 2) +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrusage -TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 77, 2) +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettimeofday -TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 78, 2) +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_settimeofday -TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 79, 2) +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgroups16 -TRACE_SYSCALL_TABLE(sys_getgroups16, sys_getgroups16, 80, 2) +#ifndef OVERRIDE_TABLE_32_getgroups16 +TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgroups16 -TRACE_SYSCALL_TABLE(sys_setgroups16, sys_setgroups16, 81, 2) +#ifndef OVERRIDE_TABLE_32_setgroups16 +TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlink -TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 83, 2) +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlink -TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 85, 3) +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_uselib -TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 86, 1) +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_swapon -TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 87, 2) +#ifndef OVERRIDE_TABLE_32_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_reboot -TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 88, 4) +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_truncate -TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 92, 2) +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_statfs -TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 99, 2) +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs -TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 100, 2) +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_syslog -TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setitimer -TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 104, 3) +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getitimer -TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 105, 2) +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newstat -TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 106, 2) +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newlstat -TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 107, 2) +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newfstat -TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 108, 2) +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_wait4 -TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 114, 4) +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_swapoff -TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 115, 1) +#ifndef OVERRIDE_TABLE_32_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysinfo -TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 116, 1) +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setdomainname -TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 121, 2) +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newuname -TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 122, 1) +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_adjtimex -TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 124, 1) +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigprocmask -TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 126, 3) +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_init_module -TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 128, 3) +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_delete_module -TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 129, 2) +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_quotactl -TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 131, 4) +#ifndef OVERRIDE_TABLE_32_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_llseek -TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 140, 5) +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents -TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 141, 3) +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_select -TRACE_SYSCALL_TABLE(sys_select, sys_select, 142, 5) +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 142, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_readv -TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 145, 3) +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 145, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_writev -TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 146, 3) +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 146, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysctl -TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 149, 1) +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setparam -TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 154, 2) +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getparam -TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 155, 2) +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler -TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 156, 3) +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 161, 2) +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_nanosleep -TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 162, 2) +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresuid16 -TRACE_SYSCALL_TABLE(sys_getresuid16, sys_getresuid16, 165, 3) +#ifndef OVERRIDE_TABLE_32_getresuid16 +TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_poll -TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 168, 3) +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 168, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresgid16 -TRACE_SYSCALL_TABLE(sys_getresgid16, sys_getresgid16, 171, 3) +#ifndef OVERRIDE_TABLE_32_getresgid16 +TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigaction -TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 174, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask -TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 175, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigpending -TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 176, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait -TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 177, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 178, 3) +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend -TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 179, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_chown16 -TRACE_SYSCALL_TABLE(sys_chown16, sys_chown16, 182, 3) +#ifndef OVERRIDE_TABLE_32_chown16 +TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcwd -TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 183, 2) +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile -TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 187, 4) +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrlimit -TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 191, 2) +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_stat64 -TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 195, 2) +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lstat64 -TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 196, 2) +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstat64 -TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 197, 2) +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lchown -TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 198, 3) +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgroups -TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 205, 2) +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgroups -TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 206, 2) +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresuid -TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 209, 3) +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresgid -TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 211, 3) +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_chown -TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 212, 3) +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 212, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents64 -TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 217, 3) +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_pivot_root -TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 218, 2) +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 218, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mincore -TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 219, 3) +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 219, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setxattr -TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 226, 5) +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_lsetxattr -TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 227, 5) +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsetxattr -TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 228, 5) +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getxattr -TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 229, 4) +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_lgetxattr -TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 230, 4) +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fgetxattr -TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 231, 4) +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_listxattr -TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 232, 3) +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_llistxattr -TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 233, 3) +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_flistxattr -TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 234, 3) +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_removexattr -TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 235, 2) +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lremovexattr -TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 236, 2) +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fremovexattr -TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 237, 2) +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile64 -TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 239, 4) +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_futex -TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 240, 6) +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 240, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setaffinity -TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 241, 3) +#ifndef OVERRIDE_TABLE_32_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getaffinity -TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 242, 3) +#ifndef OVERRIDE_TABLE_32_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_setup -TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 243, 2) +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 243, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_getevents -TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 245, 5) +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 245, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_submit -TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 246, 3) +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 246, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_cancel -TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 247, 3) +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 247, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_ctl -TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 251, 4) +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 251, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_wait -TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 252, 4) +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 252, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_tid_address -TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 256, 1) +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 256, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_create -TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 257, 3) +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 257, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_settime -TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 258, 4) +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 258, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_gettime -TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 259, 2) +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 259, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_settime -TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 262, 2) +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 262, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_gettime -TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 263, 2) +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 263, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_getres -TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 264, 2) +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 264, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep -TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 265, 4) +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 265, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimes -TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 269, 2) +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 269, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_open -TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 274, 4) +#ifndef OVERRIDE_TABLE_32_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 274, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_unlink -TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 275, 1) +#ifndef OVERRIDE_TABLE_32_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 275, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_timedsend -TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 276, 5) +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 276, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_timedreceive -TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 277, 5) +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 277, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_notify -TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 278, 2) +#ifndef OVERRIDE_TABLE_32_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 278, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_getsetattr -TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 279, 3) +#ifndef OVERRIDE_TABLE_32_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 279, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_waitid -TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 280, 5) +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 280, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_bind -TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 282, 3) +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 282, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_connect -TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 283, 3) +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 283, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept -TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 285, 3) +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 285, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockname -TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 286, 3) +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 286, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpeername -TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 287, 3) +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 287, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_socketpair -TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 288, 4) +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 288, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_send -TRACE_SYSCALL_TABLE(sys_send, sys_send, 289, 4) +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 289, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendto -TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 290, 6) +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 290, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvfrom -TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 292, 6) +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 292, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsockopt -TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 294, 5) +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 294, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockopt -TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 295, 5) +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 295, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmsg -TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 296, 3) +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 296, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmsg -TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 297, 3) +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 297, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_semop -TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 298, 3) +#ifndef OVERRIDE_TABLE_32_semop +TRACE_SYSCALL_TABLE(semop, semop, 298, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_msgsnd -TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 301, 4) +#ifndef OVERRIDE_TABLE_32_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 301, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_msgrcv -TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 302, 5) +#ifndef OVERRIDE_TABLE_32_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 302, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_msgctl -TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 304, 3) +#ifndef OVERRIDE_TABLE_32_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 304, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_shmat -TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 305, 3) +#ifndef OVERRIDE_TABLE_32_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 305, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_shmdt -TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 306, 1) +#ifndef OVERRIDE_TABLE_32_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 306, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_shmctl -TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 308, 3) +#ifndef OVERRIDE_TABLE_32_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 308, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_add_key -TRACE_SYSCALL_TABLE(sys_add_key, sys_add_key, 309, 5) +#ifndef OVERRIDE_TABLE_32_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 309, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_request_key -TRACE_SYSCALL_TABLE(sys_request_key, sys_request_key, 310, 4) +#ifndef OVERRIDE_TABLE_32_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 310, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_semtimedop -TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 312, 4) +#ifndef OVERRIDE_TABLE_32_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 312, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch -TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 317, 3) +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 317, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_openat -TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 322, 4) +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 322, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdirat -TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 323, 3) +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 323, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknodat -TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 324, 4) +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 324, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchownat -TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 325, 5) +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 325, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_futimesat -TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 326, 3) +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 326, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatat64 -TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 327, 4) +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 327, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlinkat -TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 328, 3) +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 328, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_renameat -TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 329, 4) +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 329, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_linkat -TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 330, 5) +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 330, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlinkat -TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 331, 3) +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 331, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlinkat -TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 332, 4) +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 332, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmodat -TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 333, 3) +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 333, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_faccessat -TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 334, 3) +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 334, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_pselect6 -TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 335, 6) +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 335, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_ppoll -TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 336, 5) +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 336, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_robust_list -TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 338, 2) +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 338, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_get_robust_list -TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 339, 3) +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 339, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_splice -TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 340, 6) +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 340, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_vmsplice -TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 343, 4) +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 343, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcpu -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 345, 3) +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 345, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_pwait -TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 346, 6) +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 346, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimensat -TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 348, 4) +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 348, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd -TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 349, 3) +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_settime -TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 353, 4) +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 353, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime -TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 354, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 354, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd4 -TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 355, 4) +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 355, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_pipe2 -TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 359, 2) +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 359, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_preadv -TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 361, 5) +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 361, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_pwritev -TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 362, 5) +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 362, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 363, 4) +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 363, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_perf_event_open -TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 364, 5) +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 364, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmmsg -TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 365, 5) +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 365, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept4 -TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 366, 4) +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_prlimit64 -TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 369, 4) +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 369, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_name_to_handle_at -TRACE_SYSCALL_TABLE(sys_name_to_handle_at, sys_name_to_handle_at, 370, 5) +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 370, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_open_by_handle_at -TRACE_SYSCALL_TABLE(sys_open_by_handle_at, sys_open_by_handle_at, 371, 3) +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 371, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_adjtime -TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 372, 2) +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 372, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmmsg -TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 374, 4) +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 374, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_process_vm_readv -TRACE_SYSCALL_TABLE(sys_process_vm_readv, sys_process_vm_readv, 376, 6) +#ifndef OVERRIDE_TABLE_32_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 376, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_process_vm_writev -TRACE_SYSCALL_TABLE(sys_process_vm_writev, sys_process_vm_writev, 377, 6) +#ifndef OVERRIDE_TABLE_32_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 377, 6) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h index ff0bbbde..48c2b5f8 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h @@ -9,815 +9,971 @@ #include "mips-32-syscalls-3.13.0_integers_override.h" #include "syscalls_integers_override.h" +#ifdef SC_ENTER SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_32_sys_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif -#ifndef OVERRIDE_32_sys_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif -#ifndef OVERRIDE_32_sys_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif -#ifndef OVERRIDE_32_sys_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif -#ifndef OVERRIDE_32_sys_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif -#ifndef OVERRIDE_32_sys_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif -#ifndef OVERRIDE_32_sys_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif -#ifndef OVERRIDE_32_sys_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif -#ifndef OVERRIDE_32_sys_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif -#ifndef OVERRIDE_32_sys_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif -#ifndef OVERRIDE_32_sys_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) #endif -#ifndef OVERRIDE_32_sys_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif -#ifndef OVERRIDE_32_sys_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif -#ifndef OVERRIDE_32_sys_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif -#ifndef OVERRIDE_32_sys_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif -#ifndef OVERRIDE_32_sys_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif -#ifndef OVERRIDE_32_sys_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif -#ifndef OVERRIDE_32_sys_exit -SC_LTTNG_TRACEPOINT_EVENT(sys_exit, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_close -SC_LTTNG_TRACEPOINT_EVENT(sys_close, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_alarm -SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, - TP_PROTO(unsigned int seconds), - TP_ARGS(seconds), - TP_STRUCT__entry(__field(unsigned int, seconds)), - TP_fast_assign(tp_assign(seconds, seconds)), +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nice -SC_LTTNG_TRACEPOINT_EVENT(sys_nice, - TP_PROTO(int increment), - TP_ARGS(increment), - TP_STRUCT__entry(__field(int, increment)), - TP_fast_assign(tp_assign(increment, increment)), +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup -SC_LTTNG_TRACEPOINT_EVENT(sys_dup, - TP_PROTO(unsigned int fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field(unsigned int, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_brk -SC_LTTNG_TRACEPOINT_EVENT(sys_brk, - TP_PROTO(unsigned long brk), - TP_ARGS(brk), - TP_STRUCT__entry(__field(unsigned long, brk)), - TP_fast_assign(tp_assign(brk, brk)), +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umask -SC_LTTNG_TRACEPOINT_EVENT(sys_umask, - TP_PROTO(int mask), - TP_ARGS(mask), - TP_STRUCT__entry(__field(int, mask)), - TP_fast_assign(tp_assign(mask, mask)), +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, - TP_PROTO(int newmask), - TP_ARGS(newmask), - TP_STRUCT__entry(__field(int, newmask)), - TP_fast_assign(tp_assign(newmask, newmask)), +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsync -SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchdir -SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_personality, - TP_PROTO(unsigned int personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned int, personality)), - TP_fast_assign(tp_assign(personality, personality)), +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsid -SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlockall -SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(seconds, seconds))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(increment, increment))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, - TP_PROTO(aio_context_t ctx), - TP_ARGS(ctx), - TP_STRUCT__entry(__field(aio_context_t, ctx)), - TP_fast_assign(tp_assign(ctx, ctx)), +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_exit_group -SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(brk, brk))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, - TP_PROTO(int size), - TP_ARGS(size), - TP_STRUCT__entry(__field(int, size)), - TP_fast_assign(tp_assign(size, size)), +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, newmask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(newmask, newmask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(sys_set_thread_area, - TP_PROTO(unsigned long addr), - TP_ARGS(addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr)), - TP_fast_assign(tp_assign(addr, addr)), +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unshare -SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, - TP_PROTO(unsigned long unshare_flags), - TP_ARGS(unshare_flags), - TP_STRUCT__entry(__field(unsigned long, unshare_flags)), - TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, - TP_PROTO(unsigned int count), - TP_ARGS(count), - TP_STRUCT__entry(__field(unsigned int, count)), - TP_fast_assign(tp_assign(count, count)), +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(personality, personality))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syncfs -SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, - TP_PROTO(int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_kill -SC_LTTNG_TRACEPOINT_EVENT(sys_kill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, - TP_PROTO(pid_t pid, pid_t pgid), - TP_ARGS(pid, pgid), - TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup2 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, - TP_PROTO(unsigned int oldfd, unsigned int newfd), - TP_ARGS(oldfd, newfd), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setreuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, - TP_PROTO(uid_t ruid, uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setregid -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, - TP_PROTO(gid_t rgid, gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munmap -SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, - TP_PROTO(unsigned long addr, size_t len), - TP_ARGS(addr, len), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, - TP_PROTO(unsigned int fd, unsigned long length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx, ctx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmod -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, - TP_PROTO(unsigned int fd, umode_t mode), - TP_ARGS(fd, mode), - TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bdflush -SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, - TP_PROTO(int func, long data), - TP_ARGS(func, data), - TP_STRUCT__entry(__field(int, func) __field(long, data)), - TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flock -SC_LTTNG_TRACEPOINT_EVENT(sys_flock, - TP_PROTO(unsigned int fd, unsigned int cmd), - TP_ARGS(fd, cmd), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlock -SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) unsigned long addr), + TP_ARGS(sc_exit(ret,) addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munlock -SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listen -SC_LTTNG_TRACEPOINT_EVENT(sys_listen, - TP_PROTO(int fd, int backlog), - TP_ARGS(fd, backlog), - TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shutdown -SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, - TP_PROTO(int fd, int how), - TP_ARGS(fd, how), - TP_STRUCT__entry(__field(int, fd) __field(int, how)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate64, - TP_PROTO(unsigned int fd, loff_t length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(loff_t, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, - TP_PROTO(int fd, __s32 wd), - TP_ARGS(fd, wd), - TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(pgid, pgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, - TP_PROTO(int clockid, int flags), - TP_ARGS(clockid, flags), - TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), - TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, - TP_PROTO(unsigned int count, int flags), - TP_ARGS(count, flags), - TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), - TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setns -SC_LTTNG_TRACEPOINT_EVENT(sys_setns, - TP_PROTO(int fd, int nstype), - TP_ARGS(fd, nstype), - TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(nstype, nstype)), +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lseek -SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, - TP_PROTO(unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(fd, offset, whence), - TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, whence)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(whence, whence)), +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioctl -SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchown -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, - TP_PROTO(unsigned int fd, uid_t user, gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, - TP_PROTO(int which, int who, int niceval), - TP_ARGS(which, who, niceval), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(func, func)) sc_inout(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mprotect -SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, - TP_PROTO(unsigned long start, size_t len, unsigned long prot), - TP_ARGS(start, len, prot), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, - TP_PROTO(int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(option, arg1, arg2), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msync -SC_LTTNG_TRACEPOINT_EVENT(sys_msync, - TP_PROTO(unsigned long start, size_t len, int flags), - TP_ARGS(start, len, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, - TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(addr, bytes, cache), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(bytes, bytes) tp_assign(cache, cache)), +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(backlog, backlog))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysmips -SC_LTTNG_TRACEPOINT_EVENT(sys_sysmips, - TP_PROTO(long cmd, long arg1, long arg2), - TP_ARGS(cmd, arg1, arg2), - TP_STRUCT__entry(__field(long, cmd) __field(long, arg1) __field(long, arg2)), - TP_fast_assign(tp_assign(cmd, cmd) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(how, how))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socket -SC_LTTNG_TRACEPOINT_EVENT(sys_socket, - TP_PROTO(int family, int type, int protocol), - TP_ARGS(family, type, protocol), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), +#ifndef OVERRIDE_32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(loff_t, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, - TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, - TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_madvise -SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, - TP_PROTO(unsigned long start, size_t len_in, int behavior), - TP_ARGS(start, len_in, behavior), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), - TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readahead -SC_LTTNG_TRACEPOINT_EVENT(sys_readahead, - TP_PROTO(int fd, loff_t offset, size_t count), - TP_ARGS(fd, offset, count), - TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tgkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, - TP_PROTO(pid_t tgid, pid_t pid, int sig), - TP_ARGS(tgid, pid, sig), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, - TP_PROTO(int which, int who, int ioprio), - TP_ARGS(which, who, ioprio), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset, whence), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, whence))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(whence, whence))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup3 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, - TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(oldfd, newfd, flags), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ptrace -SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, - TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(request, pid, addr, data), - TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), - TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fadvise64_64, - TP_PROTO(int fd, loff_t offset, loff_t len, int advice), - TP_ARGS(fd, offset, len, advice), - TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(loff_t, len) __field(int, advice)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(len, len) tp_assign(advice, advice)), +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sys_sync_file_range, - TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(fd, offset, nbytes, flags), - TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(loff_t, nbytes) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(nbytes, nbytes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(niceval, niceval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tee -SC_LTTNG_TRACEPOINT_EVENT(sys_tee, - TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(fdin, fdout, len, flags), - TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(prot, prot))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fallocate -SC_LTTNG_TRACEPOINT_EVENT(sys_fallocate, - TP_PROTO(int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(fd, mode, offset, len), - TP_STRUCT__entry(__field(int, fd) __field(int, mode) __field(loff_t, offset) __field(loff_t, len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode) tp_assign(offset, offset) tp_assign(len, len)), +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_in(tp_assign(arg1, arg1)) sc_in(tp_assign(arg2, arg2))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mremap -SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, - TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(addr, old_len, new_len, flags, new_addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prctl -SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_32_cacheflush +SC_LTTNG_TRACEPOINT_EVENT(cacheflush, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), + TP_ARGS(sc_exit(ret,) addr, bytes, cache), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, bytes)) sc_inout(__field(unsigned int, cache))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(bytes, bytes)) sc_inout(tp_assign(cache, cache))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, - TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(start, size, prot, pgoff, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sysmips +SC_LTTNG_TRACEPOINT_EVENT(sysmips, + TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), + TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(long, cmd)) sc_inout(__field(long, arg1)) sc_inout(__field(long, arg2))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg1, arg1)) sc_inout(tp_assign(arg2, arg2))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, - TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(addr, len, prot, flags, fd, offset), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, offset)), +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap2, - TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(addr, len, prot, flags, fd, pgoff), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(unsigned long, pgoff)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(pgoff, pgoff)), +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid)) sc_in(tp_assign(suid, suid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid)) sc_in(tp_assign(sgid, sgid))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len_in, len_in)) sc_in(tp_assign(behavior, behavior))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_readahead +SC_LTTNG_TRACEPOINT_EVENT(readahead, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), + TP_ARGS(sc_exit(ret,) fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(ioprio, ioprio))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(request, request)) sc_in(tp_assign(pid, pid)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(data, data))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset, len, advice), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field(loff_t, offset)) sc_inout(__field(loff_t, len)) sc_inout(__field(int, advice))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(advice, advice))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, nbytes)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(nbytes, nbytes)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fdin, fdin)) sc_in(tp_assign(fdout, fdout)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_fallocate +SC_LTTNG_TRACEPOINT_EVENT(fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), + TP_ARGS(sc_exit(ret,) fd, mode, offset, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, mode)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(len, len))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(old_len, old_len)) sc_in(tp_assign(new_len, new_len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_addr, new_addr))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_in(tp_assign(arg3, arg3)) sc_in(tp_assign(arg4, arg4)) sc_in(tp_assign(arg5, arg5))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(size, size)) sc_in(tp_assign(prot, prot)) sc_in(tp_assign(pgoff, pgoff)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_mips_mmap +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(off_t, offset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(prot, prot)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset, offset))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_mips_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(unsigned long, pgoff))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(prot, prot)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(pgoff, pgoff))), TP_printk() ) #endif @@ -832,308 +988,362 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap2, #include "mips-32-syscalls-3.13.0_integers_override.h" #include "syscalls_integers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 4020, 0) +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) +#endif +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 4024, 0) +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 4029, 0) +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 4036, 0) +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 4047, 0) +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 4049, 0) +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 4050, 0) +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 4064, 0) +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 4065, 0) +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 4066, 0) +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 4068, 0) +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 4111, 0) +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 4157, 0) +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 4162, 0) +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 4222, 0) +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 4253, 0) +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 4284, 0) +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit -TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 4001, 1) +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_close -TRACE_SYSCALL_TABLE(sys_close, sys_close, 4006, 1) +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 4006, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_lseek -TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 4019, 3) +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setuid -TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 4023, 1) +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ptrace -TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 4026, 4) +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_alarm -TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 4027, 1) +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_nice -TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 4034, 1) +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_kill -TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 4037, 2) +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup -TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 4041, 1) +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_brk -TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 4045, 1) +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgid -TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 4046, 1) +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioctl -TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 4054, 3) +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl -TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 4055, 3) +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpgid -TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 4057, 2) +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_umask -TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 4060, 1) +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup2 -TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 4063, 2) +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ssetmask -TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 4069, 1) +#ifndef OVERRIDE_TABLE_32_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setreuid -TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 4070, 2) +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setregid -TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 4071, 2) +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mips_mmap -TRACE_SYSCALL_TABLE(sys_mips_mmap, sys_mips_mmap, 4090, 6) +#ifndef OVERRIDE_TABLE_32_mips_mmap +TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 4090, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_munmap -TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 4091, 2) +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ftruncate -TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 4093, 2) +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmod -TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 4094, 2) +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchown -TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 4095, 3) +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpriority -TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 4096, 2) +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpriority -TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 4097, 3) +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsync -TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 4118, 1) +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mprotect -TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 4125, 3) +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgid -TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 4132, 1) +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchdir -TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 4133, 1) +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_bdflush -TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 4134, 2) +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysfs -TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 4135, 3) +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 4135, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_personality -TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 4136, 1) +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsuid -TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 4138, 1) +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsgid -TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 4139, 1) +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_flock -TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 4143, 2) +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_msync -TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 4144, 3) +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_cacheflush -TRACE_SYSCALL_TABLE(sys_cacheflush, sys_cacheflush, 4147, 3) +#ifndef OVERRIDE_TABLE_32_cacheflush +TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysmips -TRACE_SYSCALL_TABLE(sys_sysmips, sys_sysmips, 4149, 3) +#ifndef OVERRIDE_TABLE_32_sysmips +TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsid -TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 4151, 1) +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fdatasync -TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 4152, 1) +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlock -TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 4154, 2) +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlock -TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 4155, 2) +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlockall -TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 4156, 1) +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler -TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 4161, 1) +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max -TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 4163, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min -TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 4164, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mremap -TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 4167, 5) +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_listen -TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 4174, 2) +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_shutdown -TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 4182, 2) +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_socket -TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 4183, 3) +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresuid -TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 4185, 3) +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresgid -TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 4190, 3) +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_prctl -TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 4192, 5) +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_mips_mmap2 -TRACE_SYSCALL_TABLE(sys_mips_mmap2, sys_mips_mmap2, 4210, 6) +#ifndef OVERRIDE_TABLE_32_mips_mmap2 +TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_ftruncate64 -TRACE_SYSCALL_TABLE(sys_ftruncate64, sys_ftruncate64, 4212, 2) +#ifndef OVERRIDE_TABLE_32_ftruncate64 +TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_madvise -TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 4218, 3) +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl64 -TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 4220, 3) +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_readahead -TRACE_SYSCALL_TABLE(sys_readahead, sys_readahead, 4223, 3) +#ifndef OVERRIDE_TABLE_32_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_tkill -TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 4236, 2) +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_destroy -TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 4242, 1) +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit_group -TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 4246, 1) +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create -TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 4248, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_remap_file_pages -TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 4251, 5) +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_fadvise64_64 -TRACE_SYSCALL_TABLE(sys_fadvise64_64, sys_fadvise64_64, 4254, 4) +#ifndef OVERRIDE_TABLE_32_fadvise64_64 +TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_getoverrun -TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 4260, 1) +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_delete -TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 4261, 1) +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_tgkill -TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 4266, 3) +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_thread_area -TRACE_SYSCALL_TABLE(sys_set_thread_area, sys_set_thread_area, 4283, 1) +#ifndef OVERRIDE_TABLE_32_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_rm_watch -TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 4286, 2) +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unshare -TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 4303, 1) +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sync_file_range -TRACE_SYSCALL_TABLE(sys_sync_file_range, sys_sync_file_range, 4305, 4) +#ifndef OVERRIDE_TABLE_32_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_tee -TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 4306, 4) +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_set -TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 4314, 3) +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_get -TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 4315, 2) +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd -TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 4319, 1) +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fallocate -TRACE_SYSCALL_TABLE(sys_fallocate, sys_fallocate, 4320, 4) +#ifndef OVERRIDE_TABLE_32_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_create -TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 4321, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd2 -TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 4325, 2) +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create1 -TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 4326, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup3 -TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 4327, 3) +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init1 -TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 4329, 1) +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_syncfs -TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 4342, 1) +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setns -TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 4344, 2) +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h index 8fd42848..5564ddef 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h @@ -9,1623 +9,1623 @@ #include "mips-32-syscalls-3.13.0_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_32_sys_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chdir -SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_time -SC_LTTNG_TRACEPOINT_EVENT(sys_time, - TP_PROTO(time_t * tloc), - TP_ARGS(tloc), - TP_STRUCT__entry(__field_hex(time_t *, tloc)), - TP_fast_assign(tp_assign(tloc, tloc)), +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tloc, tloc))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_oldumount -SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, - TP_PROTO(char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stime -SC_LTTNG_TRACEPOINT_EVENT(sys_stime, - TP_PROTO(time_t * tptr), - TP_ARGS(tptr), - TP_STRUCT__entry(__field_hex(time_t *, tptr)), - TP_fast_assign(tp_assign(tptr, tptr)), +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(time_t *, tptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(tptr, tptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rmdir -SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_times -SC_LTTNG_TRACEPOINT_EVENT(sys_times, - TP_PROTO(struct tms * tbuf), - TP_ARGS(tbuf), - TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), - TP_fast_assign(tp_assign(tbuf, tbuf)), +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_olduname -SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, - TP_PROTO(struct oldold_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct oldold_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chroot -SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sys_sigsuspend, - TP_PROTO(sigset_t * uset), - TP_ARGS(uset), - TP_STRUCT__entry(__field_hex(sigset_t *, uset)), - TP_fast_assign(tp_assign(uset, uset)), +#ifndef OVERRIDE_32_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * uset), + TP_ARGS(sc_exit(ret,) uset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(sigset_t *, uset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uset, uset))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, - TP_PROTO(old_sigset_t * set), - TP_ARGS(set), - TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), - TP_fast_assign(tp_assign(set, set)), +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_sigset_t *, set))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(set, set))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_uselib -SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, - TP_PROTO(const char * library), - TP_ARGS(library), - TP_STRUCT__entry(__field_hex(const char *, library)), - TP_fast_assign(tp_assign(library, library)), +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(library, library))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_uname -SC_LTTNG_TRACEPOINT_EVENT(sys_uname, - TP_PROTO(struct old_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct old_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, - TP_PROTO(struct sysinfo * info), - TP_ARGS(info), - TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), - TP_fast_assign(tp_assign(info, info)), +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newuname -SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, - TP_PROTO(struct new_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, - TP_PROTO(struct timex * txc_p), - TP_ARGS(txc_p), - TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), - TP_fast_assign(tp_assign(txc_p, txc_p)), +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, - TP_PROTO(struct __sysctl_args * args), - TP_ARGS(args), - TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), - TP_fast_assign(tp_assign(args, args)), +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, - TP_PROTO(int * tidptr), - TP_ARGS(tidptr), - TP_STRUCT__entry(__field_hex(int *, tidptr)), - TP_fast_assign(tp_assign(tidptr, tidptr)), +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_creat -SC_LTTNG_TRACEPOINT_EVENT(sys_creat, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_link -SC_LTTNG_TRACEPOINT_EVENT(sys_link, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chmod -SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, - TP_PROTO(const char * filename, umode_t mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utime -SC_LTTNG_TRACEPOINT_EVENT(sys_utime, - TP_PROTO(char * filename, struct utimbuf * times), - TP_ARGS(filename, times), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(times, times))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_access -SC_LTTNG_TRACEPOINT_EVENT(sys_access, - TP_PROTO(const char * filename, int mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rename -SC_LTTNG_TRACEPOINT_EVENT(sys_rename, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdir -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umount -SC_LTTNG_TRACEPOINT_EVENT(sys_umount, - TP_PROTO(char * name, int flags), - TP_ARGS(name, flags), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ustat -SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, - TP_PROTO(unsigned dev, struct ustat * ubuf), - TP_ARGS(dev, ubuf), - TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), - TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrusage -SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, - TP_PROTO(int who, struct rusage * ru), - TP_ARGS(who, ru), - TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlink -SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_truncate -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, - TP_PROTO(const char * path, long length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_statfs -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, - TP_PROTO(const char * pathname, struct statfs * buf), - TP_ARGS(pathname, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, - TP_PROTO(unsigned int fd, struct statfs * buf), - TP_ARGS(fd, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socketcall -SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, - TP_PROTO(int call, unsigned long * args), - TP_ARGS(call, args), - TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), - TP_fast_assign(tp_assign(call, call) tp_assign(args, args)), +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, call)) sc_inout(__field_hex(unsigned long *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, - TP_PROTO(int which, struct itimerval * value), - TP_ARGS(which, value), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newlstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newfstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, - TP_PROTO(unsigned int fd, struct stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_delete_module -SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, - TP_PROTO(const char * name_user, unsigned int flags), - TP_ARGS(name_user, flags), - TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), - TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, - TP_PROTO(pid_t pid, struct timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, - TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(rqtp, rmtp), - TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, - TP_PROTO(sigset_t * uset, size_t sigsetsize), - TP_ARGS(uset, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, uset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(uset, uset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, uset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uset, uset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, - TP_PROTO(sigset_t * unewset, size_t sigsetsize), - TP_ARGS(unewset, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(unewset, unewset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unewset, unewset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcwd -SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, - TP_PROTO(char * buf, unsigned long size), - TP_ARGS(buf, size), - TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), - TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sys_sigaltstack, - TP_PROTO(const stack_t * uss, stack_t * uoss), - TP_ARGS(uss, uoss), - TP_STRUCT__entry(__field_hex(const stack_t *, uss) __field_hex(stack_t *, uoss)), - TP_fast_assign(tp_assign(uss, uss) tp_assign(uoss, uoss)), +#ifndef OVERRIDE_32_sigaltstack +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, + TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), + TP_ARGS(sc_exit(ret,) uss, uoss), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(const stack_t *, uss)) sc_inout(__field_hex(stack_t *, uoss))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uss, uss)) sc_inout(tp_assign(uoss, uoss))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate64, - TP_PROTO(const char * path, loff_t length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(loff_t, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), +#ifndef OVERRIDE_32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(truncate64, + TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), + TP_ARGS(sc_exit(ret,) path, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(path, path)) sc_inout(__field(loff_t, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(path, path)) sc_inout(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, - TP_PROTO(unsigned long fd, struct stat64 * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, - TP_PROTO(const char * new_root, const char * put_old), - TP_ARGS(new_root, put_old), - TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), - TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_removexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, - TP_PROTO(int fd, const char * name), - TP_ARGS(fd, name), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_setup -SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, - TP_PROTO(unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(nr_events, ctxp), - TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), - TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, - TP_PROTO(timer_t timer_id, struct itimerspec * setting), - TP_ARGS(timer_id, setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, - TP_PROTO(const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimes -SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, - TP_PROTO(char * filename, struct timeval * utimes), - TP_ARGS(filename, utimes), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, - TP_PROTO(struct robust_list_head * head, size_t len), - TP_ARGS(head, len), - TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), - TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, - TP_PROTO(int ufd, struct itimerspec * otmr), - TP_ARGS(ufd, otmr), - TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, - TP_PROTO(int * fildes, int flags), - TP_ARGS(fildes, flags), - TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), - TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, - TP_PROTO(const clockid_t which_clock, struct timex * utx), - TP_ARGS(which_clock, utx), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_read -SC_LTTNG_TRACEPOINT_EVENT(sys_read, - TP_PROTO(unsigned int fd, char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_write -SC_LTTNG_TRACEPOINT_EVENT(sys_write, - TP_PROTO(unsigned int fd, const char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_open -SC_LTTNG_TRACEPOINT_EVENT(sys_open, - TP_PROTO(const char * filename, int flags, umode_t mode), - TP_ARGS(filename, flags, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_waitpid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, - TP_PROTO(pid_t pid, int * stat_addr, int options), - TP_ARGS(pid, stat_addr, options), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(pid_t, pid)) sc_inout(__field_hex(int *, stat_addr)) sc_inout(__field(int, options))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(stat_addr, stat_addr)) sc_inout(tp_assign(options, options))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_execve -SC_LTTNG_TRACEPOINT_EVENT(sys_execve, - TP_PROTO(const char * filename, const char *const * argv, const char *const * envp), - TP_ARGS(filename, argv, envp), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(const char *const *, argv) __field_hex(const char *const *, envp)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(argv, argv) tp_assign(envp, envp)), +#ifndef OVERRIDE_32_execve +SC_LTTNG_TRACEPOINT_EVENT(execve, + TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), + TP_ARGS(sc_exit(ret,) filename, argv, envp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(const char *const *, argv)) sc_inout(__field_hex(const char *const *, envp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(argv, argv)) sc_inout(tp_assign(envp, envp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknod -SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, - TP_PROTO(const char * filename, umode_t mode, unsigned dev), - TP_ARGS(filename, mode, dev), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lchown -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), - TP_ARGS(sig, act, oact), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), +#ifndef OVERRIDE_32_sigaction +SC_LTTNG_TRACEPOINT_EVENT(sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), + TP_ARGS(sc_exit(ret,) sig, act, oact), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, sig)) sc_inout(__field_hex(const struct sigaction *, act)) sc_inout(__field_hex(struct sigaction *, oact))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(act, act)) sc_inout(tp_assign(oact, oact))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlink -SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, - TP_PROTO(const char * path, char * buf, int bufsiz), - TP_ARGS(path, buf, bufsiz), - TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, - TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct old_linux_dirent *, dirent)) sc_inout(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(dirent, dirent)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syslog -SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, - TP_PROTO(int type, char * buf, int len), - TP_ARGS(type, buf, len), - TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), - TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, - TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(which, value, ovalue), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, - TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(how, nset, oset), - TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(old_sigset_t *, nset)) sc_inout(__field_hex(old_sigset_t *, oset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(how, how)) sc_inout(tp_assign(nset, nset)) sc_inout(tp_assign(oset, oset))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_init_module -SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, - TP_PROTO(void * umod, unsigned long len, const char * uargs), - TP_ARGS(umod, len, uargs), - TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), - TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, - TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_readv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_writev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_cachectl -SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, - TP_PROTO(char * addr, int nbytes, int op), - TP_ARGS(addr, nbytes, op), - TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), +#ifndef OVERRIDE_32_cachectl +SC_LTTNG_TRACEPOINT_EVENT(cachectl, + TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), + TP_ARGS(sc_exit(ret,) addr, nbytes, op), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(char *, addr)) sc_inout(__field(int, nbytes)) sc_inout(__field(int, op))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(nbytes, nbytes)) sc_inout(tp_assign(op, op))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, - TP_PROTO(pid_t pid, int policy, struct sched_param * param), - TP_ARGS(pid, policy, param), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept -SC_LTTNG_TRACEPOINT_EVENT(sys_accept, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bind -SC_LTTNG_TRACEPOINT_EVENT(sys_bind, - TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(fd, umyaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(umyaddr, umyaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_connect -SC_LTTNG_TRACEPOINT_EVENT(sys_connect, - TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(fd, uservaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uservaddr, uservaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpeername -SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockname -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, - TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(ruidp, euidp, suidp), - TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), - TP_fast_assign(tp_assign(ruidp, ruidp) tp_assign(euidp, euidp) tp_assign(suidp, suidp)), +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruidp)) sc_out(__field_hex(uid_t *, euidp)) sc_out(__field_hex(uid_t *, suidp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruidp, ruidp)) sc_out(tp_assign(euidp, euidp)) sc_out(tp_assign(suidp, suidp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_poll -SC_LTTNG_TRACEPOINT_EVENT(sys_poll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(ufds, nfds, timeout_msecs), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(int, timeout_msecs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, - TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(rgidp, egidp, sgidp), - TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), - TP_fast_assign(tp_assign(rgidp, rgidp) tp_assign(egidp, egidp) tp_assign(sgidp, sgidp)), +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgidp)) sc_out(__field_hex(gid_t *, egidp)) sc_out(__field_hex(gid_t *, sgidp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgidp, rgidp)) sc_out(tp_assign(egidp, egidp)) sc_out(tp_assign(sgidp, sgidp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, - TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chown -SC_LTTNG_TRACEPOINT_EVENT(sys_chown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mincore -SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, - TP_PROTO(unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(start, len, vec), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, - TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, - TP_PROTO(int fd, char * list, size_t size), - TP_ARGS(fd, list, size), - TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_submit -SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, - TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(ctx_id, nr, iocbpp), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, - TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(ctx_id, iocb, result), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs64, - TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(pathname, sz, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(sz, sz) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(pathname, pathname)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(pathname, pathname)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs64, - TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(fd, sz, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(sz, sz) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, - TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(which_clock, timer_event_spec, created_timer_id), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, - TP_PROTO(int fd, const char * pathname, u32 mask), - TP_ARGS(fd, pathname, mask), - TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, - TP_PROTO(int dfd, const char * pathname, umode_t mode), - TP_ARGS(dfd, pathname, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futimesat -SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, - TP_PROTO(int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(dfd, filename, utimes), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, - TP_PROTO(int dfd, const char * pathname, int flag), - TP_ARGS(dfd, pathname, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, - TP_PROTO(const char * oldname, int newdfd, const char * newname), - TP_ARGS(oldname, newdfd, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, - TP_PROTO(int dfd, const char * filename, umode_t mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_faccessat -SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, - TP_PROTO(int dfd, const char * filename, int mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, - TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(pid, head_ptr, len_ptr), - TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcpu -SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, - TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(cpup, nodep, unused), - TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), - TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(ufd, user_mask, sizemask), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(sys_open_by_handle_at, - TP_PROTO(int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(mountdirfd, handle, flags), - TP_STRUCT__entry(__field(int, mountdirfd) __field_hex(struct file_handle *, handle) __field(int, flags)), - TP_fast_assign(tp_assign(mountdirfd, mountdirfd) tp_assign(handle, handle) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mountdirfd)) sc_in(__field_hex(struct file_handle *, handle)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mountdirfd, mountdirfd)) sc_in(tp_assign(handle, handle)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_reboot -SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, - TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(magic1, magic2, cmd, arg), - TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), - TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_wait4 -SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, - TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(upid, stat_addr, options, ru), - TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_send -SC_LTTNG_TRACEPOINT_EVENT(sys_send, - TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(fd, buff, len, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field_hex(void *, buff)) sc_inout(__field(size_t, len)) sc_inout(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buff, buff)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socketpair -SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, - TP_PROTO(int family, int type, int protocol, int * usockvec), - TP_ARGS(family, type, protocol, usockvec), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol)) sc_out(tp_assign(usockvec, usockvec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sig, act, oact, sigsetsize), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, - TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(how, nset, oset, sigsetsize), - TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, - TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(uthese, uinfo, uts, sigsetsize), - TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pread64 -SC_LTTNG_TRACEPOINT_EVENT(sys_pread64, - TP_PROTO(unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(fd, buf, count, pos), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count) __field(loff_t, pos)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(pos, pos)), +#ifndef OVERRIDE_32_pread64 +SC_LTTNG_TRACEPOINT_EVENT(pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count)) sc_in(tp_assign(pos, pos))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(sys_pwrite64, - TP_PROTO(unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(fd, buf, count, pos), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(loff_t, pos)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(pos, pos)), +#ifndef OVERRIDE_32_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count)) sc_in(tp_assign(pos, pos))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, - TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, out_fd)) sc_inout(__field(int, in_fd)) sc_inout(__field_hex(off_t *, offset)) sc_inout(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(out_fd, out_fd)) sc_inout(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, - TP_PROTO(int fd, const char * name, void * value, size_t size), - TP_ARGS(fd, name, value, size), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, - TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, - TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(epfd, op, fd, event), - TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(epfd, events, maxevents, timeout), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, - TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(timer_id, flags, new_setting, old_setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, - TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(which_clock, flags, rqtp, rmtp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_openat -SC_LTTNG_TRACEPOINT_EVENT(sys_openat, - TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(dfd, filename, flags, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknodat -SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, - TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(dfd, filename, mode, dev), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, - TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(dfd, filename, statbuf, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf)) sc_inout(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(dfd, dfd)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf)) sc_inout(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_renameat -SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(olddfd, oldname, newdfd, newname), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, - TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(dfd, pathname, buf, bufsiz), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, - TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(fd, iov, nr_segs, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimensat -SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, - TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(dfd, filename, utimes, flags), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, - TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(ufd, flags, utmr, otmr), - TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(ufd, user_mask, sizemask, flags), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, - TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(tgid, pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept4 -SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, - TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(pid, resource, new_rlim, old_rlim), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(fd, mmsg, vlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mount -SC_LTTNG_TRACEPOINT_EVENT(sys_mount, - TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(dev_name, dir_name, type, flags, data), - TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), - TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llseek -SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, - TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), - TP_ARGS(fd, offset_high, offset_low, result, whence), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, whence)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(whence, whence)), +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned long, offset_high)) sc_inout(__field(unsigned long, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, whence))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset_high, offset_high)) sc_inout(tp_assign(offset_low, offset_low)) sc_inout(tp_assign(result, result)) sc_inout(tp_assign(whence, whence))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_select -SC_LTTNG_TRACEPOINT_EVENT(sys_select, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(n, inp, outp, exp, tvp), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_out(tp_assign(optval, optval)) sc_inout(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_in(tp_assign(optval, optval)) sc_in(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, - TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(fd, name, value, size, flags), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, - TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(ctx_id, min_nr, nr, events, timeout), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_waitid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, - TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(which, upid, infop, options, ru), - TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchownat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, - TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(dfd, filename, user, group, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_linkat -SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(olddfd, oldname, newdfd, newname, flags), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ppoll -SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_preadv -SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pwritev -SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, - TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), - TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(attr_uptr, attr_uptr) tp_assign(pid, pid) tp_assign(cpu, cpu) tp_assign(group_fd, group_fd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(attr_uptr, attr_uptr)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(cpu, cpu)) sc_in(tp_assign(group_fd, group_fd)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(fd, mmsg, vlen, flags, timeout), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(sys_name_to_handle_at, - TP_PROTO(int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(dfd, name, handle, mnt_id, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(name, name) __field_hex(struct file_handle *, handle) __field_hex(int *, mnt_id) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(name, name) tp_assign(handle, handle) tp_assign(mnt_id, mnt_id) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(name, name)) sc_inout(__field_hex(struct file_handle *, handle)) sc_out(__field_hex(int *, mnt_id)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(name, name)) sc_inout(tp_assign(handle, handle)) sc_out(tp_assign(mnt_id, mnt_id)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ipc -SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, - TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(call, first, second, third, ptr, fifth), - TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), - TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, call)) sc_inout(__field(int, first)) sc_inout(__field(unsigned long, second)) sc_inout(__field(unsigned long, third)) sc_inout(__field_hex(void *, ptr)) sc_inout(__field(long, fifth))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(first, first)) sc_inout(tp_assign(second, second)) sc_inout(tp_assign(third, third)) sc_inout(tp_assign(ptr, ptr)) sc_inout(tp_assign(fifth, fifth))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, - TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(fd, ubuf, size, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned int, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(ubuf, ubuf)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags)) sc_out(tp_assign(addr, addr)) sc_inout(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendto -SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, - TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(fd, buff, len, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buff, buff)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futex -SC_LTTNG_TRACEPOINT_EVENT(sys_futex, - TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(uaddr, op, val, utime, uaddr2, val3), - TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), - TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(n, inp, outp, exp, tsp, sig), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_splice -SC_LTTNG_TRACEPOINT_EVENT(sys_splice, - TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), - TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), - TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif @@ -1640,545 +1640,545 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, #include "mips-32-syscalls-3.13.0_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_read -TRACE_SYSCALL_TABLE(sys_read, sys_read, 4003, 3) +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 4003, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_write -TRACE_SYSCALL_TABLE(sys_write, sys_write, 4004, 3) +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4004, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_open -TRACE_SYSCALL_TABLE(sys_open, sys_open, 4005, 3) +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 4005, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_waitpid -TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4007, 3) +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_creat -TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 4008, 2) +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_link -TRACE_SYSCALL_TABLE(sys_link, sys_link, 4009, 2) +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 4009, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlink -TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 4010, 1) +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_execve -TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 4011, 3) +#ifndef OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_chdir -TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 4012, 1) +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_time -TRACE_SYSCALL_TABLE(sys_time, sys_time, 4013, 1) +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 4013, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknod -TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 4014, 3) +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_chmod -TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 4015, 2) +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lchown -TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 4016, 3) +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mount -TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 4021, 5) +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_oldumount -TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4022, 1) +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_stime -TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 4025, 1) +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_utime -TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 4030, 2) +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_access -TRACE_SYSCALL_TABLE(sys_access, sys_access, 4033, 2) +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 4033, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rename -TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 4038, 2) +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdir -TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 4039, 2) +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rmdir -TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 4040, 1) +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_times -TRACE_SYSCALL_TABLE(sys_times, sys_times, 4043, 1) +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 4043, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_umount -TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 4052, 2) +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_olduname -TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4059, 1) +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_chroot -TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 4061, 1) +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ustat -TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 4062, 2) +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigaction -TRACE_SYSCALL_TABLE(sys_sigaction, sys_sigaction, 4067, 3) +#ifndef OVERRIDE_TABLE_32_sigaction +TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigsuspend -TRACE_SYSCALL_TABLE(sys_sigsuspend, sys_sigsuspend, 4072, 1) +#ifndef OVERRIDE_TABLE_32_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigpending -TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 4073, 1) +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sethostname -TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 4074, 2) +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setrlimit -TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 4075, 2) +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrlimit -TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 4076, 2) +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrusage -TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 4077, 2) +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettimeofday -TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 4078, 2) +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_settimeofday -TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 4079, 2) +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgroups -TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 4080, 2) +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgroups -TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 4081, 2) +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlink -TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 4083, 2) +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlink -TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 4085, 3) +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_uselib -TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4086, 1) +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_reboot -TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 4088, 4) +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_old_readdir -TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 4089, 3) +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_truncate -TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 4092, 2) +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_statfs -TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 4099, 2) +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs -TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 4100, 2) +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_socketcall -TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 4102, 2) +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_syslog -TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 4103, 3) +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setitimer -TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 4104, 3) +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getitimer -TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 4105, 2) +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newstat -TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4106, 2) +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newlstat -TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 4107, 2) +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newfstat -TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 4108, 2) +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_uname -TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4109, 1) +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_wait4 -TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 4114, 4) +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysinfo -TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 4116, 1) +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ipc -TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 4117, 6) +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_setdomainname -TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 4121, 2) +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newuname -TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 4122, 1) +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_adjtimex -TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 4124, 1) +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigprocmask -TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 4126, 3) +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_init_module -TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 4128, 3) +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_delete_module -TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 4129, 2) +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_llseek -TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 4140, 5) +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents -TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 4141, 3) +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_select -TRACE_SYSCALL_TABLE(sys_select, sys_select, 4142, 5) +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 4142, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_readv -TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 4145, 3) +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_writev -TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 4146, 3) +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_cachectl -TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 4148, 3) +#ifndef OVERRIDE_TABLE_32_cachectl +TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysctl -TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 4153, 1) +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setparam -TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 4158, 2) +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getparam -TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 4159, 2) +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler -TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 4160, 3) +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 4165, 2) +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_nanosleep -TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 4166, 2) +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept -TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 4168, 3) +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_bind -TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 4169, 3) +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_connect -TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 4170, 3) +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpeername -TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 4171, 3) +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockname -TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 4172, 3) +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockopt -TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 4173, 5) +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvfrom -TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 4176, 6) +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmsg -TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 4177, 3) +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_send -TRACE_SYSCALL_TABLE(sys_send, sys_send, 4178, 4) +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 4178, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmsg -TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 4179, 3) +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendto -TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 4180, 6) +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsockopt -TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 4181, 5) +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_socketpair -TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 4184, 4) +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresuid -TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 4186, 3) +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_poll -TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 4188, 3) +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresgid -TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 4191, 3) +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigaction -TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 4194, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask -TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 4195, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigpending -TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 4196, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait -TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 4197, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 4198, 3) +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend -TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 4199, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_pread64 -TRACE_SYSCALL_TABLE(sys_pread64, sys_pread64, 4200, 4) +#ifndef OVERRIDE_TABLE_32_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_pwrite64 -TRACE_SYSCALL_TABLE(sys_pwrite64, sys_pwrite64, 4201, 4) +#ifndef OVERRIDE_TABLE_32_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_chown -TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 4202, 3) +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcwd -TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 4203, 2) +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigaltstack -TRACE_SYSCALL_TABLE(sys_sigaltstack, sys_sigaltstack, 4206, 2) +#ifndef OVERRIDE_TABLE_32_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile -TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 4207, 4) +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_truncate64 -TRACE_SYSCALL_TABLE(sys_truncate64, sys_truncate64, 4211, 2) +#ifndef OVERRIDE_TABLE_32_truncate64 +TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_stat64 -TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 4213, 2) +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lstat64 -TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 4214, 2) +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstat64 -TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 4215, 2) +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_pivot_root -TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 4216, 2) +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mincore -TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 4217, 3) +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents64 -TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 4219, 3) +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setxattr -TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 4224, 5) +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_lsetxattr -TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 4225, 5) +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsetxattr -TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 4226, 5) +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getxattr -TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 4227, 4) +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_lgetxattr -TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 4228, 4) +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fgetxattr -TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 4229, 4) +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_listxattr -TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 4230, 3) +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_llistxattr -TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 4231, 3) +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_flistxattr -TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 4232, 3) +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_removexattr -TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 4233, 2) +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lremovexattr -TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 4234, 2) +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fremovexattr -TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 4235, 2) +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile64 -TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 4237, 4) +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_futex -TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 4238, 6) +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_setup -TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 4241, 2) +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_getevents -TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 4243, 5) +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_submit -TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 4244, 3) +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_cancel -TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 4245, 3) +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_ctl -TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 4249, 4) +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_wait -TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 4250, 4) +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_tid_address -TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 4252, 1) +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_statfs64 -TRACE_SYSCALL_TABLE(sys_statfs64, sys_statfs64, 4255, 3) +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs64 -TRACE_SYSCALL_TABLE(sys_fstatfs64, sys_fstatfs64, 4256, 3) +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_create -TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 4257, 3) +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_settime -TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 4258, 4) +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_gettime -TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 4259, 2) +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_settime -TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 4262, 2) +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_gettime -TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 4263, 2) +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_getres -TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 4264, 2) +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep -TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 4265, 4) +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimes -TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 4267, 2) +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_waitid -TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 4278, 5) +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch -TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 4285, 3) +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_openat -TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 4288, 4) +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdirat -TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 4289, 3) +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknodat -TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 4290, 4) +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchownat -TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 4291, 5) +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_futimesat -TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 4292, 3) +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatat64 -TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 4293, 4) +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlinkat -TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 4294, 3) +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_renameat -TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 4295, 4) +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_linkat -TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 4296, 5) +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlinkat -TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 4297, 3) +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlinkat -TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 4298, 4) +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmodat -TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 4299, 3) +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_faccessat -TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 4300, 3) +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_pselect6 -TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 4301, 6) +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_ppoll -TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 4302, 5) +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_splice -TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 4304, 6) +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_vmsplice -TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 4307, 4) +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_robust_list -TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 4309, 2) +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_get_robust_list -TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 4310, 3) +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcpu -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 4312, 3) +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_pwait -TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 4313, 6) +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimensat -TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 4316, 4) +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd -TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 4317, 3) +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime -TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 4322, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_settime -TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 4323, 4) +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd4 -TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 4324, 4) +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_pipe2 -TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 4328, 2) +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_preadv -TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 4330, 5) +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_pwritev -TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 4331, 5) +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 4332, 4) +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_perf_event_open -TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 4333, 5) +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept4 -TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 4334, 4) +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmmsg -TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 4335, 5) +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_prlimit64 -TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 4338, 4) +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_name_to_handle_at -TRACE_SYSCALL_TABLE(sys_name_to_handle_at, sys_name_to_handle_at, 4339, 5) +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_open_by_handle_at -TRACE_SYSCALL_TABLE(sys_open_by_handle_at, sys_open_by_handle_at, 4340, 3) +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_adjtime -TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 4341, 2) +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmmsg -TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 4343, 4) +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h deleted file mode 100644 index cf957ed6..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h +++ /dev/null @@ -1,677 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include "../../../probes/lttng-tracepoint-event.h" -#include -#include "mips-32-syscalls-3.5.0_integers_override.h" -#include "syscalls_integers_override.h" - -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_STRUCT__entry(), - TP_fast_assign(), - TP_printk() -) -#ifndef OVERRIDE_32_sys_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) -#endif -#ifndef OVERRIDE_32_sys_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) -#endif -#ifndef OVERRIDE_32_sys_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) -#endif -#ifndef OVERRIDE_32_sys_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) -#endif -#ifndef OVERRIDE_32_sys_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) -#endif -#ifndef OVERRIDE_32_sys_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) -#endif -#ifndef OVERRIDE_32_sys_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) -#endif -#ifndef OVERRIDE_32_sys_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) -#endif -#ifndef OVERRIDE_32_sys_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) -#endif -#ifndef OVERRIDE_32_sys_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) -#endif -#ifndef OVERRIDE_32_sys_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) -#endif -#ifndef OVERRIDE_32_sys_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) -#endif -#ifndef OVERRIDE_32_sys_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) -#endif -#ifndef OVERRIDE_32_sys_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) -#endif -#ifndef OVERRIDE_32_sys_exit -SC_LTTNG_TRACEPOINT_EVENT(sys_exit, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_close -SC_LTTNG_TRACEPOINT_EVENT(sys_close, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_alarm -SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, - TP_PROTO(unsigned int seconds), - TP_ARGS(seconds), - TP_STRUCT__entry(__field(unsigned int, seconds)), - TP_fast_assign(tp_assign(seconds, seconds)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_nice -SC_LTTNG_TRACEPOINT_EVENT(sys_nice, - TP_PROTO(int increment), - TP_ARGS(increment), - TP_STRUCT__entry(__field(int, increment)), - TP_fast_assign(tp_assign(increment, increment)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_dup -SC_LTTNG_TRACEPOINT_EVENT(sys_dup, - TP_PROTO(unsigned int fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field(unsigned int, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_brk -SC_LTTNG_TRACEPOINT_EVENT(sys_brk, - TP_PROTO(unsigned long brk), - TP_ARGS(brk), - TP_STRUCT__entry(__field(unsigned long, brk)), - TP_fast_assign(tp_assign(brk, brk)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_umask -SC_LTTNG_TRACEPOINT_EVENT(sys_umask, - TP_PROTO(int mask), - TP_ARGS(mask), - TP_STRUCT__entry(__field(int, mask)), - TP_fast_assign(tp_assign(mask, mask)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, - TP_PROTO(int newmask), - TP_ARGS(newmask), - TP_STRUCT__entry(__field(int, newmask)), - TP_fast_assign(tp_assign(newmask, newmask)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fsync -SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fchdir -SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_personality, - TP_PROTO(unsigned int personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned int, personality)), - TP_fast_assign(tp_assign(personality, personality)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getsid -SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mlockall -SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_kill -SC_LTTNG_TRACEPOINT_EVENT(sys_kill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, - TP_PROTO(pid_t pid, pid_t pgid), - TP_ARGS(pid, pgid), - TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_dup2 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, - TP_PROTO(unsigned int oldfd, unsigned int newfd), - TP_ARGS(oldfd, newfd), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setreuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, - TP_PROTO(uid_t ruid, uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setregid -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, - TP_PROTO(gid_t rgid, gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_munmap -SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, - TP_PROTO(unsigned long addr, size_t len), - TP_ARGS(addr, len), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, - TP_PROTO(unsigned int fd, unsigned long length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fchmod -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, - TP_PROTO(unsigned int fd, umode_t mode), - TP_ARGS(fd, mode), - TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_bdflush -SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, - TP_PROTO(int func, long data), - TP_ARGS(func, data), - TP_STRUCT__entry(__field(int, func) __field(long, data)), - TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_flock -SC_LTTNG_TRACEPOINT_EVENT(sys_flock, - TP_PROTO(unsigned int fd, unsigned int cmd), - TP_ARGS(fd, cmd), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mlock -SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_munlock -SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_lseek -SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, - TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(fd, offset, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ioctl -SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fcntl -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fchown -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, - TP_PROTO(unsigned int fd, uid_t user, gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, - TP_PROTO(int which, int who, int niceval), - TP_ARGS(which, who, niceval), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mprotect -SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, - TP_PROTO(unsigned long start, size_t len, unsigned long prot), - TP_ARGS(start, len, prot), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, - TP_PROTO(int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(option, arg1, arg2), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_msync -SC_LTTNG_TRACEPOINT_EVENT(sys_msync, - TP_PROTO(unsigned long start, size_t len, int flags), - TP_ARGS(start, len, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, - TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(addr, bytes, cache), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(bytes, bytes) tp_assign(cache, cache)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ptrace -SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, - TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(request, pid, addr, data), - TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), - TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mremap -SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, - TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(addr, old_len, new_len, flags, new_addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, - TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(addr, len, prot, flags, fd, offset), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, offset)), - TP_printk() -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include "../../../probes/define_trace.h" - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.5.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifndef OVERRIDE_TABLE_32_sys_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 4041, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 4059, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 4073, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 4095, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 4099, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 4101, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 4129, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 4131, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 4133, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 4137, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 4223, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 4315, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 4325, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sys_exit -TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 4003, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_close -TRACE_SYSCALL_TABLE(sys_close, sys_close, 4013, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_lseek -TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 4039, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setuid -TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 4047, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ptrace -TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 4053, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sys_alarm -TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 4055, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_nice -TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 4069, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_kill -TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 4075, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_dup -TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 4083, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_brk -TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 4091, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setgid -TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 4093, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ioctl -TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 4109, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl -TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 4111, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setpgid -TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 4115, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_umask -TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 4121, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_dup2 -TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 4127, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ssetmask -TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 4139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setreuid -TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 4141, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setregid -TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 4143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mips_mmap -TRACE_SYSCALL_TABLE(sys_mips_mmap, sys_mips_mmap, 4181, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sys_munmap -TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 4183, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ftruncate -TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 4187, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fchmod -TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 4189, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fchown -TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 4191, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getpriority -TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 4193, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setpriority -TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 4195, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fsync -TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 4237, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mprotect -TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 4251, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getpgid -TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 4265, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fchdir -TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 4267, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_bdflush -TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 4269, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sysfs -TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 4271, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_personality -TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 4273, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setfsuid -TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 4277, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setfsgid -TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 4279, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_flock -TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 4287, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_msync -TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 4289, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_cacheflush -TRACE_SYSCALL_TABLE(sys_cacheflush, sys_cacheflush, 4295, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getsid -TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 4303, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fdatasync -TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 4305, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mlock -TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 4309, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_munlock -TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 4311, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mlockall -TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 4313, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler -TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 4323, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max -TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 4327, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min -TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 4329, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mremap -TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 4335, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers_override.h deleted file mode 100644 index 49b485bb..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h deleted file mode 100644 index c50d67bf..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h +++ /dev/null @@ -1,984 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include "../../../probes/lttng-tracepoint-event.h" -#include -#include "mips-32-syscalls-3.5.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_sys_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_chdir -SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_time -SC_LTTNG_TRACEPOINT_EVENT(sys_time, - TP_PROTO(time_t * tloc), - TP_ARGS(tloc), - TP_STRUCT__entry(__field_hex(time_t *, tloc)), - TP_fast_assign(tp_assign(tloc, tloc)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_oldumount -SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, - TP_PROTO(char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_stime -SC_LTTNG_TRACEPOINT_EVENT(sys_stime, - TP_PROTO(time_t * tptr), - TP_ARGS(tptr), - TP_STRUCT__entry(__field_hex(time_t *, tptr)), - TP_fast_assign(tp_assign(tptr, tptr)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_rmdir -SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_times -SC_LTTNG_TRACEPOINT_EVENT(sys_times, - TP_PROTO(struct tms * tbuf), - TP_ARGS(tbuf), - TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), - TP_fast_assign(tp_assign(tbuf, tbuf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_olduname -SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, - TP_PROTO(struct oldold_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_chroot -SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, - TP_PROTO(old_sigset_t * set), - TP_ARGS(set), - TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), - TP_fast_assign(tp_assign(set, set)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_uselib -SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, - TP_PROTO(const char * library), - TP_ARGS(library), - TP_STRUCT__entry(__field_hex(const char *, library)), - TP_fast_assign(tp_assign(library, library)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_uname -SC_LTTNG_TRACEPOINT_EVENT(sys_uname, - TP_PROTO(struct old_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_swapoff -SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, - TP_PROTO(const char * specialfile), - TP_ARGS(specialfile), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, - TP_PROTO(struct sysinfo * info), - TP_ARGS(info), - TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), - TP_fast_assign(tp_assign(info, info)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_newuname -SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, - TP_PROTO(struct new_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, - TP_PROTO(struct timex * txc_p), - TP_ARGS(txc_p), - TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), - TP_fast_assign(tp_assign(txc_p, txc_p)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, - TP_PROTO(struct __sysctl_args * args), - TP_ARGS(args), - TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), - TP_fast_assign(tp_assign(args, args)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_creat -SC_LTTNG_TRACEPOINT_EVENT(sys_creat, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_link -SC_LTTNG_TRACEPOINT_EVENT(sys_link, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_chmod -SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, - TP_PROTO(const char * filename, umode_t mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_utime -SC_LTTNG_TRACEPOINT_EVENT(sys_utime, - TP_PROTO(char * filename, struct utimbuf * times), - TP_ARGS(filename, times), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_access -SC_LTTNG_TRACEPOINT_EVENT(sys_access, - TP_PROTO(const char * filename, int mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_rename -SC_LTTNG_TRACEPOINT_EVENT(sys_rename, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mkdir -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_umount -SC_LTTNG_TRACEPOINT_EVENT(sys_umount, - TP_PROTO(char * name, int flags), - TP_ARGS(name, flags), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ustat -SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, - TP_PROTO(unsigned dev, struct ustat * ubuf), - TP_ARGS(dev, ubuf), - TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), - TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getrusage -SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, - TP_PROTO(int who, struct rusage * ru), - TP_ARGS(who, ru), - TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_symlink -SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_swapon -SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, - TP_PROTO(const char * specialfile, int swap_flags), - TP_ARGS(specialfile, swap_flags), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_truncate -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, - TP_PROTO(const char * path, long length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_statfs -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, - TP_PROTO(const char * pathname, struct statfs * buf), - TP_ARGS(pathname, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, - TP_PROTO(unsigned int fd, struct statfs * buf), - TP_ARGS(fd, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_socketcall -SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, - TP_PROTO(int call, unsigned long * args), - TP_ARGS(call, args), - TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), - TP_fast_assign(tp_assign(call, call) tp_assign(args, args)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, - TP_PROTO(int which, struct itimerval * value), - TP_ARGS(which, value), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_newstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_newlstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_newfstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, - TP_PROTO(unsigned int fd, struct stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_delete_module -SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, - TP_PROTO(const char * name_user, unsigned int flags), - TP_ARGS(name_user, flags), - TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), - TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, - TP_PROTO(pid_t pid, struct timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, - TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(rqtp, rmtp), - TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_read -SC_LTTNG_TRACEPOINT_EVENT(sys_read, - TP_PROTO(unsigned int fd, char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_write -SC_LTTNG_TRACEPOINT_EVENT(sys_write, - TP_PROTO(unsigned int fd, const char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_open -SC_LTTNG_TRACEPOINT_EVENT(sys_open, - TP_PROTO(const char * filename, int flags, umode_t mode), - TP_ARGS(filename, flags, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_waitpid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, - TP_PROTO(pid_t pid, int * stat_addr, int options), - TP_ARGS(pid, stat_addr, options), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mknod -SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, - TP_PROTO(const char * filename, umode_t mode, unsigned dev), - TP_ARGS(filename, mode, dev), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_lchown -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), - TP_ARGS(sig, act, oact), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_readlink -SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, - TP_PROTO(const char * path, char * buf, int bufsiz), - TP_ARGS(path, buf, bufsiz), - TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, - TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_syslog -SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, - TP_PROTO(int type, char * buf, int len), - TP_ARGS(type, buf, len), - TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), - TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_setitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, - TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(which, value, ovalue), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, - TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(how, nset, oset), - TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_init_module -SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, - TP_PROTO(void * umod, unsigned long len, const char * uargs), - TP_ARGS(umod, len, uargs), - TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), - TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getdents -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, - TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_readv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_writev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_cachectl -SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, - TP_PROTO(char * addr, int nbytes, int op), - TP_ARGS(addr, nbytes, op), - TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, - TP_PROTO(pid_t pid, int policy, struct sched_param * param), - TP_ARGS(pid, policy, param), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_accept -SC_LTTNG_TRACEPOINT_EVENT(sys_accept, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_bind -SC_LTTNG_TRACEPOINT_EVENT(sys_bind, - TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(fd, umyaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_connect -SC_LTTNG_TRACEPOINT_EVENT(sys_connect, - TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(fd, uservaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getpeername -SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_getsockname -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_reboot -SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, - TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(magic1, magic2, cmd, arg), - TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), - TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_wait4 -SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, - TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(upid, stat_addr, options, ru), - TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_quotactl -SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, - TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(cmd, special, id, addr), - TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), - TP_fast_assign(tp_assign(cmd, cmd) tp_assign(special, special) tp_assign(id, id) tp_assign(addr, addr)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_mount -SC_LTTNG_TRACEPOINT_EVENT(sys_mount, - TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(dev_name, dir_name, type, flags, data), - TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), - TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_llseek -SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, - TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(fd, offset_high, offset_low, result, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_select -SC_LTTNG_TRACEPOINT_EVENT(sys_select, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(n, inp, outp, exp, tvp), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), - TP_printk() -) -#endif -#ifndef OVERRIDE_32_sys_ipc -SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, - TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(call, first, second, third, ptr, fifth), - TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), - TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), - TP_printk() -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include "../../../probes/define_trace.h" - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.5.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_sys_read -TRACE_SYSCALL_TABLE(sys_read, sys_read, 4007, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_write -TRACE_SYSCALL_TABLE(sys_write, sys_write, 4009, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_open -TRACE_SYSCALL_TABLE(sys_open, sys_open, 4011, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_waitpid -TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4015, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_creat -TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 4017, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_link -TRACE_SYSCALL_TABLE(sys_link, sys_link, 4019, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_unlink -TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 4021, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_chdir -TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 4025, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_time -TRACE_SYSCALL_TABLE(sys_time, sys_time, 4027, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mknod -TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 4029, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_chmod -TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 4031, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_lchown -TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 4033, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mount -TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 4043, 5) -#endif -#ifndef OVERRIDE_TABLE_32_sys_oldumount -TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4045, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_stime -TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 4051, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_utime -TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 4061, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_access -TRACE_SYSCALL_TABLE(sys_access, sys_access, 4067, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_rename -TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 4077, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_mkdir -TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 4079, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_rmdir -TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 4081, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_times -TRACE_SYSCALL_TABLE(sys_times, sys_times, 4087, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_umount -TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 4105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_olduname -TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4119, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_chroot -TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 4123, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ustat -TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 4125, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sigaction -TRACE_SYSCALL_TABLE(sys_sigaction, sys_sigaction, 4135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sigpending -TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 4147, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sethostname -TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 4149, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setrlimit -TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 4151, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getrlimit -TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 4153, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getrusage -TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 4155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_gettimeofday -TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 4157, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_settimeofday -TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 4159, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getgroups -TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 4161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setgroups -TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 4163, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_symlink -TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 4167, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_readlink -TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 4171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_uselib -TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4173, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_swapon -TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 4175, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_reboot -TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 4177, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sys_old_readdir -TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 4179, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_truncate -TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 4185, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_statfs -TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 4199, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs -TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 4201, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_socketcall -TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 4205, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_syslog -TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 4207, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setitimer -TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 4209, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getitimer -TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 4211, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_newstat -TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4213, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_newlstat -TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 4215, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_newfstat -TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 4217, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_uname -TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4219, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_wait4 -TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 4229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sys_swapoff -TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 4231, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sysinfo -TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 4233, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_ipc -TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 4235, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sys_setdomainname -TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 4243, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_newuname -TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 4245, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_adjtimex -TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 4249, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sigprocmask -TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 4253, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_init_module -TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 4257, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_delete_module -TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 4259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_quotactl -TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 4263, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sys_llseek -TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 4281, 5) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getdents -TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 4283, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_select -TRACE_SYSCALL_TABLE(sys_select, sys_select, 4285, 5) -#endif -#ifndef OVERRIDE_TABLE_32_sys_readv -TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 4291, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_writev -TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 4293, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_cachectl -TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 4297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sysctl -TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 4307, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setparam -TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 4317, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getparam -TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 4319, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler -TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 4321, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 4331, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_nanosleep -TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 4333, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sys_accept -TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 4337, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_bind -TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 4339, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_connect -TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 4341, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getpeername -TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 4343, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sys_getsockname -TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 4345, 3) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers_override.h deleted file mode 100644 index 596104d9..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers_override.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_sys_clone -TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 4120, 0) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h index 34d11202..40779cad 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h @@ -9,833 +9,989 @@ #include "mips-64-syscalls-3.5.0_integers_override.h" #include "syscalls_integers_override.h" +#ifdef SC_ENTER SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_64_sys_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) +#ifndef OVERRIDE_64_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) #endif -#ifndef OVERRIDE_64_sys_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif -#ifndef OVERRIDE_64_sys_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif -#ifndef OVERRIDE_64_sys_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif -#ifndef OVERRIDE_64_sys_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif -#ifndef OVERRIDE_64_sys_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif -#ifndef OVERRIDE_64_sys_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif -#ifndef OVERRIDE_64_sys_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif -#ifndef OVERRIDE_64_sys_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif -#ifndef OVERRIDE_64_sys_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif -#ifndef OVERRIDE_64_sys_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif -#ifndef OVERRIDE_64_sys_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif -#ifndef OVERRIDE_64_sys_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif -#ifndef OVERRIDE_64_sys_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif -#ifndef OVERRIDE_64_sys_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif -#ifndef OVERRIDE_64_sys_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif -#ifndef OVERRIDE_64_sys_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif -#ifndef OVERRIDE_64_sys_nice -SC_LTTNG_TRACEPOINT_EVENT(sys_nice, - TP_PROTO(int increment), - TP_ARGS(increment), - TP_STRUCT__entry(__field(int, increment)), - TP_fast_assign(tp_assign(increment, increment)), +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, - TP_PROTO(int newmask), - TP_ARGS(newmask), - TP_STRUCT__entry(__field(int, newmask)), - TP_fast_assign(tp_assign(newmask, newmask)), +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_personality, - TP_PROTO(unsigned int personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned int, personality)), - TP_fast_assign(tp_assign(personality, personality)), +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_close -SC_LTTNG_TRACEPOINT_EVENT(sys_close, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_brk -SC_LTTNG_TRACEPOINT_EVENT(sys_brk, - TP_PROTO(unsigned long brk), - TP_ARGS(brk), - TP_STRUCT__entry(__field(unsigned long, brk)), - TP_fast_assign(tp_assign(brk, brk)), +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_dup -SC_LTTNG_TRACEPOINT_EVENT(sys_dup, - TP_PROTO(unsigned int fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field(unsigned int, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_alarm -SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, - TP_PROTO(unsigned int seconds), - TP_ARGS(seconds), - TP_STRUCT__entry(__field(unsigned int, seconds)), - TP_fast_assign(tp_assign(seconds, seconds)), +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_exit -SC_LTTNG_TRACEPOINT_EVENT(sys_exit, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fsync -SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fchdir -SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_umask -SC_LTTNG_TRACEPOINT_EVENT(sys_umask, - TP_PROTO(int mask), - TP_ARGS(mask), - TP_STRUCT__entry(__field(int, mask)), - TP_fast_assign(tp_assign(mask, mask)), +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getsid -SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(increment, increment))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_32_personality, - TP_PROTO(unsigned long personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned long, personality)), - TP_fast_assign(tp_assign(personality, personality)), +#ifndef OVERRIDE_64_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, newmask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(newmask, newmask))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_64_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(personality, personality))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_64_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_64_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(brk, brk))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mlockall -SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_64_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, - TP_PROTO(aio_context_t ctx), - TP_ARGS(ctx), - TP_STRUCT__entry(__field(aio_context_t, ctx)), - TP_fast_assign(tp_assign(ctx, ctx)), +#ifndef OVERRIDE_64_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(seconds, seconds))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_exit_group -SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#ifndef OVERRIDE_64_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, - TP_PROTO(int size), - TP_ARGS(size), - TP_STRUCT__entry(__field(int, size)), - TP_fast_assign(tp_assign(size, size)), +#ifndef OVERRIDE_64_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_64_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_64_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(sys_set_thread_area, - TP_PROTO(unsigned long addr), - TP_ARGS(addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr)), - TP_fast_assign(tp_assign(addr, addr)), +#ifndef OVERRIDE_64_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_unshare -SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, - TP_PROTO(unsigned long unshare_flags), - TP_ARGS(unshare_flags), - TP_STRUCT__entry(__field(unsigned long, unshare_flags)), - TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), +#ifndef OVERRIDE_64_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_eventfd -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, - TP_PROTO(unsigned int count), - TP_ARGS(count), - TP_STRUCT__entry(__field(unsigned int, count)), - TP_fast_assign(tp_assign(count, count)), +#ifndef OVERRIDE_64_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_64_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_64_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_syncfs -SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, - TP_PROTO(int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_64_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_bdflush -SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, - TP_PROTO(int func, long data), - TP_ARGS(func, data), - TP_STRUCT__entry(__field(int, func) __field(long, data)), - TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), +#ifndef OVERRIDE_64_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_munmap -SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, - TP_PROTO(unsigned long addr, size_t len), - TP_ARGS(addr, len), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), +#ifndef OVERRIDE_64_32_personality +SC_LTTNG_TRACEPOINT_EVENT(32_personality, + TP_PROTO(sc_exit(long ret,) unsigned long personality), + TP_ARGS(sc_exit(ret,) personality), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, personality))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(personality, personality))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_dup2 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, - TP_PROTO(unsigned int oldfd, unsigned int newfd), - TP_ARGS(oldfd, newfd), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), +#ifndef OVERRIDE_64_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_shutdown -SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, - TP_PROTO(int fd, int how), - TP_ARGS(fd, how), - TP_STRUCT__entry(__field(int, fd) __field(int, how)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), +#ifndef OVERRIDE_64_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_listen -SC_LTTNG_TRACEPOINT_EVENT(sys_listen, - TP_PROTO(int fd, int backlog), - TP_ARGS(fd, backlog), - TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), +#ifndef OVERRIDE_64_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_kill -SC_LTTNG_TRACEPOINT_EVENT(sys_kill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_64_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_msgget -SC_LTTNG_TRACEPOINT_EVENT(sys_msgget, - TP_PROTO(key_t key, int msgflg), - TP_ARGS(key, msgflg), - TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_64_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx, ctx))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_flock -SC_LTTNG_TRACEPOINT_EVENT(sys_flock, - TP_PROTO(unsigned int fd, unsigned int cmd), - TP_ARGS(fd, cmd), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), +#ifndef OVERRIDE_64_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, - TP_PROTO(unsigned int fd, unsigned long length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), +#ifndef OVERRIDE_64_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fchmod -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, - TP_PROTO(unsigned int fd, umode_t mode), - TP_ARGS(fd, mode), - TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, - TP_PROTO(pid_t pid, pid_t pgid), - TP_ARGS(pid, pgid), - TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), +#ifndef OVERRIDE_64_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setreuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, - TP_PROTO(uid_t ruid, uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), +#ifndef OVERRIDE_64_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) unsigned long addr), + TP_ARGS(sc_exit(ret,) addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setregid -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, - TP_PROTO(gid_t rgid, gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), +#ifndef OVERRIDE_64_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_64_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mlock -SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_64_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_munlock -SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_64_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_tkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_64_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, - TP_PROTO(int fd, __s32 wd), - TP_ARGS(fd, wd), - TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), +#ifndef OVERRIDE_64_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(func, func)) sc_inout(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_64_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, - TP_PROTO(int clockid, int flags), - TP_ARGS(clockid, flags), - TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), - TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, - TP_PROTO(unsigned int count, int flags), - TP_ARGS(count, flags), - TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), - TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(how, how))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setns -SC_LTTNG_TRACEPOINT_EVENT(sys_setns, - TP_PROTO(int fd, int nstype), - TP_ARGS(fd, nstype), - TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(nstype, nstype)), +#ifndef OVERRIDE_64_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(backlog, backlog))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ioctl -SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_64_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fcntl -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_64_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_lseek -SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, - TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(fd, offset, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), +#ifndef OVERRIDE_64_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mprotect -SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, - TP_PROTO(unsigned long start, size_t len, unsigned long prot), - TP_ARGS(start, len, prot), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), +#ifndef OVERRIDE_64_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_msync -SC_LTTNG_TRACEPOINT_EVENT(sys_msync, - TP_PROTO(unsigned long start, size_t len, int flags), - TP_ARGS(start, len, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_madvise -SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, - TP_PROTO(unsigned long start, size_t len_in, int behavior), - TP_ARGS(start, len_in, behavior), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), - TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), +#ifndef OVERRIDE_64_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(pgid, pgid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_shmget -SC_LTTNG_TRACEPOINT_EVENT(sys_shmget, - TP_PROTO(key_t key, size_t size, int shmflg), - TP_ARGS(key, size, shmflg), - TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(size, size) tp_assign(shmflg, shmflg)), +#ifndef OVERRIDE_64_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_socket -SC_LTTNG_TRACEPOINT_EVENT(sys_socket, - TP_PROTO(int family, int type, int protocol), - TP_ARGS(family, type, protocol), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), +#ifndef OVERRIDE_64_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_semget -SC_LTTNG_TRACEPOINT_EVENT(sys_semget, - TP_PROTO(key_t key, int nsems, int semflg), - TP_ARGS(key, nsems, semflg), - TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), - TP_fast_assign(tp_assign(key, key) tp_assign(nsems, nsems) tp_assign(semflg, semflg)), +#ifndef OVERRIDE_64_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fchown -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, - TP_PROTO(unsigned int fd, uid_t user, gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_64_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, - TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_64_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, - TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_64_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, - TP_PROTO(int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(option, arg1, arg2), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), +#ifndef OVERRIDE_64_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, - TP_PROTO(int which, int who, int niceval), - TP_ARGS(which, who, niceval), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), +#ifndef OVERRIDE_64_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, - TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(addr, bytes, cache), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(bytes, bytes) tp_assign(cache, cache)), +#ifndef OVERRIDE_64_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_tgkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, - TP_PROTO(pid_t tgid, pid_t pid, int sig), - TP_ARGS(tgid, pid, sig), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_64_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, - TP_PROTO(int which, int who, int ioprio), - TP_ARGS(which, who, ioprio), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), +#ifndef OVERRIDE_64_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_dup3 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, - TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(oldfd, newfd, flags), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(sys_32_ftruncate64, - TP_PROTO(unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), - TP_ARGS(fd, __dummy, a2, a3), - TP_STRUCT__entry(__field(unsigned long, fd) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(__dummy, __dummy) tp_assign(a2, a2) tp_assign(a3, a3)), +#ifndef OVERRIDE_64_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ptrace -SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, - TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(request, pid, addr, data), - TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), - TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), +#ifndef OVERRIDE_64_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_n32_semctl -SC_LTTNG_TRACEPOINT_EVENT(sys_n32_semctl, - TP_PROTO(int semid, int semnum, int cmd, u32 arg), - TP_ARGS(semid, semnum, cmd, arg), - TP_STRUCT__entry(__field(int, semid) __field(int, semnum) __field(int, cmd) __field(u32, arg)), - TP_fast_assign(tp_assign(semid, semid) tp_assign(semnum, semnum) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_64_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(prot, prot))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_n32_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(sys_n32_msgsnd, - TP_PROTO(int msqid, u32 msgp, unsigned int msgsz, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(unsigned int, msgsz) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_64_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_tee -SC_LTTNG_TRACEPOINT_EVENT(sys_tee, - TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(fdin, fdout, len, flags), - TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len_in, len_in)) sc_in(tp_assign(behavior, behavior))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mremap -SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, - TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(addr, old_len, new_len, flags, new_addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), +#ifndef OVERRIDE_64_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(size_t, size)) sc_in(__field(int, shmflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(size, size)) sc_in(tp_assign(shmflg, shmflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_n32_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(sys_n32_msgrcv, - TP_PROTO(int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(size_t, msgsz) __field(int, msgtyp) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_64_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_prctl -SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_64_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, nsems)) sc_in(__field(int, semflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(key, key)) sc_in(tp_assign(nsems, nsems)) sc_in(tp_assign(semflg, semflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, - TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(start, size, prot, pgoff, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(sys_32_ipc, - TP_PROTO(u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), - TP_ARGS(call, first, second, third, ptr, fifth), - TP_STRUCT__entry(__field(u32, call) __field(long, first) __field(long, second) __field(long, third) __field_hex(unsigned long, ptr) __field(unsigned long, fifth)), - TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), +#ifndef OVERRIDE_64_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid)) sc_in(tp_assign(suid, suid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap2, - TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(addr, len, prot, flags, fd, pgoff), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(unsigned long, pgoff)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(pgoff, pgoff)), +#ifndef OVERRIDE_64_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid)) sc_in(tp_assign(sgid, sgid))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, - TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(addr, len, prot, flags, fd, offset), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, offset)), +#ifndef OVERRIDE_64_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_in(tp_assign(arg1, arg1)) sc_in(tp_assign(arg2, arg2))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(niceval, niceval))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_cacheflush +SC_LTTNG_TRACEPOINT_EVENT(cacheflush, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), + TP_ARGS(sc_exit(ret,) addr, bytes, cache), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, bytes)) sc_inout(__field(unsigned int, cache))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(bytes, bytes)) sc_inout(tp_assign(cache, cache))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(ioprio, ioprio))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(32_ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), + TP_ARGS(sc_exit(ret,) fd, __dummy, a2, a3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(unsigned long, __dummy)) sc_inout(__field(unsigned long, a2)) sc_inout(__field(unsigned long, a3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(__dummy, __dummy)) sc_inout(tp_assign(a2, a2)) sc_inout(tp_assign(a3, a3))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(request, request)) sc_in(tp_assign(pid, pid)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(data, data))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_n32_semctl +SC_LTTNG_TRACEPOINT_EVENT(n32_semctl, + TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, u32 arg), + TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, semid)) sc_inout(__field(int, semnum)) sc_inout(__field(int, cmd)) sc_inout(__field(u32, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(semid, semid)) sc_inout(tp_assign(semnum, semnum)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_n32_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(n32_msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, unsigned int msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, msqid)) sc_inout(__field(u32, msgp)) sc_inout(__field(unsigned int, msgsz)) sc_inout(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(msqid, msqid)) sc_inout(tp_assign(msgp, msgp)) sc_inout(tp_assign(msgsz, msgsz)) sc_inout(tp_assign(msgflg, msgflg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fdin, fdin)) sc_in(tp_assign(fdout, fdout)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(old_len, old_len)) sc_in(tp_assign(new_len, new_len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_addr, new_addr))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_n32_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(n32_msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, msqid)) sc_inout(__field(u32, msgp)) sc_inout(__field(size_t, msgsz)) sc_inout(__field(int, msgtyp)) sc_inout(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(msqid, msqid)) sc_inout(tp_assign(msgp, msgp)) sc_inout(tp_assign(msgsz, msgsz)) sc_inout(tp_assign(msgtyp, msgtyp)) sc_inout(tp_assign(msgflg, msgflg))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_in(tp_assign(arg3, arg3)) sc_in(tp_assign(arg4, arg4)) sc_in(tp_assign(arg5, arg5))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(size, size)) sc_in(tp_assign(prot, prot)) sc_in(tp_assign(pgoff, pgoff)) sc_in(tp_assign(flags, flags))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(32_ipc, + TP_PROTO(sc_exit(long ret,) u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(u32, call)) sc_inout(__field(long, first)) sc_inout(__field(long, second)) sc_inout(__field(long, third)) sc_inout(__field_hex(unsigned long, ptr)) sc_inout(__field(unsigned long, fifth))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(first, first)) sc_inout(tp_assign(second, second)) sc_inout(tp_assign(third, third)) sc_inout(tp_assign(ptr, ptr)) sc_inout(tp_assign(fifth, fifth))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_mips_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(unsigned long, pgoff))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(prot, prot)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(pgoff, pgoff))), + TP_printk() +) +#endif +#ifndef OVERRIDE_64_mips_mmap +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(off_t, offset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(prot, prot)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset, offset))), TP_printk() ) #endif @@ -850,314 +1006,368 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, #include "mips-64-syscalls-3.5.0_integers_override.h" #include "syscalls_integers_override.h" -#ifndef OVERRIDE_TABLE_64_sys_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 4068, 0) +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_64_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 6023, 0) +#endif +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 6033, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 6038, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 6100, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 6102, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 6105, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 6106, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 6108, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 6109, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 6110, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 6149, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 6150, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 6157, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 6178, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 6214, 0) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 6247, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 6023, 0) +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 6023, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 6033, 0) +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(pause, pause, 6033, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 6038, 0) +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 6038, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 6100, 0) +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 6100, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 6102, 0) +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 6102, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 6105, 0) +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 6105, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 6106, 0) +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 6106, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 6108, 0) +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 6108, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 6109, 0) +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 6109, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 6110, 0) +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 6110, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 6149, 0) +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 6149, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 6150, 0) +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 6150, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 6157, 0) +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(sync, sync, 6157, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 6178, 0) +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 6178, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 6214, 0) +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 6214, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 6247, 0) +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 6247, 0) #endif -#ifndef OVERRIDE_TABLE_64_sys_nice -TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 4034, 1) +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_nice +TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_ssetmask -TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 4069, 1) +#ifndef OVERRIDE_TABLE_64_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_ipc -TRACE_SYSCALL_TABLE(sys_32_ipc, sys_32_ipc, 4117, 6) +#ifndef OVERRIDE_TABLE_64_32_ipc +TRACE_SYSCALL_TABLE(32_ipc, 32_ipc, 4117, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_bdflush -TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 4134, 2) +#ifndef OVERRIDE_TABLE_64_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_mips_mmap2 -TRACE_SYSCALL_TABLE(sys_mips_mmap2, sys_mips_mmap2, 4210, 6) +#ifndef OVERRIDE_TABLE_64_mips_mmap2 +TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_ftruncate64 -TRACE_SYSCALL_TABLE(sys_32_ftruncate64, sys_32_ftruncate64, 4212, 4) +#ifndef OVERRIDE_TABLE_64_32_ftruncate64 +TRACE_SYSCALL_TABLE(32_ftruncate64, 32_ftruncate64, 4212, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_ioctl -TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 5015, 3) +#ifndef OVERRIDE_TABLE_64_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 5015, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_fcntl -TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 5070, 3) +#ifndef OVERRIDE_TABLE_64_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 5070, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_ptrace -TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 5099, 4) +#ifndef OVERRIDE_TABLE_64_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 5099, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_personality -TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 5132, 1) +#ifndef OVERRIDE_TABLE_64_personality +TRACE_SYSCALL_TABLE(personality, personality, 5132, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_close -TRACE_SYSCALL_TABLE(sys_close, sys_close, 6003, 1) +#ifndef OVERRIDE_TABLE_64_close +TRACE_SYSCALL_TABLE(close, close, 6003, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_lseek -TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 6008, 3) +#ifndef OVERRIDE_TABLE_64_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 6008, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_mips_mmap -TRACE_SYSCALL_TABLE(sys_mips_mmap, sys_mips_mmap, 6009, 6) +#ifndef OVERRIDE_TABLE_64_mips_mmap +TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 6009, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_mprotect -TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 6010, 3) +#ifndef OVERRIDE_TABLE_64_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 6010, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_munmap -TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 6011, 2) +#ifndef OVERRIDE_TABLE_64_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 6011, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_brk -TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 6012, 1) +#ifndef OVERRIDE_TABLE_64_brk +TRACE_SYSCALL_TABLE(brk, brk, 6012, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_mremap -TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 6024, 5) +#ifndef OVERRIDE_TABLE_64_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 6024, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_msync -TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 6025, 3) +#ifndef OVERRIDE_TABLE_64_msync +TRACE_SYSCALL_TABLE(msync, msync, 6025, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_madvise -TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 6027, 3) +#ifndef OVERRIDE_TABLE_64_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 6027, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_shmget -TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 6028, 3) +#ifndef OVERRIDE_TABLE_64_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 6028, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_dup -TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 6031, 1) +#ifndef OVERRIDE_TABLE_64_dup +TRACE_SYSCALL_TABLE(dup, dup, 6031, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_dup2 -TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 6032, 2) +#ifndef OVERRIDE_TABLE_64_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 6032, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_alarm -TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 6037, 1) +#ifndef OVERRIDE_TABLE_64_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 6037, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_socket -TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 6040, 3) +#ifndef OVERRIDE_TABLE_64_socket +TRACE_SYSCALL_TABLE(socket, socket, 6040, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_shutdown -TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 6047, 2) +#ifndef OVERRIDE_TABLE_64_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 6047, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_listen -TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 6049, 2) +#ifndef OVERRIDE_TABLE_64_listen +TRACE_SYSCALL_TABLE(listen, listen, 6049, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_exit -TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 6058, 1) +#ifndef OVERRIDE_TABLE_64_exit +TRACE_SYSCALL_TABLE(exit, exit, 6058, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_kill -TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 6060, 2) +#ifndef OVERRIDE_TABLE_64_kill +TRACE_SYSCALL_TABLE(kill, kill, 6060, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_semget -TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 6062, 3) +#ifndef OVERRIDE_TABLE_64_semget +TRACE_SYSCALL_TABLE(semget, semget, 6062, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_n32_semctl -TRACE_SYSCALL_TABLE(sys_n32_semctl, sys_n32_semctl, 6064, 4) +#ifndef OVERRIDE_TABLE_64_n32_semctl +TRACE_SYSCALL_TABLE(n32_semctl, n32_semctl, 6064, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_msgget -TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 6066, 2) +#ifndef OVERRIDE_TABLE_64_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 6066, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_n32_msgsnd -TRACE_SYSCALL_TABLE(sys_n32_msgsnd, sys_n32_msgsnd, 6067, 4) +#ifndef OVERRIDE_TABLE_64_n32_msgsnd +TRACE_SYSCALL_TABLE(n32_msgsnd, n32_msgsnd, 6067, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_n32_msgrcv -TRACE_SYSCALL_TABLE(sys_n32_msgrcv, sys_n32_msgrcv, 6068, 5) +#ifndef OVERRIDE_TABLE_64_n32_msgrcv +TRACE_SYSCALL_TABLE(n32_msgrcv, n32_msgrcv, 6068, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_flock -TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 6071, 2) +#ifndef OVERRIDE_TABLE_64_flock +TRACE_SYSCALL_TABLE(flock, flock, 6071, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_fsync -TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 6072, 1) +#ifndef OVERRIDE_TABLE_64_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 6072, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_fdatasync -TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 6073, 1) +#ifndef OVERRIDE_TABLE_64_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 6073, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_ftruncate -TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 6075, 2) +#ifndef OVERRIDE_TABLE_64_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 6075, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_fchdir -TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 6079, 1) +#ifndef OVERRIDE_TABLE_64_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 6079, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_fchmod -TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 6089, 2) +#ifndef OVERRIDE_TABLE_64_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 6089, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_fchown -TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 6091, 3) +#ifndef OVERRIDE_TABLE_64_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 6091, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_umask -TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 6093, 1) +#ifndef OVERRIDE_TABLE_64_umask +TRACE_SYSCALL_TABLE(umask, umask, 6093, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setuid -TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 6103, 1) +#ifndef OVERRIDE_TABLE_64_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 6103, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setgid -TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 6104, 1) +#ifndef OVERRIDE_TABLE_64_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 6104, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setpgid -TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 6107, 2) +#ifndef OVERRIDE_TABLE_64_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 6107, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setreuid -TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 6111, 2) +#ifndef OVERRIDE_TABLE_64_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 6111, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setregid -TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 6112, 2) +#ifndef OVERRIDE_TABLE_64_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 6112, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setresuid -TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 6115, 3) +#ifndef OVERRIDE_TABLE_64_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 6115, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_setresgid -TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 6117, 3) +#ifndef OVERRIDE_TABLE_64_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 6117, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getpgid -TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 6119, 1) +#ifndef OVERRIDE_TABLE_64_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 6119, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setfsuid -TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 6120, 1) +#ifndef OVERRIDE_TABLE_64_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 6120, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setfsgid -TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 6121, 1) +#ifndef OVERRIDE_TABLE_64_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 6121, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_getsid -TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 6122, 1) +#ifndef OVERRIDE_TABLE_64_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 6122, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_personality -TRACE_SYSCALL_TABLE(sys_32_personality, sys_32_personality, 6132, 1) +#ifndef OVERRIDE_TABLE_64_32_personality +TRACE_SYSCALL_TABLE(32_personality, 32_personality, 6132, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_sysfs -TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 6136, 3) +#ifndef OVERRIDE_TABLE_64_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 6136, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getpriority -TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 6137, 2) +#ifndef OVERRIDE_TABLE_64_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 6137, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setpriority -TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 6138, 3) +#ifndef OVERRIDE_TABLE_64_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 6138, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_getscheduler -TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 6142, 1) +#ifndef OVERRIDE_TABLE_64_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 6142, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_max -TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 6143, 1) +#ifndef OVERRIDE_TABLE_64_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 6143, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_min -TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 6144, 1) +#ifndef OVERRIDE_TABLE_64_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 6144, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_mlock -TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 6146, 2) +#ifndef OVERRIDE_TABLE_64_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 6146, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_munlock -TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 6147, 2) +#ifndef OVERRIDE_TABLE_64_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 6147, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_mlockall -TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 6148, 1) +#ifndef OVERRIDE_TABLE_64_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 6148, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_prctl -TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 6153, 5) +#ifndef OVERRIDE_TABLE_64_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 6153, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_tkill -TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 6192, 2) +#ifndef OVERRIDE_TABLE_64_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 6192, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_cacheflush -TRACE_SYSCALL_TABLE(sys_cacheflush, sys_cacheflush, 6197, 3) +#ifndef OVERRIDE_TABLE_64_cacheflush +TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 6197, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_io_destroy -TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 6201, 1) +#ifndef OVERRIDE_TABLE_64_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 6201, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_exit_group -TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 6205, 1) +#ifndef OVERRIDE_TABLE_64_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 6205, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_epoll_create -TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 6207, 1) +#ifndef OVERRIDE_TABLE_64_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 6207, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_remap_file_pages -TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 6210, 5) +#ifndef OVERRIDE_TABLE_64_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 6210, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_timer_getoverrun -TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 6223, 1) +#ifndef OVERRIDE_TABLE_64_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 6223, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_timer_delete -TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 6224, 1) +#ifndef OVERRIDE_TABLE_64_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 6224, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_tgkill -TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 6229, 3) +#ifndef OVERRIDE_TABLE_64_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 6229, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_set_thread_area -TRACE_SYSCALL_TABLE(sys_set_thread_area, sys_set_thread_area, 6246, 1) +#ifndef OVERRIDE_TABLE_64_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 6246, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_inotify_rm_watch -TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 6249, 2) +#ifndef OVERRIDE_TABLE_64_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 6249, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_unshare -TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 6266, 1) +#ifndef OVERRIDE_TABLE_64_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 6266, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_tee -TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 6269, 4) +#ifndef OVERRIDE_TABLE_64_tee +TRACE_SYSCALL_TABLE(tee, tee, 6269, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_ioprio_set -TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 6277, 3) +#ifndef OVERRIDE_TABLE_64_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 6277, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_ioprio_get -TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 6278, 2) +#ifndef OVERRIDE_TABLE_64_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 6278, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_eventfd -TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 6282, 1) +#ifndef OVERRIDE_TABLE_64_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 6282, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_timerfd_create -TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 6284, 2) +#ifndef OVERRIDE_TABLE_64_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 6284, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_eventfd2 -TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 6288, 2) +#ifndef OVERRIDE_TABLE_64_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 6288, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_epoll_create1 -TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 6289, 1) +#ifndef OVERRIDE_TABLE_64_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 6289, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_dup3 -TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 6290, 3) +#ifndef OVERRIDE_TABLE_64_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 6290, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_inotify_init1 -TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 6292, 1) +#ifndef OVERRIDE_TABLE_64_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 6292, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_syncfs -TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 6306, 1) +#ifndef OVERRIDE_TABLE_64_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 6306, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setns -TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 6308, 2) +#ifndef OVERRIDE_TABLE_64_setns +TRACE_SYSCALL_TABLE(setns, setns, 6308, 2) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h index 2c5e1ef8..14f2fca4 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h @@ -9,1659 +9,1659 @@ #include "mips-64-syscalls-3.5.0_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_64_sys_oldumount -SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, - TP_PROTO(char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_64_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_olduname -SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, - TP_PROTO(struct oldold_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_64_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct oldold_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_uselib -SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, - TP_PROTO(const char * library), - TP_ARGS(library), - TP_STRUCT__entry(__field_hex(const char *, library)), - TP_fast_assign(tp_assign(library, library)), +#ifndef OVERRIDE_64_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(library, library))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_uname -SC_LTTNG_TRACEPOINT_EVENT(sys_uname, - TP_PROTO(struct old_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_64_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct old_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, - TP_PROTO(struct sysinfo * info), - TP_ARGS(info), - TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), - TP_fast_assign(tp_assign(info, info)), +#ifndef OVERRIDE_64_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_times -SC_LTTNG_TRACEPOINT_EVENT(sys_times, - TP_PROTO(struct tms * tbuf), - TP_ARGS(tbuf), - TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), - TP_fast_assign(tp_assign(tbuf, tbuf)), +#ifndef OVERRIDE_64_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, - TP_PROTO(struct __sysctl_args * args), - TP_ARGS(args), - TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), - TP_fast_assign(tp_assign(args, args)), +#ifndef OVERRIDE_64_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, - TP_PROTO(struct timex * txc_p), - TP_ARGS(txc_p), - TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), - TP_fast_assign(tp_assign(txc_p, txc_p)), +#ifndef OVERRIDE_64_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_newuname -SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, - TP_PROTO(struct new_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_64_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_shmdt -SC_LTTNG_TRACEPOINT_EVENT(sys_shmdt, - TP_PROTO(char * shmaddr), - TP_ARGS(shmaddr), - TP_STRUCT__entry(__field_hex(char *, shmaddr)), - TP_fast_assign(tp_assign(shmaddr, shmaddr)), +#ifndef OVERRIDE_64_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(char *, shmaddr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmaddr, shmaddr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_chdir -SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_64_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rmdir -SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_64_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_64_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_chroot -SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_64_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_swapoff -SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, - TP_PROTO(const char * specialfile), - TP_ARGS(specialfile), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), +#ifndef OVERRIDE_64_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, - TP_PROTO(int * tidptr), - TP_ARGS(tidptr), - TP_STRUCT__entry(__field_hex(int *, tidptr)), - TP_fast_assign(tp_assign(tidptr, tidptr)), +#ifndef OVERRIDE_64_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, - TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(rqtp, rmtp), - TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_64_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, - TP_PROTO(int which, struct itimerval * value), - TP_ARGS(which, value), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_64_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_64_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getrusage -SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, - TP_PROTO(int who, struct rusage * ru), - TP_ARGS(who, ru), - TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), +#ifndef OVERRIDE_64_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, - TP_PROTO(sigset_t * set, size_t sigsetsize), - TP_ARGS(set, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(set, set) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, set)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(set, set)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_utime -SC_LTTNG_TRACEPOINT_EVENT(sys_utime, - TP_PROTO(char * filename, struct utimbuf * times), - TP_ARGS(filename, times), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), +#ifndef OVERRIDE_64_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(times, times))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ustat -SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, - TP_PROTO(unsigned dev, struct ustat * ubuf), - TP_ARGS(dev, ubuf), - TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), - TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), +#ifndef OVERRIDE_64_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_statfs -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, - TP_PROTO(const char * pathname, struct statfs * buf), - TP_ARGS(pathname, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), +#ifndef OVERRIDE_64_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, - TP_PROTO(unsigned int fd, struct statfs * buf), - TP_ARGS(fd, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), +#ifndef OVERRIDE_64_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, - TP_PROTO(pid_t pid, struct timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), +#ifndef OVERRIDE_64_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_64_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_64_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_io_setup -SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, - TP_PROTO(unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(nr_events, ctxp), - TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), - TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), +#ifndef OVERRIDE_64_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, - TP_PROTO(timer_t timer_id, struct itimerspec * setting), - TP_ARGS(timer_id, setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), +#ifndef OVERRIDE_64_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, - TP_PROTO(const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_64_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_64_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_64_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_utimes -SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, - TP_PROTO(char * filename, struct timeval * utimes), - TP_ARGS(filename, utimes), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_64_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, - TP_PROTO(struct robust_list_head * head, size_t len), - TP_ARGS(head, len), - TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), - TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), +#ifndef OVERRIDE_64_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, - TP_PROTO(int ufd, struct itimerspec * otmr), - TP_ARGS(ufd, otmr), - TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_64_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, - TP_PROTO(const clockid_t which_clock, struct timex * utx), - TP_ARGS(which_clock, utx), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), +#ifndef OVERRIDE_64_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_newstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_64_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_newfstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, - TP_PROTO(unsigned int fd, struct stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_64_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_newlstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_64_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_access -SC_LTTNG_TRACEPOINT_EVENT(sys_access, - TP_PROTO(const char * filename, int mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_truncate -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, - TP_PROTO(const char * path, long length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), +#ifndef OVERRIDE_64_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getcwd -SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, - TP_PROTO(char * buf, unsigned long size), - TP_ARGS(buf, size), - TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), - TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), +#ifndef OVERRIDE_64_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rename -SC_LTTNG_TRACEPOINT_EVENT(sys_rename, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_64_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mkdir -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_creat -SC_LTTNG_TRACEPOINT_EVENT(sys_creat, - TP_PROTO(const char * pathname, umode_t mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_link -SC_LTTNG_TRACEPOINT_EVENT(sys_link, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_64_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_symlink -SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_64_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_chmod -SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, - TP_PROTO(const char * filename, umode_t mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_64_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_64_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigpending, - TP_PROTO(compat_sigset_t * uset, unsigned int sigsetsize), - TP_ARGS(uset, sigsetsize), - TP_STRUCT__entry(__field_hex(compat_sigset_t *, uset) __field(unsigned int, sigsetsize)), - TP_fast_assign(tp_assign(uset, uset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigpending, + TP_PROTO(sc_exit(long ret,) compat_sigset_t * uset, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(compat_sigset_t *, uset)) sc_inout(__field(unsigned int, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uset, uset)) sc_inout(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_64_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_64_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_32_sched_rr_get_interval, - TP_PROTO(compat_pid_t pid, struct compat_timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(compat_pid_t, pid) __field_hex(struct compat_timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), +#ifndef OVERRIDE_64_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(32_sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) compat_pid_t pid, struct compat_timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(compat_pid_t, pid)) sc_inout(__field_hex(struct compat_timespec *, interval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(interval, interval))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, - TP_PROTO(const char * new_root, const char * put_old), - TP_ARGS(new_root, put_old), - TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), - TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), +#ifndef OVERRIDE_64_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_umount -SC_LTTNG_TRACEPOINT_EVENT(sys_umount, - TP_PROTO(char * name, int flags), - TP_ARGS(name, flags), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_swapon -SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, - TP_PROTO(const char * specialfile, int swap_flags), - TP_ARGS(specialfile, swap_flags), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), +#ifndef OVERRIDE_64_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile)) sc_in(tp_assign(swap_flags, swap_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_64_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_64_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_delete_module -SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, - TP_PROTO(const char * name_user, unsigned int flags), - TP_ARGS(name_user, flags), - TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), - TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_removexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_64_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_64_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, - TP_PROTO(int fd, const char * name), - TP_ARGS(fd, name), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_64_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, - TP_PROTO(int * fildes, int flags), - TP_ARGS(fildes, flags), - TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), - TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_waitpid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, - TP_PROTO(pid_t pid, int * stat_addr, int options), - TP_ARGS(pid, stat_addr, options), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), +#ifndef OVERRIDE_64_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(pid_t, pid)) sc_inout(__field_hex(int *, stat_addr)) sc_inout(__field(int, options))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(stat_addr, stat_addr)) sc_inout(tp_assign(options, options))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_32_sigaction, - TP_PROTO(long sig, const struct sigaction32 * act, struct sigaction32 * oact), - TP_ARGS(sig, act, oact), - TP_STRUCT__entry(__field(long, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), +#ifndef OVERRIDE_64_32_sigaction +SC_LTTNG_TRACEPOINT_EVENT(32_sigaction, + TP_PROTO(sc_exit(long ret,) long sig, const struct sigaction32 * act, struct sigaction32 * oact), + TP_ARGS(sc_exit(ret,) sig, act, oact), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(long, sig)) sc_inout(__field_hex(const struct sigaction32 *, act)) sc_inout(__field_hex(struct sigaction32 *, oact))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(act, act)) sc_inout(tp_assign(oact, oact))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_readv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_64_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_writev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_64_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_shmctl -SC_LTTNG_TRACEPOINT_EVENT(sys_shmctl, - TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(shmid, cmd, buf), - TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), - TP_fast_assign(tp_assign(shmid, shmid) tp_assign(cmd, cmd) tp_assign(buf, buf)), +#ifndef OVERRIDE_64_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct shmid_ds *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, - TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(which, value, ovalue), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), +#ifndef OVERRIDE_64_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_msgctl -SC_LTTNG_TRACEPOINT_EVENT(sys_msgctl, - TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(msqid, cmd, buf), - TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(cmd, cmd) tp_assign(buf, buf)), +#ifndef OVERRIDE_64_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct msqid_ds *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getdents -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, - TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_64_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, - TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_64_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_64_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_in(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_64_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_out(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_io_submit -SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, - TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(ctx_id, nr, iocbpp), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), +#ifndef OVERRIDE_64_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timer_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, - TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(which_clock, timer_event_spec, created_timer_id), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), +#ifndef OVERRIDE_64_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_futimesat -SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, - TP_PROTO(int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(dfd, filename, utimes), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_64_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, - TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(pid, head_ptr, len_ptr), - TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), +#ifndef OVERRIDE_64_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_signalfd -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(ufd, user_mask, sizemask), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), +#ifndef OVERRIDE_64_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_read -SC_LTTNG_TRACEPOINT_EVENT(sys_read, - TP_PROTO(unsigned int fd, char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_64_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_write -SC_LTTNG_TRACEPOINT_EVENT(sys_write, - TP_PROTO(unsigned int fd, const char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_64_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_open -SC_LTTNG_TRACEPOINT_EVENT(sys_open, - TP_PROTO(const char * filename, int flags, umode_t mode), - TP_ARGS(filename, flags, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_poll -SC_LTTNG_TRACEPOINT_EVENT(sys_poll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(ufds, nfds, timeout_msecs), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), +#ifndef OVERRIDE_64_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(int, timeout_msecs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mincore -SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, - TP_PROTO(unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(start, len, vec), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), +#ifndef OVERRIDE_64_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_shmat -SC_LTTNG_TRACEPOINT_EVENT(sys_shmat, - TP_PROTO(int shmid, char * shmaddr, int shmflg), - TP_ARGS(shmid, shmaddr, shmflg), - TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), - TP_fast_assign(tp_assign(shmid, shmid) tp_assign(shmaddr, shmaddr) tp_assign(shmflg, shmflg)), +#ifndef OVERRIDE_64_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field_hex(char *, shmaddr)) sc_in(__field(int, shmflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(shmaddr, shmaddr)) sc_in(tp_assign(shmflg, shmflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_connect -SC_LTTNG_TRACEPOINT_EVENT(sys_connect, - TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(fd, uservaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_64_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uservaddr, uservaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_accept -SC_LTTNG_TRACEPOINT_EVENT(sys_accept, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), +#ifndef OVERRIDE_64_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_bind -SC_LTTNG_TRACEPOINT_EVENT(sys_bind, - TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(fd, umyaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_64_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(umyaddr, umyaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getsockname -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_64_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getpeername -SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_64_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_semop -SC_LTTNG_TRACEPOINT_EVENT(sys_semop, - TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(semid, tsops, nsops), - TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), - TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops)), +#ifndef OVERRIDE_64_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_readlink -SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, - TP_PROTO(const char * path, char * buf, int bufsiz), - TP_ARGS(path, buf, bufsiz), - TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_64_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_chown -SC_LTTNG_TRACEPOINT_EVENT(sys_chown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_64_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_lchown -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_64_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_syslog -SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, - TP_PROTO(int type, char * buf, int len), - TP_ARGS(type, buf, len), - TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), - TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), +#ifndef OVERRIDE_64_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, - TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(ruidp, euidp, suidp), - TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), - TP_fast_assign(tp_assign(ruidp, ruidp) tp_assign(euidp, euidp) tp_assign(suidp, suidp)), +#ifndef OVERRIDE_64_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruidp)) sc_out(__field_hex(uid_t *, euidp)) sc_out(__field_hex(uid_t *, suidp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruidp, ruidp)) sc_out(tp_assign(euidp, euidp)) sc_out(tp_assign(suidp, suidp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, - TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(rgidp, egidp, sgidp), - TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), - TP_fast_assign(tp_assign(rgidp, rgidp) tp_assign(egidp, egidp) tp_assign(sgidp, sgidp)), +#ifndef OVERRIDE_64_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgidp)) sc_out(__field_hex(gid_t *, egidp)) sc_out(__field_hex(gid_t *, sgidp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgidp, rgidp)) sc_out(tp_assign(egidp, egidp)) sc_out(tp_assign(sgidp, sgidp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigqueueinfo, - TP_PROTO(int pid, int sig, compat_siginfo_t * uinfo), - TP_ARGS(pid, sig, uinfo), - TP_STRUCT__entry(__field(int, pid) __field(int, sig) __field_hex(compat_siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_64_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) int pid, int sig, compat_siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, pid)) sc_inout(__field(int, sig)) sc_inout(__field_hex(compat_siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mknod -SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, - TP_PROTO(const char * filename, umode_t mode, unsigned dev), - TP_ARGS(filename, mode, dev), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_64_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, - TP_PROTO(pid_t pid, int policy, struct sched_param * param), - TP_ARGS(pid, policy, param), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), +#ifndef OVERRIDE_64_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_init_module -SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, - TP_PROTO(void * umod, unsigned long len, const char * uargs), - TP_ARGS(umod, len, uargs), - TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), - TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), +#ifndef OVERRIDE_64_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_listxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_64_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_64_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, - TP_PROTO(int fd, char * list, size_t size), - TP_ARGS(fd, list, size), - TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_64_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_cachectl -SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, - TP_PROTO(char * addr, int nbytes, int op), - TP_ARGS(addr, nbytes, op), - TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), +#ifndef OVERRIDE_64_cachectl +SC_LTTNG_TRACEPOINT_EVENT(cachectl, + TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), + TP_ARGS(sc_exit(ret,) addr, nbytes, op), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(char *, addr)) sc_inout(__field(int, nbytes)) sc_inout(__field(int, op))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(nbytes, nbytes)) sc_inout(tp_assign(op, op))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, - TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(ctx_id, iocb, result), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), +#ifndef OVERRIDE_64_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, - TP_PROTO(int fd, const char * pathname, u32 mask), - TP_ARGS(fd, pathname, mask), - TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), +#ifndef OVERRIDE_64_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, - TP_PROTO(int dfd, const char * pathname, umode_t mode), - TP_ARGS(dfd, pathname, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, - TP_PROTO(int dfd, const char * pathname, int flag), - TP_ARGS(dfd, pathname, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), +#ifndef OVERRIDE_64_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, - TP_PROTO(const char * oldname, int newdfd, const char * newname), - TP_ARGS(oldname, newdfd, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_64_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, - TP_PROTO(int dfd, const char * filename, umode_t mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_faccessat -SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, - TP_PROTO(int dfd, const char * filename, int mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getcpu -SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, - TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(cpup, nodep, unused), - TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), - TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), +#ifndef OVERRIDE_64_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, - TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_64_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_send -SC_LTTNG_TRACEPOINT_EVENT(sys_send, - TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(fd, buff, len, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field_hex(void *, buff)) sc_inout(__field(size_t, len)) sc_inout(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buff, buff)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(sys_32_truncate64, - TP_PROTO(const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), - TP_ARGS(path, __dummy, a2, a3), - TP_STRUCT__entry(__string_from_user(path, path) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(__dummy, __dummy) tp_assign(a2, a2) tp_assign(a3, a3)), +#ifndef OVERRIDE_64_32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(32_truncate64, + TP_PROTO(sc_exit(long ret,) const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), + TP_ARGS(sc_exit(ret,) path, __dummy, a2, a3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(path, path)) sc_inout(__field(unsigned long, __dummy)) sc_inout(__field(unsigned long, a2)) sc_inout(__field(unsigned long, a3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(path, path)) sc_inout(tp_assign(__dummy, __dummy)) sc_inout(tp_assign(a2, a2)) sc_inout(tp_assign(a3, a3))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sig, act, oact, sigsetsize), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, - TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(how, nset, oset, sigsetsize), - TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_wait4 -SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, - TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(upid, stat_addr, options, ru), - TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_64_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(sys_msgsnd, - TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_64_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, - TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(uthese, uinfo, uts, sigsetsize), - TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(sys_semtimedop, - TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(semid, tsops, nsops, timeout), - TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), - TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_64_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops)) sc_inout(__field_hex(const struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, - TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(timer_id, flags, new_setting, old_setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), +#ifndef OVERRIDE_64_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, - TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(which_clock, flags, rqtp, rmtp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_64_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, - TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(fd, iov, nr_segs, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_utimensat -SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, - TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(dfd, filename, utimes, flags), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, - TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(ufd, flags, utmr, otmr), - TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_64_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, - TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(tgid, pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_64_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(fd, mmsg, vlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigaction, - TP_PROTO(int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), - TP_ARGS(sig, act, oact, sigsetsize), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact) __field(unsigned int, sigsetsize)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, sig)) sc_inout(__field_hex(const struct sigaction32 *, act)) sc_inout(__field_hex(struct sigaction32 *, oact)) sc_inout(__field(unsigned int, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(act, act)) sc_inout(tp_assign(oact, oact)) sc_inout(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigprocmask, - TP_PROTO(int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), - TP_ARGS(how, set, oset, sigsetsize), - TP_STRUCT__entry(__field(int, how) __field_hex(compat_sigset_t *, set) __field_hex(compat_sigset_t *, oset) __field(unsigned int, sigsetsize)), - TP_fast_assign(tp_assign(how, how) tp_assign(set, set) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) how, set, oset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(compat_sigset_t *, set)) sc_inout(__field_hex(compat_sigset_t *, oset)) sc_inout(__field(unsigned int, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(how, how)) sc_inout(tp_assign(set, set)) sc_inout(tp_assign(oset, oset)) sc_inout(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sys_32_sendfile, - TP_PROTO(long out_fd, long in_fd, compat_off_t * offset, s32 count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(long, out_fd) __field(long, in_fd) __field_hex(compat_off_t *, offset) __field(s32, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_64_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(32_sendfile, + TP_PROTO(sc_exit(long ret,) long out_fd, long in_fd, compat_off_t * offset, s32 count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(long, out_fd)) sc_inout(__field(long, in_fd)) sc_inout(__field_hex(compat_off_t *, offset)) sc_inout(__field(s32, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(out_fd, out_fd)) sc_inout(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_socketpair -SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, - TP_PROTO(int family, int type, int protocol, int * usockvec), - TP_ARGS(family, type, protocol, usockvec), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), +#ifndef OVERRIDE_64_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol)) sc_out(tp_assign(usockvec, usockvec))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_reboot -SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, - TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(magic1, magic2, cmd, arg), - TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), - TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_64_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_quotactl -SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, - TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(cmd, special, id, addr), - TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), - TP_fast_assign(tp_assign(cmd, cmd) tp_assign(special, special) tp_assign(id, id) tp_assign(addr, addr)), +#ifndef OVERRIDE_64_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(special, special)) sc_in(tp_assign(id, id)) sc_inout(tp_assign(addr, addr))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_64_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_64_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, - TP_PROTO(int fd, const char * name, void * value, size_t size), - TP_ARGS(fd, name, value, size), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_64_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, - TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(epfd, op, fd, event), - TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), +#ifndef OVERRIDE_64_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(epfd, events, maxevents, timeout), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_64_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, - TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_64_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_openat -SC_LTTNG_TRACEPOINT_EVENT(sys_openat, - TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(dfd, filename, flags, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_64_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mknodat -SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, - TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(dfd, filename, mode, dev), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_64_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_newfstatat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstatat, - TP_PROTO(int dfd, const char * filename, struct stat * statbuf, int flag), - TP_ARGS(dfd, filename, statbuf, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat *, statbuf) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), +#ifndef OVERRIDE_64_newfstatat +SC_LTTNG_TRACEPOINT_EVENT(newfstatat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_renameat -SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(olddfd, oldname, newdfd, newname), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_64_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, - TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(dfd, pathname, buf, bufsiz), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_64_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(ufd, user_mask, sizemask, flags), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_accept4 -SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, - TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(pid, resource, new_rlim, old_rlim), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), +#ifndef OVERRIDE_64_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(sys_32_llseek, - TP_PROTO(unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), - TP_ARGS(fd, offset_high, offset_low, result, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, offset_high) __field(unsigned int, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), +#ifndef OVERRIDE_64_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(32_llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, offset_high)) sc_inout(__field(unsigned int, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset_high, offset_high)) sc_inout(tp_assign(offset_low, offset_low)) sc_inout(tp_assign(result, result)) sc_inout(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(sys_32_waitid, - TP_PROTO(int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), - TP_ARGS(which, pid, uinfo, options, uru), - TP_STRUCT__entry(__field(int, which) __field(compat_pid_t, pid) __field_hex(compat_siginfo_t *, uinfo) __field(int, options) __field_hex(struct compat_rusage *, uru)), - TP_fast_assign(tp_assign(which, which) tp_assign(pid, pid) tp_assign(uinfo, uinfo) tp_assign(options, options) tp_assign(uru, uru)), +#ifndef OVERRIDE_64_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(32_waitid, + TP_PROTO(sc_exit(long ret,) int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), + TP_ARGS(sc_exit(ret,) which, pid, uinfo, options, uru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, which)) sc_inout(__field(compat_pid_t, pid)) sc_inout(__field_hex(compat_siginfo_t *, uinfo)) sc_inout(__field(int, options)) sc_inout(__field_hex(struct compat_rusage *, uru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(which, which)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(uinfo, uinfo)) sc_inout(tp_assign(options, options)) sc_inout(tp_assign(uru, uru))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_select -SC_LTTNG_TRACEPOINT_EVENT(sys_select, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(n, inp, outp, exp, tvp), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), +#ifndef OVERRIDE_64_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_64_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_in(tp_assign(optval, optval)) sc_in(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(sys_msgrcv, - TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), - TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), - TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), +#ifndef OVERRIDE_64_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_out(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(long, msgtyp)) sc_in(__field(int, msgflg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_out(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgtyp, msgtyp)) sc_in(tp_assign(msgflg, msgflg))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_mount -SC_LTTNG_TRACEPOINT_EVENT(sys_mount, - TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(dev_name, dir_name, type, flags, data), - TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), - TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), +#ifndef OVERRIDE_64_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, - TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(ctx_id, min_nr, nr, events, timeout), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_64_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_waitid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, - TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(which, upid, infop, options, ru), - TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_64_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_ppoll -SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(fd, mmsg, vlen, flags, timeout), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_64_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_64_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_out(tp_assign(optval, optval)) sc_inout(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_setxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, - TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(fd, name, value, size, flags), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_fchownat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, - TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(dfd, filename, user, group, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), +#ifndef OVERRIDE_64_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_linkat -SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(olddfd, oldname, newdfd, newname, flags), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_preadv -SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_64_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_pwritev -SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_64_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_pread -SC_LTTNG_TRACEPOINT_EVENT(sys_32_pread, - TP_PROTO(unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), - TP_ARGS(fd, buf, count, unused, a4, a5), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(char *, buf) __field(size_t, count) __field(unsigned long, unused) __field(unsigned long, a4) __field(unsigned long, a5)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(unused, unused) tp_assign(a4, a4) tp_assign(a5, a5)), +#ifndef OVERRIDE_64_32_pread +SC_LTTNG_TRACEPOINT_EVENT(32_pread, + TP_PROTO(sc_exit(long ret,) unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), + TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(char *, buf)) sc_inout(__field(size_t, count)) sc_inout(__field(unsigned long, unused)) sc_inout(__field(unsigned long, a4)) sc_inout(__field(unsigned long, a5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buf, buf)) sc_inout(tp_assign(count, count)) sc_inout(tp_assign(unused, unused)) sc_inout(tp_assign(a4, a4)) sc_inout(tp_assign(a5, a5))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_pwrite -SC_LTTNG_TRACEPOINT_EVENT(sys_32_pwrite, - TP_PROTO(unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), - TP_ARGS(fd, buf, count, unused, a4, a5), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(u32, unused) __field(u64, a4) __field(u64, a5)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(unused, unused) tp_assign(a4, a4) tp_assign(a5, a5)), +#ifndef OVERRIDE_64_32_pwrite +SC_LTTNG_TRACEPOINT_EVENT(32_pwrite, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), + TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(const char *, buf)) sc_inout(__field(size_t, count)) sc_inout(__field(u32, unused)) sc_inout(__field(u64, a4)) sc_inout(__field(u64, a5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buf, buf)) sc_inout(tp_assign(count, count)) sc_inout(tp_assign(unused, unused)) sc_inout(tp_assign(a4, a4)) sc_inout(tp_assign(a5, a5))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_fanotify_mark -SC_LTTNG_TRACEPOINT_EVENT(sys_32_fanotify_mark, - TP_PROTO(int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), - TP_ARGS(fanotify_fd, flags, a3, a4, dfd, pathname), - TP_STRUCT__entry(__field(int, fanotify_fd) __field(unsigned int, flags) __field(u64, a3) __field(u64, a4) __field(int, dfd) __string_from_user(pathname, pathname)), - TP_fast_assign(tp_assign(fanotify_fd, fanotify_fd) tp_assign(flags, flags) tp_assign(a3, a3) tp_assign(a4, a4) tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_64_32_fanotify_mark +SC_LTTNG_TRACEPOINT_EVENT(32_fanotify_mark, + TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), + TP_ARGS(sc_exit(ret,) fanotify_fd, flags, a3, a4, dfd, pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fanotify_fd)) sc_inout(__field(unsigned int, flags)) sc_inout(__field(u64, a3)) sc_inout(__field(u64, a4)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fanotify_fd, fanotify_fd)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(a3, a3)) sc_inout(tp_assign(a4, a4)) sc_inout(tp_assign(dfd, dfd)) sc_inout(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, - TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(fd, ubuf, size, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_64_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned int, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(ubuf, ubuf)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags)) sc_out(tp_assign(addr, addr)) sc_inout(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_futex -SC_LTTNG_TRACEPOINT_EVENT(sys_futex, - TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(uaddr, op, val, utime, uaddr2, val3), - TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), - TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), +#ifndef OVERRIDE_64_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(n, inp, outp, exp, tsp, sig), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), +#ifndef OVERRIDE_64_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_64_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_readv, - TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_writev, - TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_sendto -SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, - TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(fd, buff, len, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_64_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buff, buff)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_32_futex -SC_LTTNG_TRACEPOINT_EVENT(sys_32_futex, - TP_PROTO(u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(uaddr, op, val, utime, uaddr2, val3), - TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct compat_timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), - TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), +#ifndef OVERRIDE_64_32_futex +SC_LTTNG_TRACEPOINT_EVENT(32_futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_inout(__field(int, op)) sc_inout(__field(u32, val)) sc_inout(__field_hex(struct compat_timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_inout(__field(u32, val3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_inout(tp_assign(op, op)) sc_inout(tp_assign(val, val)) sc_inout(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_inout(tp_assign(val3, val3))), TP_printk() ) #endif -#ifndef OVERRIDE_64_sys_splice -SC_LTTNG_TRACEPOINT_EVENT(sys_splice, - TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), - TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), - TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_64_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif @@ -1676,557 +1676,557 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_splice, #include "mips-64-syscalls-3.5.0_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_64_sys_waitpid -TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4007, 3) +#ifndef OVERRIDE_TABLE_64_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_oldumount -TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4022, 1) +#ifndef OVERRIDE_TABLE_64_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_olduname -TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4059, 1) +#ifndef OVERRIDE_TABLE_64_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_sigaction -TRACE_SYSCALL_TABLE(sys_32_sigaction, sys_32_sigaction, 4067, 3) +#ifndef OVERRIDE_TABLE_64_32_sigaction +TRACE_SYSCALL_TABLE(32_sigaction, 32_sigaction, 4067, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_uselib -TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4086, 1) +#ifndef OVERRIDE_TABLE_64_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_uname -TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4109, 1) +#ifndef OVERRIDE_TABLE_64_uname +TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_llseek -TRACE_SYSCALL_TABLE(sys_32_llseek, sys_32_llseek, 4140, 5) +#ifndef OVERRIDE_TABLE_64_32_llseek +TRACE_SYSCALL_TABLE(32_llseek, 32_llseek, 4140, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_send -TRACE_SYSCALL_TABLE(sys_send, sys_send, 4178, 4) +#ifndef OVERRIDE_TABLE_64_send +TRACE_SYSCALL_TABLE(send, send, 4178, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_pread -TRACE_SYSCALL_TABLE(sys_32_pread, sys_32_pread, 4200, 6) +#ifndef OVERRIDE_TABLE_64_32_pread +TRACE_SYSCALL_TABLE(32_pread, 32_pread, 4200, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_pwrite -TRACE_SYSCALL_TABLE(sys_32_pwrite, sys_32_pwrite, 4201, 6) +#ifndef OVERRIDE_TABLE_64_32_pwrite +TRACE_SYSCALL_TABLE(32_pwrite, 32_pwrite, 4201, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_truncate64 -TRACE_SYSCALL_TABLE(sys_32_truncate64, sys_32_truncate64, 4211, 4) +#ifndef OVERRIDE_TABLE_64_32_truncate64 +TRACE_SYSCALL_TABLE(32_truncate64, 32_truncate64, 4211, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_waitid -TRACE_SYSCALL_TABLE(sys_32_waitid, sys_32_waitid, 4278, 5) +#ifndef OVERRIDE_TABLE_64_32_waitid +TRACE_SYSCALL_TABLE(32_waitid, 32_waitid, 4278, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_fanotify_mark -TRACE_SYSCALL_TABLE(sys_32_fanotify_mark, sys_32_fanotify_mark, 4337, 6) +#ifndef OVERRIDE_TABLE_64_32_fanotify_mark +TRACE_SYSCALL_TABLE(32_fanotify_mark, 32_fanotify_mark, 4337, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_sigaction -TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 5013, 4) +#ifndef OVERRIDE_TABLE_64_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 5013, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_sigprocmask -TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 5014, 4) +#ifndef OVERRIDE_TABLE_64_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 5014, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_readv -TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 5018, 3) +#ifndef OVERRIDE_TABLE_64_readv +TRACE_SYSCALL_TABLE(readv, readv, 5018, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_writev -TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 5019, 3) +#ifndef OVERRIDE_TABLE_64_writev +TRACE_SYSCALL_TABLE(writev, writev, 5019, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_select -TRACE_SYSCALL_TABLE(sys_select, sys_select, 5022, 5) +#ifndef OVERRIDE_TABLE_64_select +TRACE_SYSCALL_TABLE(select, select, 5022, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_shmctl -TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 5030, 3) +#ifndef OVERRIDE_TABLE_64_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 5030, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_nanosleep -TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 5034, 2) +#ifndef OVERRIDE_TABLE_64_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 5034, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_getitimer -TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 5035, 2) +#ifndef OVERRIDE_TABLE_64_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 5035, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setitimer -TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 5036, 3) +#ifndef OVERRIDE_TABLE_64_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 5036, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_recvfrom -TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 5044, 6) +#ifndef OVERRIDE_TABLE_64_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 5044, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_sendmsg -TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 5045, 3) +#ifndef OVERRIDE_TABLE_64_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 5045, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_recvmsg -TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 5046, 3) +#ifndef OVERRIDE_TABLE_64_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 5046, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_setsockopt -TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 5053, 5) +#ifndef OVERRIDE_TABLE_64_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 5053, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_wait4 -TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 5059, 4) +#ifndef OVERRIDE_TABLE_64_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 5059, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_msgsnd -TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 5067, 4) +#ifndef OVERRIDE_TABLE_64_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 5067, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_msgrcv -TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 5068, 5) +#ifndef OVERRIDE_TABLE_64_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 5068, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_msgctl -TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 5069, 3) +#ifndef OVERRIDE_TABLE_64_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 5069, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getdents -TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 5076, 3) +#ifndef OVERRIDE_TABLE_64_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 5076, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_gettimeofday -TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 5094, 2) +#ifndef OVERRIDE_TABLE_64_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 5094, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_getrlimit -TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 5095, 2) +#ifndef OVERRIDE_TABLE_64_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 5095, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_getrusage -TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 5096, 2) +#ifndef OVERRIDE_TABLE_64_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 5096, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sysinfo -TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 5097, 1) +#ifndef OVERRIDE_TABLE_64_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 5097, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_times -TRACE_SYSCALL_TABLE(sys_times, sys_times, 5098, 1) +#ifndef OVERRIDE_TABLE_64_times +TRACE_SYSCALL_TABLE(times, times, 5098, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_sigpending -TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 5125, 2) +#ifndef OVERRIDE_TABLE_64_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 5125, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_sigtimedwait -TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 5126, 4) +#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 5126, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 5127, 3) +#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 5127, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_utime -TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 5130, 2) +#ifndef OVERRIDE_TABLE_64_utime +TRACE_SYSCALL_TABLE(utime, utime, 5130, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_ustat -TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 5133, 2) +#ifndef OVERRIDE_TABLE_64_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 5133, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_statfs -TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 5134, 2) +#ifndef OVERRIDE_TABLE_64_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 5134, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_fstatfs -TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 5135, 2) +#ifndef OVERRIDE_TABLE_64_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 5135, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 5145, 2) +#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 5145, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sysctl -TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 5152, 1) +#ifndef OVERRIDE_TABLE_64_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 5152, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_adjtimex -TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 5154, 1) +#ifndef OVERRIDE_TABLE_64_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 5154, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_setrlimit -TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 5155, 2) +#ifndef OVERRIDE_TABLE_64_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 5155, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_settimeofday -TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 5159, 2) +#ifndef OVERRIDE_TABLE_64_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 5159, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_mount -TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 5160, 5) +#ifndef OVERRIDE_TABLE_64_mount +TRACE_SYSCALL_TABLE(mount, mount, 5160, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_futex -TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 5194, 6) +#ifndef OVERRIDE_TABLE_64_futex +TRACE_SYSCALL_TABLE(futex, futex, 5194, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_setaffinity -TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 5195, 3) +#ifndef OVERRIDE_TABLE_64_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 5195, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_getaffinity -TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 5196, 3) +#ifndef OVERRIDE_TABLE_64_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 5196, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_io_setup -TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 5200, 2) +#ifndef OVERRIDE_TABLE_64_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 5200, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_io_getevents -TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 5202, 5) +#ifndef OVERRIDE_TABLE_64_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 5202, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_io_submit -TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 5203, 3) +#ifndef OVERRIDE_TABLE_64_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 5203, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_semtimedop -TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 5214, 4) +#ifndef OVERRIDE_TABLE_64_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 5214, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_timer_create -TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 5216, 3) +#ifndef OVERRIDE_TABLE_64_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 5216, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_timer_settime -TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 5217, 4) +#ifndef OVERRIDE_TABLE_64_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 5217, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_timer_gettime -TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 5218, 2) +#ifndef OVERRIDE_TABLE_64_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 5218, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_clock_settime -TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 5221, 2) +#ifndef OVERRIDE_TABLE_64_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 5221, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_clock_gettime -TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 5222, 2) +#ifndef OVERRIDE_TABLE_64_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 5222, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_clock_getres -TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 5223, 2) +#ifndef OVERRIDE_TABLE_64_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 5223, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_clock_nanosleep -TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 5224, 4) +#ifndef OVERRIDE_TABLE_64_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 5224, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_utimes -TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 5226, 2) +#ifndef OVERRIDE_TABLE_64_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 5226, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_waitid -TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 5237, 5) +#ifndef OVERRIDE_TABLE_64_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 5237, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_futimesat -TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 5251, 3) +#ifndef OVERRIDE_TABLE_64_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 5251, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_pselect6 -TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 5260, 6) +#ifndef OVERRIDE_TABLE_64_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 5260, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_ppoll -TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 5261, 5) +#ifndef OVERRIDE_TABLE_64_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 5261, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_vmsplice -TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 5266, 4) +#ifndef OVERRIDE_TABLE_64_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 5266, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_set_robust_list -TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 5268, 2) +#ifndef OVERRIDE_TABLE_64_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 5268, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_get_robust_list -TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 5269, 3) +#ifndef OVERRIDE_TABLE_64_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 5269, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_epoll_pwait -TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 5272, 6) +#ifndef OVERRIDE_TABLE_64_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 5272, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_utimensat -TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 5275, 4) +#ifndef OVERRIDE_TABLE_64_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 5275, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_signalfd -TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 5276, 3) +#ifndef OVERRIDE_TABLE_64_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 5276, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_timerfd_gettime -TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 5281, 2) +#ifndef OVERRIDE_TABLE_64_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 5281, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_timerfd_settime -TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 5282, 4) +#ifndef OVERRIDE_TABLE_64_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 5282, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 5291, 4) +#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 5291, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_recvmmsg -TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 5294, 5) +#ifndef OVERRIDE_TABLE_64_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 5294, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_clock_adjtime -TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 5300, 2) +#ifndef OVERRIDE_TABLE_64_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 5300, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sendmmsg -TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 5302, 4) +#ifndef OVERRIDE_TABLE_64_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 5302, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_process_vm_readv -TRACE_SYSCALL_TABLE(sys_process_vm_readv, sys_process_vm_readv, 5304, 6) +#ifndef OVERRIDE_TABLE_64_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 5304, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_process_vm_writev -TRACE_SYSCALL_TABLE(sys_process_vm_writev, sys_process_vm_writev, 5305, 6) +#ifndef OVERRIDE_TABLE_64_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 5305, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_read -TRACE_SYSCALL_TABLE(sys_read, sys_read, 6000, 3) +#ifndef OVERRIDE_TABLE_64_read +TRACE_SYSCALL_TABLE(read, read, 6000, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_write -TRACE_SYSCALL_TABLE(sys_write, sys_write, 6001, 3) +#ifndef OVERRIDE_TABLE_64_write +TRACE_SYSCALL_TABLE(write, write, 6001, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_open -TRACE_SYSCALL_TABLE(sys_open, sys_open, 6002, 3) +#ifndef OVERRIDE_TABLE_64_open +TRACE_SYSCALL_TABLE(open, open, 6002, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_newstat -TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 6004, 2) +#ifndef OVERRIDE_TABLE_64_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 6004, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_newfstat -TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 6005, 2) +#ifndef OVERRIDE_TABLE_64_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 6005, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_newlstat -TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 6006, 2) +#ifndef OVERRIDE_TABLE_64_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 6006, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_poll -TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 6007, 3) +#ifndef OVERRIDE_TABLE_64_poll +TRACE_SYSCALL_TABLE(poll, poll, 6007, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_rt_sigaction -TRACE_SYSCALL_TABLE(sys_32_rt_sigaction, sys_32_rt_sigaction, 6013, 4) +#ifndef OVERRIDE_TABLE_64_32_rt_sigaction +TRACE_SYSCALL_TABLE(32_rt_sigaction, 32_rt_sigaction, 6013, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(sys_32_rt_sigprocmask, sys_32_rt_sigprocmask, 6014, 4) +#ifndef OVERRIDE_TABLE_64_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(32_rt_sigprocmask, 32_rt_sigprocmask, 6014, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_access -TRACE_SYSCALL_TABLE(sys_access, sys_access, 6020, 2) +#ifndef OVERRIDE_TABLE_64_access +TRACE_SYSCALL_TABLE(access, access, 6020, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_mincore -TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 6026, 3) +#ifndef OVERRIDE_TABLE_64_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 6026, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_shmat -TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 6029, 3) +#ifndef OVERRIDE_TABLE_64_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 6029, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_sendfile -TRACE_SYSCALL_TABLE(sys_32_sendfile, sys_32_sendfile, 6039, 4) +#ifndef OVERRIDE_TABLE_64_32_sendfile +TRACE_SYSCALL_TABLE(32_sendfile, 32_sendfile, 6039, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_connect -TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 6041, 3) +#ifndef OVERRIDE_TABLE_64_connect +TRACE_SYSCALL_TABLE(connect, connect, 6041, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_accept -TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 6042, 3) +#ifndef OVERRIDE_TABLE_64_accept +TRACE_SYSCALL_TABLE(accept, accept, 6042, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_sendto -TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 6043, 6) +#ifndef OVERRIDE_TABLE_64_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 6043, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_bind -TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 6048, 3) +#ifndef OVERRIDE_TABLE_64_bind +TRACE_SYSCALL_TABLE(bind, bind, 6048, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getsockname -TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 6050, 3) +#ifndef OVERRIDE_TABLE_64_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 6050, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getpeername -TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 6051, 3) +#ifndef OVERRIDE_TABLE_64_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 6051, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_socketpair -TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 6052, 4) +#ifndef OVERRIDE_TABLE_64_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 6052, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_getsockopt -TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 6054, 5) +#ifndef OVERRIDE_TABLE_64_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 6054, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_newuname -TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 6061, 1) +#ifndef OVERRIDE_TABLE_64_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 6061, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_semop -TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 6063, 3) +#ifndef OVERRIDE_TABLE_64_semop +TRACE_SYSCALL_TABLE(semop, semop, 6063, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_shmdt -TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 6065, 1) +#ifndef OVERRIDE_TABLE_64_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 6065, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_truncate -TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 6074, 2) +#ifndef OVERRIDE_TABLE_64_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 6074, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_getcwd -TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 6077, 2) +#ifndef OVERRIDE_TABLE_64_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 6077, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_chdir -TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 6078, 1) +#ifndef OVERRIDE_TABLE_64_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 6078, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_rename -TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 6080, 2) +#ifndef OVERRIDE_TABLE_64_rename +TRACE_SYSCALL_TABLE(rename, rename, 6080, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_mkdir -TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 6081, 2) +#ifndef OVERRIDE_TABLE_64_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 6081, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_rmdir -TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 6082, 1) +#ifndef OVERRIDE_TABLE_64_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 6082, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_creat -TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 6083, 2) +#ifndef OVERRIDE_TABLE_64_creat +TRACE_SYSCALL_TABLE(creat, creat, 6083, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_link -TRACE_SYSCALL_TABLE(sys_link, sys_link, 6084, 2) +#ifndef OVERRIDE_TABLE_64_link +TRACE_SYSCALL_TABLE(link, link, 6084, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_unlink -TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 6085, 1) +#ifndef OVERRIDE_TABLE_64_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 6085, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_symlink -TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 6086, 2) +#ifndef OVERRIDE_TABLE_64_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 6086, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_readlink -TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 6087, 3) +#ifndef OVERRIDE_TABLE_64_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 6087, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_chmod -TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 6088, 2) +#ifndef OVERRIDE_TABLE_64_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 6088, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_chown -TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 6090, 3) +#ifndef OVERRIDE_TABLE_64_chown +TRACE_SYSCALL_TABLE(chown, chown, 6090, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_lchown -TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 6092, 3) +#ifndef OVERRIDE_TABLE_64_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 6092, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_syslog -TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 6101, 3) +#ifndef OVERRIDE_TABLE_64_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 6101, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getgroups -TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 6113, 2) +#ifndef OVERRIDE_TABLE_64_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 6113, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setgroups -TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 6114, 2) +#ifndef OVERRIDE_TABLE_64_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 6114, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_getresuid -TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 6116, 3) +#ifndef OVERRIDE_TABLE_64_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 6116, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_getresgid -TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 6118, 3) +#ifndef OVERRIDE_TABLE_64_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 6118, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_rt_sigpending -TRACE_SYSCALL_TABLE(sys_32_rt_sigpending, sys_32_rt_sigpending, 6125, 2) +#ifndef OVERRIDE_TABLE_64_32_rt_sigpending +TRACE_SYSCALL_TABLE(32_rt_sigpending, 32_rt_sigpending, 6125, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(sys_32_rt_sigqueueinfo, sys_32_rt_sigqueueinfo, 6127, 3) +#ifndef OVERRIDE_TABLE_64_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(32_rt_sigqueueinfo, 32_rt_sigqueueinfo, 6127, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_mknod -TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 6131, 3) +#ifndef OVERRIDE_TABLE_64_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 6131, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_setparam -TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 6139, 2) +#ifndef OVERRIDE_TABLE_64_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 6139, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_getparam -TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 6140, 2) +#ifndef OVERRIDE_TABLE_64_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 6140, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_sched_setscheduler -TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 6141, 3) +#ifndef OVERRIDE_TABLE_64_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 6141, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_32_sched_rr_get_interval, sys_32_sched_rr_get_interval, 6145, 2) +#ifndef OVERRIDE_TABLE_64_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(32_sched_rr_get_interval, 32_sched_rr_get_interval, 6145, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_pivot_root -TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 6151, 2) +#ifndef OVERRIDE_TABLE_64_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 6151, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_chroot -TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 6156, 1) +#ifndef OVERRIDE_TABLE_64_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 6156, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_umount -TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 6161, 2) +#ifndef OVERRIDE_TABLE_64_umount +TRACE_SYSCALL_TABLE(umount, umount, 6161, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_swapon -TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 6162, 2) +#ifndef OVERRIDE_TABLE_64_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 6162, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_swapoff -TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 6163, 1) +#ifndef OVERRIDE_TABLE_64_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 6163, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_reboot -TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 6164, 4) +#ifndef OVERRIDE_TABLE_64_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 6164, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_sethostname -TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 6165, 2) +#ifndef OVERRIDE_TABLE_64_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 6165, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_setdomainname -TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 6166, 2) +#ifndef OVERRIDE_TABLE_64_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 6166, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_init_module -TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 6168, 3) +#ifndef OVERRIDE_TABLE_64_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 6168, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_delete_module -TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 6169, 2) +#ifndef OVERRIDE_TABLE_64_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 6169, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_quotactl -TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 6172, 4) +#ifndef OVERRIDE_TABLE_64_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 6172, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_setxattr -TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 6180, 5) +#ifndef OVERRIDE_TABLE_64_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 6180, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_lsetxattr -TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 6181, 5) +#ifndef OVERRIDE_TABLE_64_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6181, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_fsetxattr -TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 6182, 5) +#ifndef OVERRIDE_TABLE_64_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 6182, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_getxattr -TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 6183, 4) +#ifndef OVERRIDE_TABLE_64_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 6183, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_lgetxattr -TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 6184, 4) +#ifndef OVERRIDE_TABLE_64_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 6184, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_fgetxattr -TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 6185, 4) +#ifndef OVERRIDE_TABLE_64_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 6185, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_listxattr -TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 6186, 3) +#ifndef OVERRIDE_TABLE_64_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 6186, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_llistxattr -TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 6187, 3) +#ifndef OVERRIDE_TABLE_64_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 6187, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_flistxattr -TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 6188, 3) +#ifndef OVERRIDE_TABLE_64_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 6188, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_removexattr -TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 6189, 2) +#ifndef OVERRIDE_TABLE_64_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 6189, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_lremovexattr -TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 6190, 2) +#ifndef OVERRIDE_TABLE_64_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 6190, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_fremovexattr -TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 6191, 2) +#ifndef OVERRIDE_TABLE_64_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 6191, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_32_futex -TRACE_SYSCALL_TABLE(sys_32_futex, sys_32_futex, 6194, 6) +#ifndef OVERRIDE_TABLE_64_32_futex +TRACE_SYSCALL_TABLE(32_futex, 32_futex, 6194, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_cachectl -TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 6198, 3) +#ifndef OVERRIDE_TABLE_64_cachectl +TRACE_SYSCALL_TABLE(cachectl, cachectl, 6198, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_io_cancel -TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 6204, 3) +#ifndef OVERRIDE_TABLE_64_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 6204, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_epoll_ctl -TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 6208, 4) +#ifndef OVERRIDE_TABLE_64_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 6208, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_epoll_wait -TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 6209, 4) +#ifndef OVERRIDE_TABLE_64_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 6209, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_set_tid_address -TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 6213, 1) +#ifndef OVERRIDE_TABLE_64_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 6213, 1) #endif -#ifndef OVERRIDE_TABLE_64_sys_sendfile64 -TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 6219, 4) +#ifndef OVERRIDE_TABLE_64_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 6219, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_inotify_add_watch -TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 6248, 3) +#ifndef OVERRIDE_TABLE_64_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 6248, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_openat -TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 6251, 4) +#ifndef OVERRIDE_TABLE_64_openat +TRACE_SYSCALL_TABLE(openat, openat, 6251, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_mkdirat -TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 6252, 3) +#ifndef OVERRIDE_TABLE_64_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 6252, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_mknodat -TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 6253, 4) +#ifndef OVERRIDE_TABLE_64_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 6253, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_fchownat -TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 6254, 5) +#ifndef OVERRIDE_TABLE_64_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 6254, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_newfstatat -TRACE_SYSCALL_TABLE(sys_newfstatat, sys_newfstatat, 6256, 4) +#ifndef OVERRIDE_TABLE_64_newfstatat +TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 6256, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_unlinkat -TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 6257, 3) +#ifndef OVERRIDE_TABLE_64_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 6257, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_renameat -TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 6258, 4) +#ifndef OVERRIDE_TABLE_64_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 6258, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_linkat -TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 6259, 5) +#ifndef OVERRIDE_TABLE_64_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 6259, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_symlinkat -TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 6260, 3) +#ifndef OVERRIDE_TABLE_64_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 6260, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_readlinkat -TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 6261, 4) +#ifndef OVERRIDE_TABLE_64_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 6261, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_fchmodat -TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 6262, 3) +#ifndef OVERRIDE_TABLE_64_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 6262, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_faccessat -TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 6263, 3) +#ifndef OVERRIDE_TABLE_64_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 6263, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_splice -TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 6267, 6) +#ifndef OVERRIDE_TABLE_64_splice +TRACE_SYSCALL_TABLE(splice, splice, 6267, 6) #endif -#ifndef OVERRIDE_TABLE_64_sys_getcpu -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 6275, 3) +#ifndef OVERRIDE_TABLE_64_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 6275, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_signalfd4 -TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 6287, 4) +#ifndef OVERRIDE_TABLE_64_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 6287, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_pipe2 -TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 6291, 2) +#ifndef OVERRIDE_TABLE_64_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 6291, 2) #endif -#ifndef OVERRIDE_TABLE_64_sys_preadv -TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 6293, 5) +#ifndef OVERRIDE_TABLE_64_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 6293, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_pwritev -TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 6294, 5) +#ifndef OVERRIDE_TABLE_64_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 6294, 5) #endif -#ifndef OVERRIDE_TABLE_64_sys_accept4 -TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 6297, 4) +#ifndef OVERRIDE_TABLE_64_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 6297, 4) #endif -#ifndef OVERRIDE_TABLE_64_sys_getdents64 -TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 6299, 3) +#ifndef OVERRIDE_TABLE_64_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 6299, 3) #endif -#ifndef OVERRIDE_TABLE_64_sys_prlimit64 -TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 6302, 4) +#ifndef OVERRIDE_TABLE_64_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 6302, 4) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h index 19f0a300..90035604 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h @@ -9,743 +9,899 @@ #include "powerpc-32-syscalls-3.0.34_integers_override.h" #include "syscalls_integers_override.h" +#ifdef SC_ENTER SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_32_sys_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif -#ifndef OVERRIDE_32_sys_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif -#ifndef OVERRIDE_32_sys_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif -#ifndef OVERRIDE_32_sys_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif -#ifndef OVERRIDE_32_sys_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif -#ifndef OVERRIDE_32_sys_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif -#ifndef OVERRIDE_32_sys_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif -#ifndef OVERRIDE_32_sys_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif -#ifndef OVERRIDE_32_sys_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif -#ifndef OVERRIDE_32_sys_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif -#ifndef OVERRIDE_32_sys_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif -#ifndef OVERRIDE_32_sys_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) #endif -#ifndef OVERRIDE_32_sys_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif -#ifndef OVERRIDE_32_sys_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif -#ifndef OVERRIDE_32_sys_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif -#ifndef OVERRIDE_32_sys_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif -#ifndef OVERRIDE_32_sys_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif -#ifndef OVERRIDE_32_sys_exit -SC_LTTNG_TRACEPOINT_EVENT(sys_exit, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_STRUCT__entry(sc_exit(__field(long, ret))), + TP_fast_assign(sc_exit(tp_assign(ret, ret))), + TP_printk() +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_close -SC_LTTNG_TRACEPOINT_EVENT(sys_close, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_alarm -SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, - TP_PROTO(unsigned int seconds), - TP_ARGS(seconds), - TP_STRUCT__entry(__field(unsigned int, seconds)), - TP_fast_assign(tp_assign(seconds, seconds)), +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(seconds, seconds))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nice -SC_LTTNG_TRACEPOINT_EVENT(sys_nice, - TP_PROTO(int increment), - TP_ARGS(increment), - TP_STRUCT__entry(__field(int, increment)), - TP_fast_assign(tp_assign(increment, increment)), +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(increment, increment))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup -SC_LTTNG_TRACEPOINT_EVENT(sys_dup, - TP_PROTO(unsigned int fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field(unsigned int, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_brk -SC_LTTNG_TRACEPOINT_EVENT(sys_brk, - TP_PROTO(unsigned long brk), - TP_ARGS(brk), - TP_STRUCT__entry(__field(unsigned long, brk)), - TP_fast_assign(tp_assign(brk, brk)), +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(brk, brk))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umask -SC_LTTNG_TRACEPOINT_EVENT(sys_umask, - TP_PROTO(int mask), - TP_ARGS(mask), - TP_STRUCT__entry(__field(int, mask)), - TP_fast_assign(tp_assign(mask, mask)), +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, - TP_PROTO(int newmask), - TP_ARGS(newmask), - TP_STRUCT__entry(__field(int, newmask)), - TP_fast_assign(tp_assign(newmask, newmask)), +#ifndef OVERRIDE_32_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, newmask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(newmask, newmask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsync -SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchdir -SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_personality -SC_LTTNG_TRACEPOINT_EVENT(sys_personality, - TP_PROTO(unsigned int personality), - TP_ARGS(personality), - TP_STRUCT__entry(__field(unsigned int, personality)), - TP_fast_assign(tp_assign(personality, personality)), +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(personality, personality))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, - TP_PROTO(uid_t uid), - TP_ARGS(uid), - TP_STRUCT__entry(__field(uid_t, uid)), - TP_fast_assign(tp_assign(uid, uid)), +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, - TP_PROTO(gid_t gid), - TP_ARGS(gid), - TP_STRUCT__entry(__field(gid_t, gid)), - TP_fast_assign(tp_assign(gid, gid)), +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsid -SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, - TP_PROTO(unsigned int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(unsigned int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlockall -SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, - TP_PROTO(pid_t pid), - TP_ARGS(pid), - TP_STRUCT__entry(__field(pid_t, pid)), - TP_fast_assign(tp_assign(pid, pid)), +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, - TP_PROTO(int policy), - TP_ARGS(policy), - TP_STRUCT__entry(__field(int, policy)), - TP_fast_assign(tp_assign(policy, policy)), +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, - TP_PROTO(aio_context_t ctx), - TP_ARGS(ctx), - TP_STRUCT__entry(__field(aio_context_t, ctx)), - TP_fast_assign(tp_assign(ctx, ctx)), +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx, ctx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_exit_group -SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, - TP_PROTO(int error_code), - TP_ARGS(error_code), - TP_STRUCT__entry(__field(int, error_code)), - TP_fast_assign(tp_assign(error_code, error_code)), +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, - TP_PROTO(int size), - TP_ARGS(size), - TP_STRUCT__entry(__field(int, size)), - TP_fast_assign(tp_assign(size, size)), +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, - TP_PROTO(timer_t timer_id), - TP_ARGS(timer_id), - TP_STRUCT__entry(__field(timer_t, timer_id)), - TP_fast_assign(tp_assign(timer_id, timer_id)), +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unshare -SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, - TP_PROTO(unsigned long unshare_flags), - TP_ARGS(unshare_flags), - TP_STRUCT__entry(__field(unsigned long, unshare_flags)), - TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, - TP_PROTO(unsigned int count), - TP_ARGS(count), - TP_STRUCT__entry(__field(unsigned int, count)), - TP_fast_assign(tp_assign(count, count)), +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, - TP_PROTO(int flags), - TP_ARGS(flags), - TP_STRUCT__entry(__field(int, flags)), - TP_fast_assign(tp_assign(flags, flags)), +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syncfs -SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, - TP_PROTO(int fd), - TP_ARGS(fd), - TP_STRUCT__entry(__field(int, fd)), - TP_fast_assign(tp_assign(fd, fd)), +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_kill -SC_LTTNG_TRACEPOINT_EVENT(sys_kill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signal -SC_LTTNG_TRACEPOINT_EVENT(sys_signal, - TP_PROTO(int sig, __sighandler_t handler), - TP_ARGS(sig, handler), - TP_STRUCT__entry(__field(int, sig) __field(__sighandler_t, handler)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(handler, handler)), +#ifndef OVERRIDE_32_signal +SC_LTTNG_TRACEPOINT_EVENT(signal, + TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), + TP_ARGS(sc_exit(ret,) sig, handler), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, sig)) sc_inout(__field(__sighandler_t, handler))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(handler, handler))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, - TP_PROTO(pid_t pid, pid_t pgid), - TP_ARGS(pid, pgid), - TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(pgid, pgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup2 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, - TP_PROTO(unsigned int oldfd, unsigned int newfd), - TP_ARGS(oldfd, newfd), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setreuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, - TP_PROTO(uid_t ruid, uid_t euid), - TP_ARGS(ruid, euid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setregid -SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, - TP_PROTO(gid_t rgid, gid_t egid), - TP_ARGS(rgid, egid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munmap -SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, - TP_PROTO(unsigned long addr, size_t len), - TP_ARGS(addr, len), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, - TP_PROTO(unsigned int fd, unsigned long length), - TP_ARGS(fd, length), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmod -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, - TP_PROTO(unsigned int fd, mode_t mode), - TP_ARGS(fd, mode), - TP_STRUCT__entry(__field(unsigned int, fd) __field(mode_t, mode)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(mode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bdflush -SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, - TP_PROTO(int func, long data), - TP_ARGS(func, data), - TP_STRUCT__entry(__field(int, func) __field(long, data)), - TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(func, func)) sc_inout(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flock -SC_LTTNG_TRACEPOINT_EVENT(sys_flock, - TP_PROTO(unsigned int fd, unsigned int cmd), - TP_ARGS(fd, cmd), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mlock -SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_munlock -SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, - TP_PROTO(unsigned long start, size_t len), - TP_ARGS(start, len), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, - TP_PROTO(pid_t pid, int sig), - TP_ARGS(pid, sig), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, - TP_PROTO(int which, int who), - TP_ARGS(which, who), - TP_STRUCT__entry(__field(int, which) __field(int, who)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, - TP_PROTO(int fd, __s32 wd), - TP_ARGS(fd, wd), - TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, - TP_PROTO(int clockid, int flags), - TP_ARGS(clockid, flags), - TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), - TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, - TP_PROTO(unsigned int count, int flags), - TP_ARGS(count, flags), - TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), - TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listen -SC_LTTNG_TRACEPOINT_EVENT(sys_listen, - TP_PROTO(int fd, int backlog), - TP_ARGS(fd, backlog), - TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(backlog, backlog))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_shutdown -SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, - TP_PROTO(int fd, int how), - TP_ARGS(fd, how), - TP_STRUCT__entry(__field(int, fd) __field(int, how)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(how, how))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setns -SC_LTTNG_TRACEPOINT_EVENT(sys_setns, - TP_PROTO(int fd, int nstype), - TP_ARGS(fd, nstype), - TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(nstype, nstype)), +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lseek -SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, - TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(fd, offset, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioctl -SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchown -SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, - TP_PROTO(unsigned int fd, uid_t user, gid_t group), - TP_ARGS(fd, user, group), - TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setpriority -SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, - TP_PROTO(int which, int who, int niceval), - TP_ARGS(which, who, niceval), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(niceval, niceval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mprotect -SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, - TP_PROTO(unsigned long start, size_t len, unsigned long prot), - TP_ARGS(start, len, prot), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(prot, prot))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, - TP_PROTO(int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(option, arg1, arg2), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_in(tp_assign(arg1, arg1)) sc_in(tp_assign(arg2, arg2))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_msync -SC_LTTNG_TRACEPOINT_EVENT(sys_msync, - TP_PROTO(unsigned long start, size_t len, int flags), - TP_ARGS(start, len, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, - TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid)) sc_in(tp_assign(suid, suid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, - TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid)) sc_in(tp_assign(sgid, sgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, - TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(fd, cmd, arg), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_madvise -SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, - TP_PROTO(unsigned long start, size_t len_in, int behavior), - TP_ARGS(start, len_in, behavior), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), - TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len_in, len_in)) sc_in(tp_assign(behavior, behavior))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tgkill -SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, - TP_PROTO(pid_t tgid, pid_t pid, int sig), - TP_ARGS(tgid, pid, sig), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, - TP_PROTO(int which, int who, int ioprio), - TP_ARGS(which, who, ioprio), - TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), - TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(ioprio, ioprio))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_dup3 -SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, - TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(oldfd, newfd, flags), - TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), - TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socket -SC_LTTNG_TRACEPOINT_EVENT(sys_socket, - TP_PROTO(int family, int type, int protocol), - TP_ARGS(family, type, protocol), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ptrace -SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, - TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(request, pid, addr, data), - TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), - TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(request, request)) sc_in(tp_assign(pid, pid)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_tee -SC_LTTNG_TRACEPOINT_EVENT(sys_tee, - TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(fdin, fdout, len, flags), - TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fdin, fdin)) sc_in(tp_assign(fdout, fdout)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mremap -SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, - TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(addr, old_len, new_len, flags, new_addr), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(old_len, old_len)) sc_in(tp_assign(new_len, new_len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_addr, new_addr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prctl -SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_in(tp_assign(arg3, arg3)) sc_in(tp_assign(arg4, arg4)) sc_in(tp_assign(arg5, arg5))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, - TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(start, size, prot, pgoff, flags), - TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(size, size)) sc_in(tp_assign(prot, prot)) sc_in(tp_assign(pgoff, pgoff)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_keyctl -SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, - TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(option, arg2, arg3, arg4, arg5), - TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), - TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), +#ifndef OVERRIDE_32_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_inout(__field(unsigned long, arg3)) sc_inout(__field(unsigned long, arg4)) sc_inout(__field(unsigned long, arg5))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_inout(tp_assign(arg3, arg3)) sc_inout(tp_assign(arg4, arg4)) sc_inout(tp_assign(arg5, arg5))), TP_printk() ) #endif @@ -760,284 +916,338 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, #include "powerpc-32-syscalls-3.0.34_integers_override.h" #include "syscalls_integers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 0, 0) +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 20, 0) +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 24, 0) +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 29, 0) +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 29, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 36, 0) +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 36, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 47, 0) +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 49, 0) +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 50, 0) +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 64, 0) +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 65, 0) +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 66, 0) +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 68, 0) +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 111, 0) +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 153, 0) +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 158, 0) +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 207, 0) +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 275, 0) +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit -TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 1, 1) +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 1, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_close -TRACE_SYSCALL_TABLE(sys_close, sys_close, 6, 1) +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 6, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_lseek -TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 19, 3) +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setuid -TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 23, 1) +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ptrace -TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 26, 4) +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_alarm -TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 27, 1) +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_nice -TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 34, 1) +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 34, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_kill -TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 37, 2) +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 37, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup -TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 41, 1) +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 41, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_brk -TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 45, 1) +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 45, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgid -TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 46, 1) +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_signal -TRACE_SYSCALL_TABLE(sys_signal, sys_signal, 48, 2) +#ifndef OVERRIDE_TABLE_32_signal +TRACE_SYSCALL_TABLE(signal, signal, 48, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioctl -TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 54, 3) +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl -TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 55, 3) +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpgid -TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 57, 2) +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_umask -TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 60, 1) +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 60, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup2 -TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 63, 2) +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ssetmask -TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 69, 1) +#ifndef OVERRIDE_TABLE_32_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setreuid -TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 70, 2) +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setregid -TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 71, 2) +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_munmap -TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 91, 2) +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_ftruncate -TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 93, 2) +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmod -TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 94, 2) +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchown -TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 95, 3) +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpriority -TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 96, 2) +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setpriority -TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 97, 3) +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsync -TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 118, 1) +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mprotect -TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 125, 3) +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpgid -TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 132, 1) +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchdir -TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 133, 1) +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_bdflush -TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 134, 2) +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysfs -TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 135, 3) +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_personality -TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 136, 1) +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 136, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsuid -TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 138, 1) +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setfsgid -TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 139, 1) +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_flock -TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 143, 2) +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 143, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_msync -TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 144, 3) +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 144, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsid -TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 147, 1) +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fdatasync -TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 148, 1) +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlock -TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 150, 2) +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_munlock -TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 151, 2) +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mlockall -TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 152, 1) +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler -TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 157, 1) +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max -TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 159, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min -TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 160, 1) +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mremap -TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 163, 5) +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresuid -TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 164, 3) +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setresgid -TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 169, 3) +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_prctl -TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 171, 5) +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_fcntl64 -TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 204, 3) +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_madvise -TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 205, 3) +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_tkill -TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 208, 2) +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_destroy -TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 228, 1) +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_exit_group -TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 234, 1) +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create -TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 236, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_remap_file_pages -TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 239, 5) +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_getoverrun -TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 243, 1) +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_delete -TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 244, 1) +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_tgkill -TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 250, 3) +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_keyctl -TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 271, 5) +#ifndef OVERRIDE_TABLE_32_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_set -TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 273, 3) +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_ioprio_get -TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 274, 2) +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_rm_watch -TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 277, 2) +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unshare -TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 282, 1) +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_tee -TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 284, 4) +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 284, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_create -TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 306, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd -TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 307, 1) +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_eventfd2 -TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 314, 2) +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_create1 -TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 315, 1) +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_dup3 -TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 316, 3) +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_init1 -TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 318, 1) +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_socket -TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 326, 3) +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 326, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_listen -TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 329, 2) +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 329, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_shutdown -TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 338, 2) +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_syncfs -TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 348, 1) +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_setns -TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 350, 2) +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 350, 2) #endif #endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h index 9c5eefda..823fb737 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h @@ -9,1722 +9,1722 @@ #include "powerpc-32-syscalls-3.0.34_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_32_sys_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chdir -SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_time -SC_LTTNG_TRACEPOINT_EVENT(sys_time, - TP_PROTO(time_t * tloc), - TP_ARGS(tloc), - TP_STRUCT__entry(__field_hex(time_t *, tloc)), - TP_fast_assign(tp_assign(tloc, tloc)), +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tloc, tloc))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_oldumount -SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, - TP_PROTO(char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stime -SC_LTTNG_TRACEPOINT_EVENT(sys_stime, - TP_PROTO(time_t * tptr), - TP_ARGS(tptr), - TP_STRUCT__entry(__field_hex(time_t *, tptr)), - TP_fast_assign(tp_assign(tptr, tptr)), +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(time_t *, tptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(tptr, tptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rmdir -SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, - TP_PROTO(const char * pathname), - TP_ARGS(pathname), - TP_STRUCT__entry(__string_from_user(pathname, pathname)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pipe -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe, - TP_PROTO(int * fildes), - TP_ARGS(fildes), - TP_STRUCT__entry(__field_hex(int *, fildes)), - TP_fast_assign(tp_assign(fildes, fildes)), +#ifndef OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_times -SC_LTTNG_TRACEPOINT_EVENT(sys_times, - TP_PROTO(struct tms * tbuf), - TP_ARGS(tbuf), - TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), - TP_fast_assign(tp_assign(tbuf, tbuf)), +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_acct -SC_LTTNG_TRACEPOINT_EVENT(sys_acct, - TP_PROTO(const char * name), - TP_ARGS(name), - TP_STRUCT__entry(__string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_olduname -SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, - TP_PROTO(struct oldold_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct oldold_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chroot -SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, - TP_PROTO(const char * filename), - TP_ARGS(filename), - TP_STRUCT__entry(__string_from_user(filename, filename)), - TP_fast_assign(tp_copy_string_from_user(filename, filename)), +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, - TP_PROTO(old_sigset_t * set), - TP_ARGS(set), - TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), - TP_fast_assign(tp_assign(set, set)), +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_sigset_t *, set))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(set, set))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_uselib -SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, - TP_PROTO(const char * library), - TP_ARGS(library), - TP_STRUCT__entry(__field_hex(const char *, library)), - TP_fast_assign(tp_assign(library, library)), +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(library, library))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_uname -SC_LTTNG_TRACEPOINT_EVENT(sys_uname, - TP_PROTO(struct old_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct old_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_swapoff -SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, - TP_PROTO(const char * specialfile), - TP_ARGS(specialfile), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), +#ifndef OVERRIDE_32_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, - TP_PROTO(struct sysinfo * info), - TP_ARGS(info), - TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), - TP_fast_assign(tp_assign(info, info)), +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newuname -SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, - TP_PROTO(struct new_utsname * name), - TP_ARGS(name), - TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), - TP_fast_assign(tp_assign(name, name)), +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, - TP_PROTO(struct timex * txc_p), - TP_ARGS(txc_p), - TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), - TP_fast_assign(tp_assign(txc_p, txc_p)), +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, - TP_PROTO(struct __sysctl_args * args), - TP_ARGS(args), - TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), - TP_fast_assign(tp_assign(args, args)), +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, - TP_PROTO(int * tidptr), - TP_ARGS(tidptr), - TP_STRUCT__entry(__field_hex(int *, tidptr)), - TP_fast_assign(tp_assign(tidptr, tidptr)), +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_unlink, - TP_PROTO(const char * u_name), - TP_ARGS(u_name), - TP_STRUCT__entry(__string_from_user(u_name, u_name)), - TP_fast_assign(tp_copy_string_from_user(u_name, u_name)), +#ifndef OVERRIDE_32_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_creat -SC_LTTNG_TRACEPOINT_EVENT(sys_creat, - TP_PROTO(const char * pathname, int mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_link -SC_LTTNG_TRACEPOINT_EVENT(sys_link, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chmod -SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, - TP_PROTO(const char * filename, mode_t mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(mode_t, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stat -SC_LTTNG_TRACEPOINT_EVENT(sys_stat, - TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct __old_kernel_stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_stat +SC_LTTNG_TRACEPOINT_EVENT(stat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstat -SC_LTTNG_TRACEPOINT_EVENT(sys_fstat, - TP_PROTO(unsigned int fd, struct __old_kernel_stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct __old_kernel_stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_fstat +SC_LTTNG_TRACEPOINT_EVENT(fstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utime -SC_LTTNG_TRACEPOINT_EVENT(sys_utime, - TP_PROTO(char * filename, struct utimbuf * times), - TP_ARGS(filename, times), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(times, times))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_access -SC_LTTNG_TRACEPOINT_EVENT(sys_access, - TP_PROTO(const char * filename, int mode), - TP_ARGS(filename, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rename -SC_LTTNG_TRACEPOINT_EVENT(sys_rename, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdir -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, - TP_PROTO(const char * pathname, int mode), - TP_ARGS(pathname, mode), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_umount -SC_LTTNG_TRACEPOINT_EVENT(sys_umount, - TP_PROTO(char * name, int flags), - TP_ARGS(name, flags), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ustat -SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, - TP_PROTO(unsigned dev, struct ustat * ubuf), - TP_ARGS(dev, ubuf), - TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), - TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_old_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_old_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_old_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, resource)) sc_inout(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(resource, resource)) sc_inout(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrusage -SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, - TP_PROTO(int who, struct rusage * ru), - TP_ARGS(who, ru), - TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, - TP_PROTO(struct timeval * tv, struct timezone * tz), - TP_ARGS(tv, tz), - TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), - TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setgroups -SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, - TP_PROTO(int gidsetsize, gid_t * grouplist), - TP_ARGS(gidsetsize, grouplist), - TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), - TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlink -SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, - TP_PROTO(const char * oldname, const char * newname), - TP_ARGS(oldname, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lstat -SC_LTTNG_TRACEPOINT_EVENT(sys_lstat, - TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct __old_kernel_stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_lstat +SC_LTTNG_TRACEPOINT_EVENT(lstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_swapon -SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, - TP_PROTO(const char * specialfile, int swap_flags), - TP_ARGS(specialfile, swap_flags), - TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), - TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), +#ifndef OVERRIDE_32_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile)) sc_in(tp_assign(swap_flags, swap_flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_truncate -SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, - TP_PROTO(const char * path, long length), - TP_ARGS(path, length), - TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_statfs -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, - TP_PROTO(const char * pathname, struct statfs * buf), - TP_ARGS(pathname, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, - TP_PROTO(unsigned int fd, struct statfs * buf), - TP_ARGS(fd, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socketcall -SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, - TP_PROTO(int call, unsigned long * args), - TP_ARGS(call, args), - TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), - TP_fast_assign(tp_assign(call, call) tp_assign(args, args)), +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, call)) sc_inout(__field_hex(unsigned long *, args))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(args, args))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, - TP_PROTO(int which, struct itimerval * value), - TP_ARGS(which, value), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newlstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, - TP_PROTO(const char * filename, struct stat * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_newfstat -SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, - TP_PROTO(unsigned int fd, struct stat * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, - TP_PROTO(char * name, int len), - TP_ARGS(name, len), - TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), - TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_delete_module -SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, - TP_PROTO(const char * name_user, unsigned int flags), - TP_ARGS(name_user, flags), - TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), - TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, - TP_PROTO(pid_t pid, struct sched_param * param), - TP_ARGS(pid, param), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, - TP_PROTO(pid_t pid, struct timespec * interval), - TP_ARGS(pid, interval), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, - TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(rqtp, rmtp), - TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, - TP_PROTO(sigset_t * set, size_t sigsetsize), - TP_ARGS(set, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(set, set) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, set)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(set, set)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, - TP_PROTO(sigset_t * unewset, size_t sigsetsize), - TP_ARGS(unewset, sigsetsize), - TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(unewset, unewset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unewset, unewset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcwd -SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, - TP_PROTO(char * buf, unsigned long size), - TP_ARGS(buf, size), - TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), - TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, - TP_PROTO(unsigned int resource, struct rlimit * rlim), - TP_ARGS(resource, rlim), - TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), - TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_stat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, - TP_PROTO(const char * filename, struct stat64 * statbuf), - TP_ARGS(filename, statbuf), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, - TP_PROTO(unsigned long fd, struct stat64 * statbuf), - TP_ARGS(fd, statbuf), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(struct stat64 *, statbuf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, - TP_PROTO(const char * new_root, const char * put_old), - TP_ARGS(new_root, put_old), - TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), - TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_removexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, - TP_PROTO(const char * pathname, const char * name), - TP_ARGS(pathname, name), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, - TP_PROTO(int fd, const char * name), - TP_ARGS(fd, name), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_setup -SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, - TP_PROTO(unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(nr_events, ctxp), - TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), - TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, - TP_PROTO(timer_t timer_id, struct itimerspec * setting), - TP_ARGS(timer_id, setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, - TP_PROTO(const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, - TP_PROTO(const clockid_t which_clock, struct timespec * tp), - TP_ARGS(which_clock, tp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimes -SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, - TP_PROTO(char * filename, struct timeval * utimes), - TP_ARGS(filename, utimes), - TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_notify, - TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(mqdes, u_notification), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct sigevent *, u_notification)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_notification, u_notification)), +#ifndef OVERRIDE_32_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_notification, u_notification))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, - TP_PROTO(struct robust_list_head * head, size_t len), - TP_ARGS(head, len), - TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), - TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, - TP_PROTO(int ufd, struct itimerspec * otmr), - TP_ARGS(ufd, otmr), - TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, - TP_PROTO(int * fildes, int flags), - TP_ARGS(fildes, flags), - TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), - TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, - TP_PROTO(const clockid_t which_clock, struct timex * utx), - TP_ARGS(which_clock, utx), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_read -SC_LTTNG_TRACEPOINT_EVENT(sys_read, - TP_PROTO(unsigned int fd, char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_write -SC_LTTNG_TRACEPOINT_EVENT(sys_write, - TP_PROTO(unsigned int fd, const char * buf, size_t count), - TP_ARGS(fd, buf, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_open -SC_LTTNG_TRACEPOINT_EVENT(sys_open, - TP_PROTO(const char * filename, int flags, int mode), - TP_ARGS(filename, flags, mode), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(int, mode)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_waitpid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, - TP_PROTO(pid_t pid, int * stat_addr, int options), - TP_ARGS(pid, stat_addr, options), - TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(pid_t, pid)) sc_inout(__field_hex(int *, stat_addr)) sc_inout(__field(int, options))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(stat_addr, stat_addr)) sc_inout(tp_assign(options, options))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknod -SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, - TP_PROTO(const char * filename, int mode, unsigned dev), - TP_ARGS(filename, mode, dev), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lchown -SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlink -SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, - TP_PROTO(const char * path, char * buf, int bufsiz), - TP_ARGS(path, buf, bufsiz), - TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, - TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct old_linux_dirent *, dirent)) sc_inout(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(dirent, dirent)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_syslog -SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, - TP_PROTO(int type, char * buf, int len), - TP_ARGS(type, buf, len), - TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), - TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setitimer -SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, - TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(which, value, ovalue), - TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), - TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, - TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(how, nset, oset), - TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(old_sigset_t *, nset)) sc_inout(__field_hex(old_sigset_t *, oset))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(how, how)) sc_inout(tp_assign(nset, nset)) sc_inout(tp_assign(oset, oset))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_init_module -SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, - TP_PROTO(void * umod, unsigned long len, const char * uargs), - TP_ARGS(umod, len, uargs), - TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), - TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, - TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readv -SC_LTTNG_TRACEPOINT_EVENT(sys_readv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_writev -SC_LTTNG_TRACEPOINT_EVENT(sys_writev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(fd, vec, vlen), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, - TP_PROTO(pid_t pid, int policy, struct sched_param * param), - TP_ARGS(pid, policy, param), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresuid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, - TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), - TP_ARGS(ruid, euid, suid), - TP_STRUCT__entry(__field_hex(uid_t *, ruid) __field_hex(uid_t *, euid) __field_hex(uid_t *, suid)), - TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruid)) sc_out(__field_hex(uid_t *, euid)) sc_out(__field_hex(uid_t *, suid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruid, ruid)) sc_out(tp_assign(euid, euid)) sc_out(tp_assign(suid, suid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_poll -SC_LTTNG_TRACEPOINT_EVENT(sys_poll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, long timeout_msecs), - TP_ARGS(ufds, nfds, timeout_msecs), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(long, timeout_msecs)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(long, timeout_msecs))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_nfsservctl -SC_LTTNG_TRACEPOINT_EVENT(sys_nfsservctl, - TP_PROTO(int cmd, struct nfsctl_arg * arg, void * res), - TP_ARGS(cmd, arg, res), - TP_STRUCT__entry(__field(int, cmd) __field_hex(struct nfsctl_arg *, arg) __field_hex(void *, res)), - TP_fast_assign(tp_assign(cmd, cmd) tp_assign(arg, arg) tp_assign(res, res)), +#ifndef OVERRIDE_32_nfsservctl +SC_LTTNG_TRACEPOINT_EVENT(nfsservctl, + TP_PROTO(sc_exit(long ret,) int cmd, struct nfsctl_arg * arg, void * res), + TP_ARGS(sc_exit(ret,) cmd, arg, res), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, cmd)) sc_inout(__field_hex(struct nfsctl_arg *, arg)) sc_inout(__field_hex(void *, res))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg)) sc_inout(tp_assign(res, res))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getresgid -SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, - TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), - TP_ARGS(rgid, egid, sgid), - TP_STRUCT__entry(__field_hex(gid_t *, rgid) __field_hex(gid_t *, egid) __field_hex(gid_t *, sgid)), - TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgid)) sc_out(__field_hex(gid_t *, egid)) sc_out(__field_hex(gid_t *, sgid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgid, rgid)) sc_out(tp_assign(egid, egid)) sc_out(tp_assign(sgid, sgid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, - TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_chown -SC_LTTNG_TRACEPOINT_EVENT(sys_chown, - TP_PROTO(const char * filename, uid_t user, gid_t group), - TP_ARGS(filename, user, group), - TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), - TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, - TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(fd, dirent, count), - TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mincore -SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, - TP_PROTO(unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(start, len, vec), - TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), - TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_listxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, - TP_PROTO(const char * pathname, char * list, size_t size), - TP_ARGS(pathname, list, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, - TP_PROTO(int fd, char * list, size_t size), - TP_ARGS(fd, list, size), - TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_in(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, - TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(pid, len, user_mask_ptr), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), +#ifndef OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_out(tp_assign(user_mask_ptr, user_mask_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_submit -SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, - TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(ctx_id, nr, iocbpp), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, - TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(ctx_id, iocb, result), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_create -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, - TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(which_clock, timer_event_spec, created_timer_id), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(sys_statfs64, - TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(pathname, sz, buf), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(sz, sz) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(pathname, pathname)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(pathname, pathname)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs64, - TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(fd, sz, buf), - TP_STRUCT__entry(__field(unsigned int, fd) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(sz, sz) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_getsetattr, - TP_PROTO(mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(mqdes, u_mqstat, u_omqstat), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct mq_attr *, u_mqstat) __field_hex(struct mq_attr *, u_omqstat)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_mqstat, u_mqstat) tp_assign(u_omqstat, u_omqstat)), +#ifndef OVERRIDE_32_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_mqstat, u_mqstat)) sc_out(tp_assign(u_omqstat, u_omqstat))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, - TP_PROTO(int fd, const char * pathname, u32 mask), - TP_ARGS(fd, pathname, mask), - TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, - TP_PROTO(int dfd, const char * pathname, int mode), - TP_ARGS(dfd, pathname, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futimesat -SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, - TP_PROTO(int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(dfd, filename, utimes), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, - TP_PROTO(int dfd, const char * pathname, int flag), - TP_ARGS(dfd, pathname, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, - TP_PROTO(const char * oldname, int newdfd, const char * newname), - TP_ARGS(oldname, newdfd, newname), - TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, - TP_PROTO(int dfd, const char * filename, mode_t mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(mode_t, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_faccessat -SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, - TP_PROTO(int dfd, const char * filename, int mode), - TP_ARGS(dfd, filename, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, - TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(pid, head_ptr, len_ptr), - TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getcpu -SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, - TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(cpup, nodep, unused), - TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), - TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(ufd, user_mask, sizemask), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_bind -SC_LTTNG_TRACEPOINT_EVENT(sys_bind, - TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(fd, umyaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(umyaddr, umyaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_connect -SC_LTTNG_TRACEPOINT_EVENT(sys_connect, - TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(fd, uservaddr, addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uservaddr, uservaddr)) sc_in(tp_assign(addrlen, addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept -SC_LTTNG_TRACEPOINT_EVENT(sys_accept, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockname -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getpeername -SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, - TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(fd, usockaddr, usockaddr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, - TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(fd, msg, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_reboot -SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, - TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(magic1, magic2, cmd, arg), - TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), - TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_wait4 -SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, - TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(upid, stat_addr, options, ru), - TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, - TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sig, act, oact, sigsetsize), - TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, - TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(how, nset, oset, sigsetsize), - TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, - TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(uthese, uinfo, uts, sigsetsize), - TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, - TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, out_fd)) sc_inout(__field(int, in_fd)) sc_inout(__field_hex(off_t *, offset)) sc_inout(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(out_fd, out_fd)) sc_inout(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, - TP_PROTO(const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(pathname, name, value, size), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, - TP_PROTO(int fd, const char * name, void * value, size_t size), - TP_ARGS(fd, name, value, size), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, - TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(out_fd, in_fd, offset, count), - TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), - TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, - TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(epfd, op, fd, event), - TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(epfd, events, maxevents, timeout), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, - TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(timer_id, flags, new_setting, old_setting), - TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), - TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, - TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(which_clock, flags, rqtp, rmtp), - TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), - TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_open -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_open, - TP_PROTO(const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), - TP_ARGS(u_name, oflag, mode, u_attr), - TP_STRUCT__entry(__string_from_user(u_name, u_name) __field(int, oflag) __field(mode_t, mode) __field_hex(struct mq_attr *, u_attr)), - TP_fast_assign(tp_copy_string_from_user(u_name, u_name) tp_assign(oflag, oflag) tp_assign(mode, mode) tp_assign(u_attr, u_attr)), +#ifndef OVERRIDE_32_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(mode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name)) sc_in(tp_assign(oflag, oflag)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(u_attr, u_attr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_request_key -SC_LTTNG_TRACEPOINT_EVENT(sys_request_key, - TP_PROTO(const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(_type, _description, _callout_info, destringid), - TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const char *, _callout_info) __field(key_serial_t, destringid)), - TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_callout_info, _callout_info) tp_assign(destringid, destringid)), +#ifndef OVERRIDE_32_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_callout_info, _callout_info)) sc_in(tp_assign(destringid, destringid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, - TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(fd, iov, nr_segs, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_openat -SC_LTTNG_TRACEPOINT_EVENT(sys_openat, - TP_PROTO(int dfd, const char * filename, int flags, int mode), - TP_ARGS(dfd, filename, flags, mode), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(int, mode)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mknodat -SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, - TP_PROTO(int dfd, const char * filename, int mode, unsigned dev), - TP_ARGS(dfd, filename, mode, dev), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, - TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(dfd, filename, statbuf, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf)) sc_inout(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(dfd, dfd)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf)) sc_inout(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_renameat -SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(olddfd, oldname, newdfd, newname), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, - TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(dfd, pathname, buf, bufsiz), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_utimensat -SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, - TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(dfd, filename, utimes, flags), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, - TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(ufd, flags, utmr, otmr), - TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, - TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(ufd, user_mask, sizemask, flags), - TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), - TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, - TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(tgid, pid, sig, uinfo), - TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), - TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, - TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(pid, resource, new_rlim, old_rlim), - TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), - TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_socketpair -SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, - TP_PROTO(int family, int type, int protocol, int * usockvec), - TP_ARGS(family, type, protocol, usockvec), - TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), - TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol)) sc_out(tp_assign(usockvec, usockvec))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_send -SC_LTTNG_TRACEPOINT_EVENT(sys_send, - TP_PROTO(int fd, void * buff, size_t len, unsigned flags), - TP_ARGS(fd, buff, len, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field_hex(void *, buff)) sc_inout(__field(size_t, len)) sc_inout(__field(unsigned, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(buff, buff)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_accept4 -SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, - TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(fd, mmsg, vlen, flags), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mount -SC_LTTNG_TRACEPOINT_EVENT(sys_mount, - TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(dev_name, dir_name, type, flags, data), - TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), - TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_llseek -SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, - TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(fd, offset_high, offset_low, result, origin), - TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned long, offset_high)) sc_inout(__field(unsigned long, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, origin))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset_high, offset_high)) sc_inout(tp_assign(offset_low, offset_low)) sc_inout(tp_assign(result, result)) sc_inout(tp_assign(origin, origin))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_select -SC_LTTNG_TRACEPOINT_EVENT(sys_select, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(n, inp, outp, exp, tvp), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pciconfig_read -SC_LTTNG_TRACEPOINT_EVENT(sys_pciconfig_read, - TP_PROTO(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), - TP_ARGS(bus, dfn, off, len, buf), - TP_STRUCT__entry(__field(unsigned long, bus) __field(unsigned long, dfn) __field(unsigned long, off) __field(unsigned long, len) __field_hex(void *, buf)), - TP_fast_assign(tp_assign(bus, bus) tp_assign(dfn, dfn) tp_assign(off, off) tp_assign(len, len) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_pciconfig_read +SC_LTTNG_TRACEPOINT_EVENT(pciconfig_read, + TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), + TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, bus)) sc_inout(__field(unsigned long, dfn)) sc_inout(__field(unsigned long, off)) sc_inout(__field(unsigned long, len)) sc_inout(__field_hex(void *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(bus, bus)) sc_inout(tp_assign(dfn, dfn)) sc_inout(tp_assign(off, off)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pciconfig_write -SC_LTTNG_TRACEPOINT_EVENT(sys_pciconfig_write, - TP_PROTO(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), - TP_ARGS(bus, dfn, off, len, buf), - TP_STRUCT__entry(__field(unsigned long, bus) __field(unsigned long, dfn) __field(unsigned long, off) __field(unsigned long, len) __field_hex(void *, buf)), - TP_fast_assign(tp_assign(bus, bus) tp_assign(dfn, dfn) tp_assign(off, off) tp_assign(len, len) tp_assign(buf, buf)), +#ifndef OVERRIDE_32_pciconfig_write +SC_LTTNG_TRACEPOINT_EVENT(pciconfig_write, + TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), + TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, bus)) sc_inout(__field(unsigned long, dfn)) sc_inout(__field(unsigned long, off)) sc_inout(__field(unsigned long, len)) sc_inout(__field_hex(void *, buf))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(bus, bus)) sc_inout(tp_assign(dfn, dfn)) sc_inout(tp_assign(off, off)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(buf, buf))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, - TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(pathname, name, value, size, flags), - TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, - TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(fd, name, value, size, flags), - TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), - TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, - TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(ctx_id, min_nr, nr, events, timeout), - TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedsend, - TP_PROTO(mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), - TP_ARGS(mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const char *, u_msg_ptr) __field(size_t, msg_len) __field(unsigned int, msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(msg_prio, msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), +#ifndef OVERRIDE_32_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_in(tp_assign(msg_prio, msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedreceive, - TP_PROTO(mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), - TP_ARGS(mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(char *, u_msg_ptr) __field(size_t, msg_len) __field_hex(unsigned int *, u_msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), - TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(u_msg_prio, u_msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), +#ifndef OVERRIDE_32_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_out(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_out(tp_assign(u_msg_prio, u_msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_add_key -SC_LTTNG_TRACEPOINT_EVENT(sys_add_key, - TP_PROTO(const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(_type, _description, _payload, plen, ringid), - TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const void *, _payload) __field(size_t, plen) __field(key_serial_t, ringid)), - TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_payload, _payload) tp_assign(plen, plen) tp_assign(ringid, ringid)), +#ifndef OVERRIDE_32_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_payload, _payload)) sc_in(tp_assign(plen, plen)) sc_in(tp_assign(ringid, ringid))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_waitid -SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, - TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(which, upid, infop, options, ru), - TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), - TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ppoll -SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, - TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), - TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_fchownat -SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, - TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(dfd, filename, user, group, flag), - TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), - TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_linkat -SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, - TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(olddfd, oldname, newdfd, newname, flags), - TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), - TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, - TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), - TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), - TP_fast_assign(tp_assign(attr_uptr, attr_uptr) tp_assign(pid, pid) tp_assign(cpu, cpu) tp_assign(group_fd, group_fd) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(attr_uptr, attr_uptr)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(cpu, cpu)) sc_in(tp_assign(group_fd, group_fd)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_preadv -SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pwritev -SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, - TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(fd, vec, vlen, pos_l, pos_h), - TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_in(tp_assign(optval, optval)) sc_in(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, - TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(fd, level, optname, optval, optlen), - TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_out(tp_assign(optval, optval)) sc_inout(tp_assign(optlen, optlen))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, - TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(fd, mmsg, vlen, flags, timeout), - TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_ipc -SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, - TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(call, first, second, third, ptr, fifth), - TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), - TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, call)) sc_inout(__field(int, first)) sc_inout(__field(unsigned long, second)) sc_inout(__field(unsigned long, third)) sc_inout(__field_hex(void *, ptr)) sc_inout(__field(long, fifth))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(first, first)) sc_inout(tp_assign(second, second)) sc_inout(tp_assign(third, third)) sc_inout(tp_assign(ptr, ptr)) sc_inout(tp_assign(fifth, fifth))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_futex -SC_LTTNG_TRACEPOINT_EVENT(sys_futex, - TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(uaddr, op, val, utime, uaddr2, val3), - TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), - TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, - TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(n, inp, outp, exp, tsp, sig), - TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), - TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_splice -SC_LTTNG_TRACEPOINT_EVENT(sys_splice, - TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), - TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), - TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), - TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, - TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), - TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), - TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_sendto -SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, - TP_PROTO(int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), - TP_ARGS(fd, buff, len, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buff, buff)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(addr_len, addr_len))), TP_printk() ) #endif -#ifndef OVERRIDE_32_sys_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, - TP_PROTO(int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(fd, ubuf, size, flags, addr, addr_len), - TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), - TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))), + TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(ubuf, ubuf)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags)) sc_out(tp_assign(addr, addr)) sc_inout(tp_assign(addr_len, addr_len))), TP_printk() ) #endif @@ -1739,578 +1739,578 @@ SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, #include "powerpc-32-syscalls-3.0.34_pointers_override.h" #include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_32_sys_read -TRACE_SYSCALL_TABLE(sys_read, sys_read, 3, 3) +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 3, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_write -TRACE_SYSCALL_TABLE(sys_write, sys_write, 4, 3) +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_open -TRACE_SYSCALL_TABLE(sys_open, sys_open, 5, 3) +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 5, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_waitpid -TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 7, 3) +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_creat -TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 8, 2) +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 8, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_link -TRACE_SYSCALL_TABLE(sys_link, sys_link, 9, 2) +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 9, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlink -TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 10, 1) +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_chdir -TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 12, 1) +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_time -TRACE_SYSCALL_TABLE(sys_time, sys_time, 13, 1) +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 13, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknod -TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 14, 3) +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_chmod -TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 15, 2) +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lchown -TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 16, 3) +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 16, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_stat -TRACE_SYSCALL_TABLE(sys_stat, sys_stat, 18, 2) +#ifndef OVERRIDE_TABLE_32_stat +TRACE_SYSCALL_TABLE(stat, stat, 18, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mount -TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 21, 5) +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 21, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_oldumount -TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 22, 1) +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_stime -TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 25, 1) +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 25, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstat -TRACE_SYSCALL_TABLE(sys_fstat, sys_fstat, 28, 2) +#ifndef OVERRIDE_TABLE_32_fstat +TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_utime -TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 30, 2) +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 30, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_access -TRACE_SYSCALL_TABLE(sys_access, sys_access, 33, 2) +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 33, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rename -TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 38, 2) +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 38, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdir -TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 39, 2) +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rmdir -TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 40, 1) +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_pipe -TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 42, 1) +#ifndef OVERRIDE_TABLE_32_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_times -TRACE_SYSCALL_TABLE(sys_times, sys_times, 43, 1) +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 43, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_acct -TRACE_SYSCALL_TABLE(sys_acct, sys_acct, 51, 1) +#ifndef OVERRIDE_TABLE_32_acct +TRACE_SYSCALL_TABLE(acct, acct, 51, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_umount -TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 52, 2) +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 52, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_olduname -TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 59, 1) +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_chroot -TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 61, 1) +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ustat -TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 62, 2) +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigpending -TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 73, 1) +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sethostname -TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 74, 2) +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setrlimit -TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 75, 2) +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_old_getrlimit -TRACE_SYSCALL_TABLE(sys_old_getrlimit, sys_old_getrlimit, 76, 2) +#ifndef OVERRIDE_TABLE_32_old_getrlimit +TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrusage -TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 77, 2) +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_gettimeofday -TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 78, 2) +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_settimeofday -TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 79, 2) +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getgroups -TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 80, 2) +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 80, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_setgroups -TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 81, 2) +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 81, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlink -TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 83, 2) +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lstat -TRACE_SYSCALL_TABLE(sys_lstat, sys_lstat, 84, 2) +#ifndef OVERRIDE_TABLE_32_lstat +TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlink -TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 85, 3) +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_uselib -TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 86, 1) +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_swapon -TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 87, 2) +#ifndef OVERRIDE_TABLE_32_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_reboot -TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 88, 4) +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_old_readdir -TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 89, 3) +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_truncate -TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 92, 2) +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_statfs -TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 99, 2) +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs -TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 100, 2) +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_socketcall -TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 102, 2) +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_syslog -TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setitimer -TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 104, 3) +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getitimer -TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 105, 2) +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newstat -TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 106, 2) +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newlstat -TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 107, 2) +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newfstat -TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 108, 2) +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_uname -TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 109, 1) +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 109, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_wait4 -TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 114, 4) +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_swapoff -TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 115, 1) +#ifndef OVERRIDE_TABLE_32_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysinfo -TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 116, 1) +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_ipc -TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 117, 6) +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_setdomainname -TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 121, 2) +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_newuname -TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 122, 1) +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_adjtimex -TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 124, 1) +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sigprocmask -TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 126, 3) +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_init_module -TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 128, 3) +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_delete_module -TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 129, 2) +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_llseek -TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 140, 5) +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents -TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 141, 3) +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_select -TRACE_SYSCALL_TABLE(sys_select, sys_select, 142, 5) +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 142, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_readv -TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 145, 3) +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 145, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_writev -TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 146, 3) +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 146, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sysctl -TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 149, 1) +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setparam -TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 154, 2) +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getparam -TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 155, 2) +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler -TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 156, 3) +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 161, 2) +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_nanosleep -TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 162, 2) +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresuid -TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 165, 3) +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 165, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_poll -TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 167, 3) +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 167, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_nfsservctl -TRACE_SYSCALL_TABLE(sys_nfsservctl, sys_nfsservctl, 168, 3) +#ifndef OVERRIDE_TABLE_32_nfsservctl +TRACE_SYSCALL_TABLE(nfsservctl, nfsservctl, 168, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getresgid -TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 170, 3) +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 170, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigaction -TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 173, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 173, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask -TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 174, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 174, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigpending -TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 175, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 175, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait -TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 176, 4) +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 176, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 177, 3) +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 177, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend -TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 178, 2) +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 178, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_chown -TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 181, 3) +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 181, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcwd -TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 182, 2) +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 182, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile -TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 186, 4) +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 186, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_getrlimit -TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 190, 2) +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 190, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_stat64 -TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 195, 2) +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lstat64 -TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 196, 2) +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstat64 -TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 197, 2) +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_pciconfig_read -TRACE_SYSCALL_TABLE(sys_pciconfig_read, sys_pciconfig_read, 198, 5) +#ifndef OVERRIDE_TABLE_32_pciconfig_read +TRACE_SYSCALL_TABLE(pciconfig_read, pciconfig_read, 198, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_pciconfig_write -TRACE_SYSCALL_TABLE(sys_pciconfig_write, sys_pciconfig_write, 199, 5) +#ifndef OVERRIDE_TABLE_32_pciconfig_write +TRACE_SYSCALL_TABLE(pciconfig_write, pciconfig_write, 199, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getdents64 -TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 202, 3) +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 202, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_pivot_root -TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 203, 2) +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 203, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mincore -TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 206, 3) +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 206, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_setxattr -TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 209, 5) +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 209, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_lsetxattr -TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 210, 5) +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 210, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_fsetxattr -TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 211, 5) +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 211, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getxattr -TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 212, 4) +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 212, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_lgetxattr -TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 213, 4) +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 213, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fgetxattr -TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 214, 4) +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 214, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_listxattr -TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 215, 3) +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 215, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_llistxattr -TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 216, 3) +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 216, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_flistxattr -TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 217, 3) +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 217, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_removexattr -TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 218, 2) +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 218, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_lremovexattr -TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 219, 2) +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 219, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_fremovexattr -TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 220, 2) +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 220, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_futex -TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 221, 6) +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 221, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_setaffinity -TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 222, 3) +#ifndef OVERRIDE_TABLE_32_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 222, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sched_getaffinity -TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 223, 3) +#ifndef OVERRIDE_TABLE_32_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 223, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendfile64 -TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 226, 4) +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 226, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_setup -TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 227, 2) +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 227, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_getevents -TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 229, 5) +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 229, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_submit -TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 230, 3) +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 230, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_io_cancel -TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 231, 3) +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 231, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_tid_address -TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 232, 1) +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 232, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_ctl -TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 237, 4) +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 237, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_wait -TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 238, 4) +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 238, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_create -TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 240, 3) +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 240, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_settime -TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 241, 4) +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 241, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timer_gettime -TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 242, 2) +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 242, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_settime -TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 245, 2) +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 245, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_gettime -TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 246, 2) +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 246, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_getres -TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 247, 2) +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 247, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep -TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 248, 4) +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 248, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimes -TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 251, 2) +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 251, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_statfs64 -TRACE_SYSCALL_TABLE(sys_statfs64, sys_statfs64, 252, 3) +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 252, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatfs64 -TRACE_SYSCALL_TABLE(sys_fstatfs64, sys_fstatfs64, 253, 3) +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 253, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_open -TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 262, 4) +#ifndef OVERRIDE_TABLE_32_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 262, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_unlink -TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 263, 1) +#ifndef OVERRIDE_TABLE_32_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 263, 1) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_timedsend -TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 264, 5) +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 264, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_timedreceive -TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 265, 5) +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 265, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_notify -TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 266, 2) +#ifndef OVERRIDE_TABLE_32_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 266, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_mq_getsetattr -TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 267, 3) +#ifndef OVERRIDE_TABLE_32_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 267, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_add_key -TRACE_SYSCALL_TABLE(sys_add_key, sys_add_key, 269, 5) +#ifndef OVERRIDE_TABLE_32_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 269, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_request_key -TRACE_SYSCALL_TABLE(sys_request_key, sys_request_key, 270, 4) +#ifndef OVERRIDE_TABLE_32_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 270, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_waitid -TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 272, 5) +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 272, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch -TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 276, 3) +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 276, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_pselect6 -TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 280, 6) +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 280, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_ppoll -TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 281, 5) +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 281, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_splice -TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 283, 6) +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 283, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_vmsplice -TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 285, 4) +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 285, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_openat -TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 286, 4) +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 286, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_mkdirat -TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 287, 3) +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 287, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_mknodat -TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 288, 4) +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 288, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchownat -TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 289, 5) +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 289, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_futimesat -TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 290, 3) +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 290, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_fstatat64 -TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 291, 4) +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 291, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_unlinkat -TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 292, 3) +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 292, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_renameat -TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 293, 4) +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 293, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_linkat -TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 294, 5) +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 294, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_symlinkat -TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 295, 3) +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 295, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_readlinkat -TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 296, 4) +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 296, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_fchmodat -TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 297, 3) +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 297, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_faccessat -TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 298, 3) +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 298, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_get_robust_list -TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 299, 3) +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 299, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_set_robust_list -TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 300, 2) +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 300, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_getcpu -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 302, 3) +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 302, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_epoll_pwait -TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 303, 6) +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 303, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_utimensat -TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 304, 4) +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 304, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd -TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 305, 3) +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 305, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_settime -TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 311, 4) +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 311, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime -TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 312, 2) +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 312, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_signalfd4 -TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 313, 4) +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 313, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_pipe2 -TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 317, 2) +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 317, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_perf_event_open -TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 319, 5) +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 319, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_preadv -TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 320, 5) +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 320, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_pwritev -TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 321, 5) +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 321, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 322, 4) +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 322, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_prlimit64 -TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 325, 4) +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 325, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_bind -TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 327, 3) +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 327, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_connect -TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 328, 3) +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 328, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept -TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 330, 3) +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 330, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockname -TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 331, 3) +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 331, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_getpeername -TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 332, 3) +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 332, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_socketpair -TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 333, 4) +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 333, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_send -TRACE_SYSCALL_TABLE(sys_send, sys_send, 334, 4) +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 334, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendto -TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 335, 6) +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 335, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvfrom -TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 337, 6) +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 337, 6) #endif -#ifndef OVERRIDE_TABLE_32_sys_setsockopt -TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 339, 5) +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 339, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_getsockopt -TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 340, 5) +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 340, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmsg -TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 341, 3) +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 341, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmsg -TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 342, 3) +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 342, 3) #endif -#ifndef OVERRIDE_TABLE_32_sys_recvmmsg -TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 343, 5) +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 343, 5) #endif -#ifndef OVERRIDE_TABLE_32_sys_accept4 -TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 344, 4) +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 344, 4) #endif -#ifndef OVERRIDE_TABLE_32_sys_clock_adjtime -TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 347, 2) +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 347, 2) #endif -#ifndef OVERRIDE_TABLE_32_sys_sendmmsg -TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 349, 4) +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 349, 4) #endif #endif /* CREATE_SYSCALL_TABLE */