#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_SYSCALLS_INTEGERS_H
-#include <linux/tracepoint.h>
+#include "../../../probes/lttng-tracepoint-event.h"
#include <linux/syscalls.h>
#include "x86-32-syscalls-3.1.0-rc6_integers_override.h"
+#include "syscalls_integers_override.h"
-SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs,
+#ifdef SC_ENTER
+SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
TP_STRUCT__entry(),
TP_fast_assign(),
TP_printk()
)
-#ifndef OVERRIDE_sys_restart_syscall
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall)
+#ifndef OVERRIDE_32_restart_syscall
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
#endif
-#ifndef OVERRIDE_sys_getpid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid)
+#ifndef OVERRIDE_32_getpid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
#endif
-#ifndef OVERRIDE_sys_getuid16
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid16)
+#ifndef OVERRIDE_32_getuid16
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16)
#endif
-#ifndef OVERRIDE_sys_pause
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause)
+#ifndef OVERRIDE_32_pause
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
#endif
-#ifndef OVERRIDE_sys_sync
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync)
+#ifndef OVERRIDE_32_sync
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
#endif
-#ifndef OVERRIDE_sys_getgid16
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid16)
+#ifndef OVERRIDE_32_getgid16
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16)
#endif
-#ifndef OVERRIDE_sys_geteuid16
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid16)
+#ifndef OVERRIDE_32_geteuid16
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16)
#endif
-#ifndef OVERRIDE_sys_getegid16
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid16)
+#ifndef OVERRIDE_32_getegid16
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16)
#endif
-#ifndef OVERRIDE_sys_getppid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid)
+#ifndef OVERRIDE_32_getppid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
#endif
-#ifndef OVERRIDE_sys_getpgrp
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp)
+#ifndef OVERRIDE_32_getpgrp
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
#endif
-#ifndef OVERRIDE_sys_setsid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid)
+#ifndef OVERRIDE_32_setsid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
#endif
-#ifndef OVERRIDE_sys_sgetmask
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask)
+#ifndef OVERRIDE_32_sgetmask
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask)
#endif
-#ifndef OVERRIDE_sys_vhangup
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup)
+#ifndef OVERRIDE_32_vhangup
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
#endif
-#ifndef OVERRIDE_sys_munlockall
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall)
+#ifndef OVERRIDE_32_munlockall
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
#endif
-#ifndef OVERRIDE_sys_sched_yield
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield)
+#ifndef OVERRIDE_32_sched_yield
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
#endif
-#ifndef OVERRIDE_sys_getuid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid)
+#ifndef OVERRIDE_32_getuid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
#endif
-#ifndef OVERRIDE_sys_getgid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid)
+#ifndef OVERRIDE_32_getgid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
#endif
-#ifndef OVERRIDE_sys_geteuid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid)
+#ifndef OVERRIDE_32_geteuid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
#endif
-#ifndef OVERRIDE_sys_getegid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid)
+#ifndef OVERRIDE_32_getegid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
#endif
-#ifndef OVERRIDE_sys_gettid
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid)
+#ifndef OVERRIDE_32_gettid
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
#endif
-#ifndef OVERRIDE_sys_inotify_init
-SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init)
+#ifndef OVERRIDE_32_inotify_init
+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
#endif
-#ifndef OVERRIDE_sys_exit
-SC_TRACE_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_sys_close
-SC_TRACE_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_sys_setuid16
-SC_TRACE_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_sys_alarm
-SC_TRACE_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_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_sys_nice
-SC_TRACE_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_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_sys_dup
-SC_TRACE_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_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_sys_brk
-SC_TRACE_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_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_sys_setgid16
-SC_TRACE_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_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_sys_umask
-SC_TRACE_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_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_sys_ssetmask
-SC_TRACE_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_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_sys_fsync
-SC_TRACE_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_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_sys_getpgid
-SC_TRACE_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_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_sys_fchdir
-SC_TRACE_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_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_sys_personality
-SC_TRACE_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_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_sys_setfsuid16
-SC_TRACE_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_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_sys_setfsgid16
-SC_TRACE_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_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_sys_getsid
-SC_TRACE_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_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_sys_fdatasync
-SC_TRACE_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_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_sys_mlockall
-SC_TRACE_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_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_sys_sched_getscheduler
-SC_TRACE_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_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_sys_sched_get_priority_max
-SC_TRACE_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_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_sys_sched_get_priority_min
-SC_TRACE_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)),
+#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_sys_setuid
-SC_TRACE_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_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_sys_setgid
-SC_TRACE_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_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_sys_setfsuid
-SC_TRACE_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_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_sys_setfsgid
-SC_TRACE_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_sys_io_destroy
-SC_TRACE_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_sys_exit_group
-SC_TRACE_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_sys_epoll_create
-SC_TRACE_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_sys_timer_getoverrun
-SC_TRACE_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_sys_timer_delete
-SC_TRACE_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_sys_unshare
-SC_TRACE_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_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_sys_eventfd
-SC_TRACE_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_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_sys_epoll_create1
-SC_TRACE_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_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_sys_inotify_init1
-SC_TRACE_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_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_sys_syncfs
-SC_TRACE_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_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_sys_kill
-SC_TRACE_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_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_sys_signal
-SC_TRACE_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_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_sys_setpgid
-SC_TRACE_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_sys_dup2
-SC_TRACE_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_sys_setreuid16
-SC_TRACE_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_sys_setregid16
-SC_TRACE_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_sys_munmap
-SC_TRACE_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_sys_ftruncate
-SC_TRACE_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_sys_fchmod
-SC_TRACE_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_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_sys_getpriority
-SC_TRACE_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_sys_bdflush
-SC_TRACE_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_sys_flock
-SC_TRACE_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_sys_mlock
-SC_TRACE_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_sys_munlock
-SC_TRACE_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_sys_setreuid
-SC_TRACE_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_sys_setregid
-SC_TRACE_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_sys_tkill
-SC_TRACE_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_sys_ioprio_get
-SC_TRACE_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_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_sys_inotify_rm_watch
-SC_TRACE_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_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_sys_timerfd_create
-SC_TRACE_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_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_sys_eventfd2
-SC_TRACE_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_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_sys_fanotify_init
-SC_TRACE_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_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_sys_setns
-SC_TRACE_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_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_sys_lseek
-SC_TRACE_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_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_sys_ioctl
-SC_TRACE_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_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_sys_fcntl
-SC_TRACE_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_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_sys_fchown16
-SC_TRACE_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_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_sys_setpriority
-SC_TRACE_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_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_sys_mprotect
-SC_TRACE_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_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_sys_sysfs
-SC_TRACE_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_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_sys_msync
-SC_TRACE_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_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_sys_setresuid16
-SC_TRACE_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_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_sys_setresgid16
-SC_TRACE_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_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_sys_fchown
-SC_TRACE_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_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_sys_setresuid
-SC_TRACE_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_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_sys_setresgid
-SC_TRACE_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_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_sys_madvise
-SC_TRACE_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_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_sys_fcntl64
-SC_TRACE_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_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_sys_tgkill
-SC_TRACE_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_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_sys_ioprio_set
-SC_TRACE_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_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_sys_dup3
-SC_TRACE_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_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_sys_ptrace
-SC_TRACE_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_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_sys_tee
-SC_TRACE_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_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_sys_mremap
-SC_TRACE_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_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_sys_prctl
-SC_TRACE_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_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_sys_remap_file_pages
-SC_TRACE_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_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_sys_keyctl
-SC_TRACE_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_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_sys_mmap_pgoff
-SC_TRACE_EVENT(sys_mmap_pgoff,
- 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_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_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_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_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_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
+#ifndef OVERRIDE_32_mmap_pgoff
+SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff,
+ 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
#else /* CREATE_SYSCALL_TABLE */
#include "x86-32-syscalls-3.1.0-rc6_integers_override.h"
+#include "syscalls_integers_override.h"
-#ifndef OVERRIDE_TABLE_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_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_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, 291, 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_sys_inotify_init
-TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 291, 0)
+#ifndef OVERRIDE_TABLE_32_inotify_init
+TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0)
#endif
-#ifndef OVERRIDE_TABLE_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_sys_mmap_pgoff
-TRACE_SYSCALL_TABLE(sys_mmap_pgoff, sys_mmap_pgoff, 192, 6)
+#ifndef OVERRIDE_TABLE_32_mmap_pgoff
+TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6)
#endif
-#ifndef OVERRIDE_TABLE_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_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_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_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_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_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_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_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_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_sys_madvise
-TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 219, 3)
+#ifndef OVERRIDE_TABLE_32_madvise
+TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3)
#endif
-#ifndef OVERRIDE_TABLE_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_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_sys_io_destroy
-TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 246, 1)
+#ifndef OVERRIDE_TABLE_32_io_destroy
+TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_exit_group
-TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 252, 1)
+#ifndef OVERRIDE_TABLE_32_exit_group
+TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_epoll_create
-TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 254, 1)
+#ifndef OVERRIDE_TABLE_32_epoll_create
+TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_remap_file_pages
-TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 257, 5)
+#ifndef OVERRIDE_TABLE_32_remap_file_pages
+TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5)
#endif
-#ifndef OVERRIDE_TABLE_sys_timer_getoverrun
-TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 262, 1)
+#ifndef OVERRIDE_TABLE_32_timer_getoverrun
+TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_timer_delete
-TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 263, 1)
+#ifndef OVERRIDE_TABLE_32_timer_delete
+TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_tgkill
-TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 270, 3)
+#ifndef OVERRIDE_TABLE_32_tgkill
+TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3)
#endif
-#ifndef OVERRIDE_TABLE_sys_keyctl
-TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 288, 5)
+#ifndef OVERRIDE_TABLE_32_keyctl
+TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5)
#endif
-#ifndef OVERRIDE_TABLE_sys_ioprio_set
-TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 289, 3)
+#ifndef OVERRIDE_TABLE_32_ioprio_set
+TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3)
#endif
-#ifndef OVERRIDE_TABLE_sys_ioprio_get
-TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 290, 2)
+#ifndef OVERRIDE_TABLE_32_ioprio_get
+TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2)
#endif
-#ifndef OVERRIDE_TABLE_sys_inotify_rm_watch
-TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 293, 2)
+#ifndef OVERRIDE_TABLE_32_inotify_rm_watch
+TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2)
#endif
-#ifndef OVERRIDE_TABLE_sys_unshare
-TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 310, 1)
+#ifndef OVERRIDE_TABLE_32_unshare
+TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_tee
-TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 315, 4)
+#ifndef OVERRIDE_TABLE_32_tee
+TRACE_SYSCALL_TABLE(tee, tee, 315, 4)
#endif
-#ifndef OVERRIDE_TABLE_sys_timerfd_create
-TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 322, 2)
+#ifndef OVERRIDE_TABLE_32_timerfd_create
+TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2)
#endif
-#ifndef OVERRIDE_TABLE_sys_eventfd
-TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 323, 1)
+#ifndef OVERRIDE_TABLE_32_eventfd
+TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_eventfd2
-TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 328, 2)
+#ifndef OVERRIDE_TABLE_32_eventfd2
+TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2)
#endif
-#ifndef OVERRIDE_TABLE_sys_epoll_create1
-TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 329, 1)
+#ifndef OVERRIDE_TABLE_32_epoll_create1
+TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_dup3
-TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 330, 3)
+#ifndef OVERRIDE_TABLE_32_dup3
+TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3)
#endif
-#ifndef OVERRIDE_TABLE_sys_inotify_init1
-TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 332, 1)
+#ifndef OVERRIDE_TABLE_32_inotify_init1
+TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_fanotify_init
-TRACE_SYSCALL_TABLE(sys_fanotify_init, sys_fanotify_init, 338, 2)
+#ifndef OVERRIDE_TABLE_32_fanotify_init
+TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2)
#endif
-#ifndef OVERRIDE_TABLE_sys_syncfs
-TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 344, 1)
+#ifndef OVERRIDE_TABLE_32_syncfs
+TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1)
#endif
-#ifndef OVERRIDE_TABLE_sys_setns
-TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 346, 2)
+#ifndef OVERRIDE_TABLE_32_setns
+TRACE_SYSCALL_TABLE(setns, setns, 346, 2)
#endif
#endif /* CREATE_SYSCALL_TABLE */