From daaf627aaa66c434d9274c6616977a6edc07b6ca Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 9 Dec 2011 09:39:10 -0500 Subject: [PATCH] Gather detailed info from x86 64 32-bit compat syscall instrumentation Signed-off-by: Mathieu Desnoyers --- .../headers/compat_syscalls_integers.h | 2 +- .../syscalls/headers/syscalls_integers.h | 2 - .../headers/syscalls_integers_override.h | 3 +- .../syscalls/headers/syscalls_pointers.h | 2 - .../headers/syscalls_pointers_override.h | 4 + .../x86-32-syscalls-3.1.0-rc6_integers.h | 422 +++++----- ...-32-syscalls-3.1.0-rc6_integers_override.h | 54 +- .../x86-32-syscalls-3.1.0-rc6_pointers.h | 738 +++++++++--------- ...-32-syscalls-3.1.0-rc6_pointers_override.h | 24 +- .../headers/x86-64-syscalls-3.0.4_integers.h | 362 ++++----- .../x86-64-syscalls-3.0.4_integers_override.h | 3 + .../headers/x86-64-syscalls-3.0.4_pointers.h | 686 ++++++++-------- .../lttng-syscalls-extractor/Makefile | 22 - .../lttng-syscalls-generate-headers.sh | 25 +- 14 files changed, 1171 insertions(+), 1178 deletions(-) diff --git a/instrumentation/syscalls/headers/compat_syscalls_integers.h b/instrumentation/syscalls/headers/compat_syscalls_integers.h index 1c6e4f2a..dabc4bf7 100644 --- a/instrumentation/syscalls/headers/compat_syscalls_integers.h +++ b/instrumentation/syscalls/headers/compat_syscalls_integers.h @@ -1,3 +1,3 @@ #ifdef CONFIG_X86_64 -//#include "x86-32-syscalls-3.1.0-rc6_integers.h" +#include "x86-32-syscalls-3.1.0-rc6_integers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_integers.h b/instrumentation/syscalls/headers/syscalls_integers.h index a4a3b379..41db9161 100644 --- a/instrumentation/syscalls/headers/syscalls_integers.h +++ b/instrumentation/syscalls/headers/syscalls_integers.h @@ -1,5 +1,3 @@ -#include "syscalls_integers_override.h" - #ifdef CONFIG_X86_64 #include "x86-64-syscalls-3.0.4_integers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_integers_override.h b/instrumentation/syscalls/headers/syscalls_integers_override.h index 2d358bb2..276d9a60 100644 --- a/instrumentation/syscalls/headers/syscalls_integers_override.h +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -1,4 +1,5 @@ -#define OVERRIDE_sys_mmap +#define OVERRIDE_32_sys_mmap +#define OVERRIDE_64_sys_mmap #ifndef CREATE_SYSCALL_TABLE diff --git a/instrumentation/syscalls/headers/syscalls_pointers.h b/instrumentation/syscalls/headers/syscalls_pointers.h index 5f18034c..32238902 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers.h +++ b/instrumentation/syscalls/headers/syscalls_pointers.h @@ -1,5 +1,3 @@ -#include "syscalls_pointers_override.h" - #ifdef CONFIG_X86_64 #include "x86-64-syscalls-3.0.4_pointers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index e69de29b..e464a4ee 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -0,0 +1,4 @@ +/* + * This is a place-holder for override defines for system calls with + * pointers (all architectures). + */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h index 4825562b..f4ee16c3 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h @@ -7,76 +7,77 @@ #include #include #include "x86-32-syscalls-3.1.0-rc6_integers_override.h" +#include "syscalls_integers_override.h" SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_sys_restart_syscall +#ifndef OVERRIDE_32_sys_restart_syscall SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) #endif -#ifndef OVERRIDE_sys_getpid +#ifndef OVERRIDE_32_sys_getpid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) #endif -#ifndef OVERRIDE_sys_getuid16 +#ifndef OVERRIDE_32_sys_getuid16 SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid16) #endif -#ifndef OVERRIDE_sys_pause +#ifndef OVERRIDE_32_sys_pause SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) #endif -#ifndef OVERRIDE_sys_sync +#ifndef OVERRIDE_32_sys_sync SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) #endif -#ifndef OVERRIDE_sys_getgid16 +#ifndef OVERRIDE_32_sys_getgid16 SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid16) #endif -#ifndef OVERRIDE_sys_geteuid16 +#ifndef OVERRIDE_32_sys_geteuid16 SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid16) #endif -#ifndef OVERRIDE_sys_getegid16 +#ifndef OVERRIDE_32_sys_getegid16 SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid16) #endif -#ifndef OVERRIDE_sys_getppid +#ifndef OVERRIDE_32_sys_getppid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) #endif -#ifndef OVERRIDE_sys_getpgrp +#ifndef OVERRIDE_32_sys_getpgrp SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) #endif -#ifndef OVERRIDE_sys_setsid +#ifndef OVERRIDE_32_sys_setsid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) #endif -#ifndef OVERRIDE_sys_sgetmask +#ifndef OVERRIDE_32_sys_sgetmask SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) #endif -#ifndef OVERRIDE_sys_vhangup +#ifndef OVERRIDE_32_sys_vhangup SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) #endif -#ifndef OVERRIDE_sys_munlockall +#ifndef OVERRIDE_32_sys_munlockall SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) #endif -#ifndef OVERRIDE_sys_sched_yield +#ifndef OVERRIDE_32_sys_sched_yield SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) #endif -#ifndef OVERRIDE_sys_getuid +#ifndef OVERRIDE_32_sys_getuid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) #endif -#ifndef OVERRIDE_sys_getgid +#ifndef OVERRIDE_32_sys_getgid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) #endif -#ifndef OVERRIDE_sys_geteuid +#ifndef OVERRIDE_32_sys_geteuid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) #endif -#ifndef OVERRIDE_sys_getegid +#ifndef OVERRIDE_32_sys_getegid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) #endif -#ifndef OVERRIDE_sys_gettid +#ifndef OVERRIDE_32_sys_gettid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) #endif -#ifndef OVERRIDE_sys_inotify_init +#ifndef OVERRIDE_32_sys_inotify_init SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) #endif -#ifndef OVERRIDE_sys_exit +#ifndef OVERRIDE_32_sys_exit SC_TRACE_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), @@ -85,7 +86,7 @@ SC_TRACE_EVENT(sys_exit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_close +#ifndef OVERRIDE_32_sys_close SC_TRACE_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -94,7 +95,7 @@ SC_TRACE_EVENT(sys_close, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setuid16 +#ifndef OVERRIDE_32_sys_setuid16 SC_TRACE_EVENT(sys_setuid16, TP_PROTO(old_uid_t uid), TP_ARGS(uid), @@ -103,7 +104,7 @@ SC_TRACE_EVENT(sys_setuid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_alarm +#ifndef OVERRIDE_32_sys_alarm SC_TRACE_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), @@ -112,7 +113,7 @@ SC_TRACE_EVENT(sys_alarm, TP_printk() ) #endif -#ifndef OVERRIDE_sys_nice +#ifndef OVERRIDE_32_sys_nice SC_TRACE_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), @@ -121,7 +122,7 @@ SC_TRACE_EVENT(sys_nice, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup +#ifndef OVERRIDE_32_sys_dup SC_TRACE_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), @@ -130,7 +131,7 @@ SC_TRACE_EVENT(sys_dup, TP_printk() ) #endif -#ifndef OVERRIDE_sys_brk +#ifndef OVERRIDE_32_sys_brk SC_TRACE_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), @@ -139,7 +140,7 @@ SC_TRACE_EVENT(sys_brk, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgid16 +#ifndef OVERRIDE_32_sys_setgid16 SC_TRACE_EVENT(sys_setgid16, TP_PROTO(old_gid_t gid), TP_ARGS(gid), @@ -148,7 +149,7 @@ SC_TRACE_EVENT(sys_setgid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_umask +#ifndef OVERRIDE_32_sys_umask SC_TRACE_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), @@ -157,7 +158,7 @@ SC_TRACE_EVENT(sys_umask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ssetmask +#ifndef OVERRIDE_32_sys_ssetmask SC_TRACE_EVENT(sys_ssetmask, TP_PROTO(int newmask), TP_ARGS(newmask), @@ -166,7 +167,7 @@ SC_TRACE_EVENT(sys_ssetmask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fsync +#ifndef OVERRIDE_32_sys_fsync SC_TRACE_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -175,7 +176,7 @@ SC_TRACE_EVENT(sys_fsync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getpgid +#ifndef OVERRIDE_32_sys_getpgid SC_TRACE_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -184,7 +185,7 @@ SC_TRACE_EVENT(sys_getpgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchdir +#ifndef OVERRIDE_32_sys_fchdir SC_TRACE_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -193,7 +194,7 @@ SC_TRACE_EVENT(sys_fchdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_personality +#ifndef OVERRIDE_32_sys_personality SC_TRACE_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), @@ -202,7 +203,7 @@ SC_TRACE_EVENT(sys_personality, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsuid16 +#ifndef OVERRIDE_32_sys_setfsuid16 SC_TRACE_EVENT(sys_setfsuid16, TP_PROTO(old_uid_t uid), TP_ARGS(uid), @@ -211,7 +212,7 @@ SC_TRACE_EVENT(sys_setfsuid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsgid16 +#ifndef OVERRIDE_32_sys_setfsgid16 SC_TRACE_EVENT(sys_setfsgid16, TP_PROTO(old_gid_t gid), TP_ARGS(gid), @@ -220,7 +221,7 @@ SC_TRACE_EVENT(sys_setfsgid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getsid +#ifndef OVERRIDE_32_sys_getsid SC_TRACE_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -229,7 +230,7 @@ SC_TRACE_EVENT(sys_getsid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fdatasync +#ifndef OVERRIDE_32_sys_fdatasync SC_TRACE_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -238,7 +239,7 @@ SC_TRACE_EVENT(sys_fdatasync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mlockall +#ifndef OVERRIDE_32_sys_mlockall SC_TRACE_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), @@ -247,7 +248,7 @@ SC_TRACE_EVENT(sys_mlockall, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getscheduler +#ifndef OVERRIDE_32_sys_sched_getscheduler SC_TRACE_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -256,7 +257,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_get_priority_max +#ifndef OVERRIDE_32_sys_sched_get_priority_max SC_TRACE_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), @@ -265,7 +266,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_get_priority_min +#ifndef OVERRIDE_32_sys_sched_get_priority_min SC_TRACE_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), @@ -274,7 +275,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setuid +#ifndef OVERRIDE_32_sys_setuid SC_TRACE_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), @@ -283,7 +284,7 @@ SC_TRACE_EVENT(sys_setuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgid +#ifndef OVERRIDE_32_sys_setgid SC_TRACE_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), @@ -292,7 +293,7 @@ SC_TRACE_EVENT(sys_setgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsuid +#ifndef OVERRIDE_32_sys_setfsuid SC_TRACE_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), @@ -301,7 +302,7 @@ SC_TRACE_EVENT(sys_setfsuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsgid +#ifndef OVERRIDE_32_sys_setfsgid SC_TRACE_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), @@ -310,7 +311,7 @@ SC_TRACE_EVENT(sys_setfsgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_destroy +#ifndef OVERRIDE_32_sys_io_destroy SC_TRACE_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), @@ -319,7 +320,7 @@ SC_TRACE_EVENT(sys_io_destroy, TP_printk() ) #endif -#ifndef OVERRIDE_sys_exit_group +#ifndef OVERRIDE_32_sys_exit_group SC_TRACE_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), @@ -328,7 +329,7 @@ SC_TRACE_EVENT(sys_exit_group, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_create +#ifndef OVERRIDE_32_sys_epoll_create SC_TRACE_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), @@ -337,7 +338,7 @@ SC_TRACE_EVENT(sys_epoll_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_getoverrun +#ifndef OVERRIDE_32_sys_timer_getoverrun SC_TRACE_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), @@ -346,7 +347,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_delete +#ifndef OVERRIDE_32_sys_timer_delete SC_TRACE_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), @@ -355,7 +356,7 @@ SC_TRACE_EVENT(sys_timer_delete, TP_printk() ) #endif -#ifndef OVERRIDE_sys_unshare +#ifndef OVERRIDE_32_sys_unshare SC_TRACE_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), @@ -364,7 +365,7 @@ SC_TRACE_EVENT(sys_unshare, TP_printk() ) #endif -#ifndef OVERRIDE_sys_eventfd +#ifndef OVERRIDE_32_sys_eventfd SC_TRACE_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), @@ -373,7 +374,7 @@ SC_TRACE_EVENT(sys_eventfd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_create1 +#ifndef OVERRIDE_32_sys_epoll_create1 SC_TRACE_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), @@ -382,7 +383,7 @@ SC_TRACE_EVENT(sys_epoll_create1, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_init1 +#ifndef OVERRIDE_32_sys_inotify_init1 SC_TRACE_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), @@ -391,7 +392,7 @@ SC_TRACE_EVENT(sys_inotify_init1, TP_printk() ) #endif -#ifndef OVERRIDE_sys_syncfs +#ifndef OVERRIDE_32_sys_syncfs SC_TRACE_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), @@ -400,7 +401,7 @@ SC_TRACE_EVENT(sys_syncfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_kill +#ifndef OVERRIDE_32_sys_kill SC_TRACE_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), @@ -409,7 +410,7 @@ SC_TRACE_EVENT(sys_kill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_signal +#ifndef OVERRIDE_32_sys_signal SC_TRACE_EVENT(sys_signal, TP_PROTO(int sig, __sighandler_t handler), TP_ARGS(sig, handler), @@ -418,7 +419,7 @@ SC_TRACE_EVENT(sys_signal, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setpgid +#ifndef OVERRIDE_32_sys_setpgid SC_TRACE_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), @@ -427,7 +428,7 @@ SC_TRACE_EVENT(sys_setpgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup2 +#ifndef OVERRIDE_32_sys_dup2 SC_TRACE_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), @@ -436,7 +437,7 @@ SC_TRACE_EVENT(sys_dup2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setreuid16 +#ifndef OVERRIDE_32_sys_setreuid16 SC_TRACE_EVENT(sys_setreuid16, TP_PROTO(old_uid_t ruid, old_uid_t euid), TP_ARGS(ruid, euid), @@ -445,7 +446,7 @@ SC_TRACE_EVENT(sys_setreuid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setregid16 +#ifndef OVERRIDE_32_sys_setregid16 SC_TRACE_EVENT(sys_setregid16, TP_PROTO(old_gid_t rgid, old_gid_t egid), TP_ARGS(rgid, egid), @@ -454,7 +455,7 @@ SC_TRACE_EVENT(sys_setregid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_munmap +#ifndef OVERRIDE_32_sys_munmap SC_TRACE_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), @@ -463,7 +464,7 @@ SC_TRACE_EVENT(sys_munmap, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ftruncate +#ifndef OVERRIDE_32_sys_ftruncate SC_TRACE_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), @@ -472,7 +473,7 @@ SC_TRACE_EVENT(sys_ftruncate, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchmod +#ifndef OVERRIDE_32_sys_fchmod SC_TRACE_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, mode_t mode), TP_ARGS(fd, mode), @@ -481,7 +482,7 @@ SC_TRACE_EVENT(sys_fchmod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getpriority +#ifndef OVERRIDE_32_sys_getpriority SC_TRACE_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), @@ -490,7 +491,7 @@ SC_TRACE_EVENT(sys_getpriority, TP_printk() ) #endif -#ifndef OVERRIDE_sys_bdflush +#ifndef OVERRIDE_32_sys_bdflush SC_TRACE_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), @@ -499,7 +500,7 @@ SC_TRACE_EVENT(sys_bdflush, TP_printk() ) #endif -#ifndef OVERRIDE_sys_flock +#ifndef OVERRIDE_32_sys_flock SC_TRACE_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), @@ -508,7 +509,7 @@ SC_TRACE_EVENT(sys_flock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mlock +#ifndef OVERRIDE_32_sys_mlock SC_TRACE_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), @@ -517,7 +518,7 @@ SC_TRACE_EVENT(sys_mlock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_munlock +#ifndef OVERRIDE_32_sys_munlock SC_TRACE_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), @@ -526,7 +527,7 @@ SC_TRACE_EVENT(sys_munlock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setreuid +#ifndef OVERRIDE_32_sys_setreuid SC_TRACE_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), @@ -535,7 +536,7 @@ SC_TRACE_EVENT(sys_setreuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setregid +#ifndef OVERRIDE_32_sys_setregid SC_TRACE_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), @@ -544,7 +545,7 @@ SC_TRACE_EVENT(sys_setregid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tkill +#ifndef OVERRIDE_32_sys_tkill SC_TRACE_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), @@ -553,7 +554,7 @@ SC_TRACE_EVENT(sys_tkill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioprio_get +#ifndef OVERRIDE_32_sys_ioprio_get SC_TRACE_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), @@ -562,7 +563,7 @@ SC_TRACE_EVENT(sys_ioprio_get, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_rm_watch +#ifndef OVERRIDE_32_sys_inotify_rm_watch SC_TRACE_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), @@ -571,7 +572,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_create +#ifndef OVERRIDE_32_sys_timerfd_create SC_TRACE_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), @@ -580,7 +581,7 @@ SC_TRACE_EVENT(sys_timerfd_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_eventfd2 +#ifndef OVERRIDE_32_sys_eventfd2 SC_TRACE_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), @@ -589,7 +590,7 @@ SC_TRACE_EVENT(sys_eventfd2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fanotify_init +#ifndef OVERRIDE_32_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), @@ -598,7 +599,7 @@ SC_TRACE_EVENT(sys_fanotify_init, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setns +#ifndef OVERRIDE_32_sys_setns SC_TRACE_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), @@ -607,7 +608,7 @@ SC_TRACE_EVENT(sys_setns, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lseek +#ifndef OVERRIDE_32_sys_lseek SC_TRACE_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), @@ -616,7 +617,7 @@ SC_TRACE_EVENT(sys_lseek, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioctl +#ifndef OVERRIDE_32_sys_ioctl SC_TRACE_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), @@ -625,7 +626,7 @@ SC_TRACE_EVENT(sys_ioctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fcntl +#ifndef OVERRIDE_32_sys_fcntl SC_TRACE_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), @@ -634,7 +635,7 @@ SC_TRACE_EVENT(sys_fcntl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchown16 +#ifndef OVERRIDE_32_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), @@ -643,7 +644,7 @@ SC_TRACE_EVENT(sys_fchown16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setpriority +#ifndef OVERRIDE_32_sys_setpriority SC_TRACE_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), @@ -652,7 +653,7 @@ SC_TRACE_EVENT(sys_setpriority, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mprotect +#ifndef OVERRIDE_32_sys_mprotect SC_TRACE_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), @@ -661,7 +662,7 @@ SC_TRACE_EVENT(sys_mprotect, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysfs +#ifndef OVERRIDE_32_sys_sysfs SC_TRACE_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), @@ -670,7 +671,7 @@ SC_TRACE_EVENT(sys_sysfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msync +#ifndef OVERRIDE_32_sys_msync SC_TRACE_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), @@ -679,7 +680,7 @@ SC_TRACE_EVENT(sys_msync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresuid16 +#ifndef OVERRIDE_32_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), @@ -688,7 +689,7 @@ SC_TRACE_EVENT(sys_setresuid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresgid16 +#ifndef OVERRIDE_32_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), @@ -697,7 +698,7 @@ SC_TRACE_EVENT(sys_setresgid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchown +#ifndef OVERRIDE_32_sys_fchown SC_TRACE_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), @@ -706,7 +707,7 @@ SC_TRACE_EVENT(sys_fchown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresuid +#ifndef OVERRIDE_32_sys_setresuid SC_TRACE_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), @@ -715,7 +716,7 @@ SC_TRACE_EVENT(sys_setresuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresgid +#ifndef OVERRIDE_32_sys_setresgid SC_TRACE_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), @@ -724,7 +725,7 @@ SC_TRACE_EVENT(sys_setresgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_madvise +#ifndef OVERRIDE_32_sys_madvise SC_TRACE_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), @@ -733,7 +734,7 @@ SC_TRACE_EVENT(sys_madvise, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fcntl64 +#ifndef OVERRIDE_32_sys_fcntl64 SC_TRACE_EVENT(sys_fcntl64, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), @@ -742,7 +743,7 @@ SC_TRACE_EVENT(sys_fcntl64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tgkill +#ifndef OVERRIDE_32_sys_tgkill SC_TRACE_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), @@ -751,7 +752,7 @@ SC_TRACE_EVENT(sys_tgkill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioprio_set +#ifndef OVERRIDE_32_sys_ioprio_set SC_TRACE_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), @@ -760,7 +761,7 @@ SC_TRACE_EVENT(sys_ioprio_set, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup3 +#ifndef OVERRIDE_32_sys_dup3 SC_TRACE_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), @@ -769,7 +770,7 @@ SC_TRACE_EVENT(sys_dup3, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ptrace +#ifndef OVERRIDE_32_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), @@ -778,7 +779,7 @@ SC_TRACE_EVENT(sys_ptrace, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tee +#ifndef OVERRIDE_32_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), @@ -787,7 +788,7 @@ SC_TRACE_EVENT(sys_tee, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mremap +#ifndef OVERRIDE_32_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), @@ -796,7 +797,7 @@ SC_TRACE_EVENT(sys_mremap, TP_printk() ) #endif -#ifndef OVERRIDE_sys_prctl +#ifndef OVERRIDE_32_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), @@ -805,7 +806,7 @@ SC_TRACE_EVENT(sys_prctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_remap_file_pages +#ifndef OVERRIDE_32_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), @@ -814,7 +815,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, TP_printk() ) #endif -#ifndef OVERRIDE_sys_keyctl +#ifndef OVERRIDE_32_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), @@ -823,7 +824,7 @@ SC_TRACE_EVENT(sys_keyctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mmap_pgoff +#ifndef OVERRIDE_32_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), @@ -841,320 +842,321 @@ SC_TRACE_EVENT(sys_mmap_pgoff, #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 +#ifndef OVERRIDE_TABLE_32_sys_restart_syscall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 0, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getpid +#ifndef OVERRIDE_TABLE_32_sys_getpid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 20, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getuid16 +#ifndef OVERRIDE_TABLE_32_sys_getuid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid16, 24, 0) #endif -#ifndef OVERRIDE_TABLE_sys_pause +#ifndef OVERRIDE_TABLE_32_sys_pause TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 29, 0) #endif -#ifndef OVERRIDE_TABLE_sys_sync +#ifndef OVERRIDE_TABLE_32_sys_sync TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 36, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getgid16 +#ifndef OVERRIDE_TABLE_32_sys_getgid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid16, 47, 0) #endif -#ifndef OVERRIDE_TABLE_sys_geteuid16 +#ifndef OVERRIDE_TABLE_32_sys_geteuid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid16, 49, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getegid16 +#ifndef OVERRIDE_TABLE_32_sys_getegid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid16, 50, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getppid +#ifndef OVERRIDE_TABLE_32_sys_getppid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 64, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getpgrp +#ifndef OVERRIDE_TABLE_32_sys_getpgrp TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 65, 0) #endif -#ifndef OVERRIDE_TABLE_sys_setsid +#ifndef OVERRIDE_TABLE_32_sys_setsid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 66, 0) #endif -#ifndef OVERRIDE_TABLE_sys_sgetmask +#ifndef OVERRIDE_TABLE_32_sys_sgetmask TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 68, 0) #endif -#ifndef OVERRIDE_TABLE_sys_vhangup +#ifndef OVERRIDE_TABLE_32_sys_vhangup TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 111, 0) #endif -#ifndef OVERRIDE_TABLE_sys_munlockall +#ifndef OVERRIDE_TABLE_32_sys_munlockall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 153, 0) #endif -#ifndef OVERRIDE_TABLE_sys_sched_yield +#ifndef OVERRIDE_TABLE_32_sys_sched_yield TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 158, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getuid +#ifndef OVERRIDE_TABLE_32_sys_getuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 199, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getgid +#ifndef OVERRIDE_TABLE_32_sys_getgid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 200, 0) #endif -#ifndef OVERRIDE_TABLE_sys_geteuid +#ifndef OVERRIDE_TABLE_32_sys_geteuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 201, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getegid +#ifndef OVERRIDE_TABLE_32_sys_getegid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 202, 0) #endif -#ifndef OVERRIDE_TABLE_sys_gettid +#ifndef OVERRIDE_TABLE_32_sys_gettid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 224, 0) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_init +#ifndef OVERRIDE_TABLE_32_sys_inotify_init TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 291, 0) #endif -#ifndef OVERRIDE_TABLE_sys_exit +#ifndef OVERRIDE_TABLE_32_sys_exit TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 1, 1) #endif -#ifndef OVERRIDE_TABLE_sys_close +#ifndef OVERRIDE_TABLE_32_sys_close TRACE_SYSCALL_TABLE(sys_close, sys_close, 6, 1) #endif -#ifndef OVERRIDE_TABLE_sys_lseek +#ifndef OVERRIDE_TABLE_32_sys_lseek TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 19, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setuid16 +#ifndef OVERRIDE_TABLE_32_sys_setuid16 TRACE_SYSCALL_TABLE(sys_setuid16, sys_setuid16, 23, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ptrace +#ifndef OVERRIDE_TABLE_32_sys_ptrace TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 26, 4) #endif -#ifndef OVERRIDE_TABLE_sys_alarm +#ifndef OVERRIDE_TABLE_32_sys_alarm TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 27, 1) #endif -#ifndef OVERRIDE_TABLE_sys_nice +#ifndef OVERRIDE_TABLE_32_sys_nice TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 34, 1) #endif -#ifndef OVERRIDE_TABLE_sys_kill +#ifndef OVERRIDE_TABLE_32_sys_kill TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 37, 2) #endif -#ifndef OVERRIDE_TABLE_sys_dup +#ifndef OVERRIDE_TABLE_32_sys_dup TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 41, 1) #endif -#ifndef OVERRIDE_TABLE_sys_brk +#ifndef OVERRIDE_TABLE_32_sys_brk TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 45, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setgid16 +#ifndef OVERRIDE_TABLE_32_sys_setgid16 TRACE_SYSCALL_TABLE(sys_setgid16, sys_setgid16, 46, 1) #endif -#ifndef OVERRIDE_TABLE_sys_signal +#ifndef OVERRIDE_TABLE_32_sys_signal TRACE_SYSCALL_TABLE(sys_signal, sys_signal, 48, 2) #endif -#ifndef OVERRIDE_TABLE_sys_ioctl +#ifndef OVERRIDE_TABLE_32_sys_ioctl TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 54, 3) #endif -#ifndef OVERRIDE_TABLE_sys_fcntl +#ifndef OVERRIDE_TABLE_32_sys_fcntl TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 55, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setpgid +#ifndef OVERRIDE_TABLE_32_sys_setpgid TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 57, 2) #endif -#ifndef OVERRIDE_TABLE_sys_umask +#ifndef OVERRIDE_TABLE_32_sys_umask TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 60, 1) #endif -#ifndef OVERRIDE_TABLE_sys_dup2 +#ifndef OVERRIDE_TABLE_32_sys_dup2 TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 63, 2) #endif -#ifndef OVERRIDE_TABLE_sys_ssetmask +#ifndef OVERRIDE_TABLE_32_sys_ssetmask TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 69, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setreuid16 +#ifndef OVERRIDE_TABLE_32_sys_setreuid16 TRACE_SYSCALL_TABLE(sys_setreuid16, sys_setreuid16, 70, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setregid16 +#ifndef OVERRIDE_TABLE_32_sys_setregid16 TRACE_SYSCALL_TABLE(sys_setregid16, sys_setregid16, 71, 2) #endif -#ifndef OVERRIDE_TABLE_sys_munmap +#ifndef OVERRIDE_TABLE_32_sys_munmap TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 91, 2) #endif -#ifndef OVERRIDE_TABLE_sys_ftruncate +#ifndef OVERRIDE_TABLE_32_sys_ftruncate TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 93, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fchmod +#ifndef OVERRIDE_TABLE_32_sys_fchmod TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 94, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fchown16 +#ifndef OVERRIDE_TABLE_32_sys_fchown16 TRACE_SYSCALL_TABLE(sys_fchown16, sys_fchown16, 95, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getpriority +#ifndef OVERRIDE_TABLE_32_sys_getpriority TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 96, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setpriority +#ifndef OVERRIDE_TABLE_32_sys_setpriority TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 97, 3) #endif -#ifndef OVERRIDE_TABLE_sys_fsync +#ifndef OVERRIDE_TABLE_32_sys_fsync TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 118, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mprotect +#ifndef OVERRIDE_TABLE_32_sys_mprotect TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 125, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getpgid +#ifndef OVERRIDE_TABLE_32_sys_getpgid TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 132, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fchdir +#ifndef OVERRIDE_TABLE_32_sys_fchdir TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 133, 1) #endif -#ifndef OVERRIDE_TABLE_sys_bdflush +#ifndef OVERRIDE_TABLE_32_sys_bdflush TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 134, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sysfs +#ifndef OVERRIDE_TABLE_32_sys_sysfs TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 135, 3) #endif -#ifndef OVERRIDE_TABLE_sys_personality +#ifndef OVERRIDE_TABLE_32_sys_personality TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 136, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsuid16 +#ifndef OVERRIDE_TABLE_32_sys_setfsuid16 TRACE_SYSCALL_TABLE(sys_setfsuid16, sys_setfsuid16, 138, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsgid16 +#ifndef OVERRIDE_TABLE_32_sys_setfsgid16 TRACE_SYSCALL_TABLE(sys_setfsgid16, sys_setfsgid16, 139, 1) #endif -#ifndef OVERRIDE_TABLE_sys_flock +#ifndef OVERRIDE_TABLE_32_sys_flock TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 143, 2) #endif -#ifndef OVERRIDE_TABLE_sys_msync +#ifndef OVERRIDE_TABLE_32_sys_msync TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 144, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getsid +#ifndef OVERRIDE_TABLE_32_sys_getsid TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 147, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fdatasync +#ifndef OVERRIDE_TABLE_32_sys_fdatasync TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 148, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mlock +#ifndef OVERRIDE_TABLE_32_sys_mlock TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 150, 2) #endif -#ifndef OVERRIDE_TABLE_sys_munlock +#ifndef OVERRIDE_TABLE_32_sys_munlock TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 151, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mlockall +#ifndef OVERRIDE_TABLE_32_sys_mlockall TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 152, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getscheduler +#ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 157, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_get_priority_max +#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 159, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_get_priority_min +#ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 160, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mremap +#ifndef OVERRIDE_TABLE_32_sys_mremap TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 163, 5) #endif -#ifndef OVERRIDE_TABLE_sys_setresuid16 +#ifndef OVERRIDE_TABLE_32_sys_setresuid16 TRACE_SYSCALL_TABLE(sys_setresuid16, sys_setresuid16, 164, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setresgid16 +#ifndef OVERRIDE_TABLE_32_sys_setresgid16 TRACE_SYSCALL_TABLE(sys_setresgid16, sys_setresgid16, 170, 3) #endif -#ifndef OVERRIDE_TABLE_sys_prctl +#ifndef OVERRIDE_TABLE_32_sys_prctl TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 172, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mmap_pgoff +#ifndef OVERRIDE_TABLE_32_sys_mmap_pgoff TRACE_SYSCALL_TABLE(sys_mmap_pgoff, sys_mmap_pgoff, 192, 6) #endif -#ifndef OVERRIDE_TABLE_sys_setreuid +#ifndef OVERRIDE_TABLE_32_sys_setreuid TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 203, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setregid +#ifndef OVERRIDE_TABLE_32_sys_setregid TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 204, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fchown +#ifndef OVERRIDE_TABLE_32_sys_fchown TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 207, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setresuid +#ifndef OVERRIDE_TABLE_32_sys_setresuid TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 208, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setresgid +#ifndef OVERRIDE_TABLE_32_sys_setresgid TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 210, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setuid +#ifndef OVERRIDE_TABLE_32_sys_setuid TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 213, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setgid +#ifndef OVERRIDE_TABLE_32_sys_setgid TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 214, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsuid +#ifndef OVERRIDE_TABLE_32_sys_setfsuid TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 215, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsgid +#ifndef OVERRIDE_TABLE_32_sys_setfsgid TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 216, 1) #endif -#ifndef OVERRIDE_TABLE_sys_madvise +#ifndef OVERRIDE_TABLE_32_sys_madvise TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 219, 3) #endif -#ifndef OVERRIDE_TABLE_sys_fcntl64 +#ifndef OVERRIDE_TABLE_32_sys_fcntl64 TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 221, 3) #endif -#ifndef OVERRIDE_TABLE_sys_tkill +#ifndef OVERRIDE_TABLE_32_sys_tkill TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 238, 2) #endif -#ifndef OVERRIDE_TABLE_sys_io_destroy +#ifndef OVERRIDE_TABLE_32_sys_io_destroy TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 246, 1) #endif -#ifndef OVERRIDE_TABLE_sys_exit_group +#ifndef OVERRIDE_TABLE_32_sys_exit_group TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 252, 1) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_create +#ifndef OVERRIDE_TABLE_32_sys_epoll_create TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 254, 1) #endif -#ifndef OVERRIDE_TABLE_sys_remap_file_pages +#ifndef OVERRIDE_TABLE_32_sys_remap_file_pages TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 257, 5) #endif -#ifndef OVERRIDE_TABLE_sys_timer_getoverrun +#ifndef OVERRIDE_TABLE_32_sys_timer_getoverrun TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 262, 1) #endif -#ifndef OVERRIDE_TABLE_sys_timer_delete +#ifndef OVERRIDE_TABLE_32_sys_timer_delete TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 263, 1) #endif -#ifndef OVERRIDE_TABLE_sys_tgkill +#ifndef OVERRIDE_TABLE_32_sys_tgkill TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 270, 3) #endif -#ifndef OVERRIDE_TABLE_sys_keyctl +#ifndef OVERRIDE_TABLE_32_sys_keyctl TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 288, 5) #endif -#ifndef OVERRIDE_TABLE_sys_ioprio_set +#ifndef OVERRIDE_TABLE_32_sys_ioprio_set TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 289, 3) #endif -#ifndef OVERRIDE_TABLE_sys_ioprio_get +#ifndef OVERRIDE_TABLE_32_sys_ioprio_get TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 290, 2) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_rm_watch +#ifndef OVERRIDE_TABLE_32_sys_inotify_rm_watch TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 293, 2) #endif -#ifndef OVERRIDE_TABLE_sys_unshare +#ifndef OVERRIDE_TABLE_32_sys_unshare TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 310, 1) #endif -#ifndef OVERRIDE_TABLE_sys_tee +#ifndef OVERRIDE_TABLE_32_sys_tee TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 315, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_create +#ifndef OVERRIDE_TABLE_32_sys_timerfd_create TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 322, 2) #endif -#ifndef OVERRIDE_TABLE_sys_eventfd +#ifndef OVERRIDE_TABLE_32_sys_eventfd TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 323, 1) #endif -#ifndef OVERRIDE_TABLE_sys_eventfd2 +#ifndef OVERRIDE_TABLE_32_sys_eventfd2 TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 328, 2) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_create1 +#ifndef OVERRIDE_TABLE_32_sys_epoll_create1 TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 329, 1) #endif -#ifndef OVERRIDE_TABLE_sys_dup3 +#ifndef OVERRIDE_TABLE_32_sys_dup3 TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 330, 3) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_init1 +#ifndef OVERRIDE_TABLE_32_sys_inotify_init1 TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 332, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fanotify_init +#ifndef OVERRIDE_TABLE_32_sys_fanotify_init TRACE_SYSCALL_TABLE(sys_fanotify_init, sys_fanotify_init, 338, 2) #endif -#ifndef OVERRIDE_TABLE_sys_syncfs +#ifndef OVERRIDE_TABLE_32_sys_syncfs TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 344, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setns +#ifndef OVERRIDE_TABLE_32_sys_setns TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 346, 2) #endif diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h index 02a83dac..ed2cf1fe 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h @@ -1,38 +1,38 @@ #ifndef CONFIG_UID16 -#define OVERRIDE_sys_getuid16 -#define OVERRIDE_sys_getgid16 -#define OVERRIDE_sys_geteuid16 -#define OVERRIDE_sys_getegid16 -#define OVERRIDE_sys_setuid16 -#define OVERRIDE_sys_setgid16 -#define OVERRIDE_sys_setfsuid16 -#define OVERRIDE_sys_setfsgid16 -#define OVERRIDE_sys_setreuid16 -#define OVERRIDE_sys_setregid16 -#define OVERRIDE_sys_fchown16 -#define OVERRIDE_sys_setresuid16 -#define OVERRIDE_sys_setresgid16 +#define OVERRIDE_32_sys_getuid16 +#define OVERRIDE_32_sys_getgid16 +#define OVERRIDE_32_sys_geteuid16 +#define OVERRIDE_32_sys_getegid16 +#define OVERRIDE_32_sys_setuid16 +#define OVERRIDE_32_sys_setgid16 +#define OVERRIDE_32_sys_setfsuid16 +#define OVERRIDE_32_sys_setfsgid16 +#define OVERRIDE_32_sys_setreuid16 +#define OVERRIDE_32_sys_setregid16 +#define OVERRIDE_32_sys_fchown16 +#define OVERRIDE_32_sys_setresuid16 +#define OVERRIDE_32_sys_setresgid16 -#define OVERRIDE_TABLE_sys_getuid16 -#define OVERRIDE_TABLE_sys_getgid16 -#define OVERRIDE_TABLE_sys_geteuid16 -#define OVERRIDE_TABLE_sys_getegid16 -#define OVERRIDE_TABLE_sys_setuid16 -#define OVERRIDE_TABLE_sys_setgid16 -#define OVERRIDE_TABLE_sys_setreuid16 -#define OVERRIDE_TABLE_sys_setregid16 -#define OVERRIDE_TABLE_sys_fchown16 -#define OVERRIDE_TABLE_sys_setfsuid16 -#define OVERRIDE_TABLE_sys_setfsgid16 -#define OVERRIDE_TABLE_sys_setresuid16 -#define OVERRIDE_TABLE_sys_setresgid16 +#define OVERRIDE_TABLE_32_sys_getuid16 +#define OVERRIDE_TABLE_32_sys_getgid16 +#define OVERRIDE_TABLE_32_sys_geteuid16 +#define OVERRIDE_TABLE_32_sys_getegid16 +#define OVERRIDE_TABLE_32_sys_setuid16 +#define OVERRIDE_TABLE_32_sys_setgid16 +#define OVERRIDE_TABLE_32_sys_setreuid16 +#define OVERRIDE_TABLE_32_sys_setregid16 +#define OVERRIDE_TABLE_32_sys_fchown16 +#define OVERRIDE_TABLE_32_sys_setfsuid16 +#define OVERRIDE_TABLE_32_sys_setfsgid16 +#define OVERRIDE_TABLE_32_sys_setresuid16 +#define OVERRIDE_TABLE_32_sys_setresgid16 #endif #ifdef CREATE_SYSCALL_TABLE -#define OVERRIDE_TABLE_sys_mmap +#define OVERRIDE_TABLE_32_sys_mmap TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 90, 6) #endif diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h index 40d5530a..ec5b3016 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h @@ -7,8 +7,9 @@ #include #include #include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" +#include "syscalls_pointers_override.h" -#ifndef OVERRIDE_sys_unlink +#ifndef OVERRIDE_32_sys_unlink SC_TRACE_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), @@ -17,7 +18,7 @@ SC_TRACE_EVENT(sys_unlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chdir +#ifndef OVERRIDE_32_sys_chdir SC_TRACE_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), @@ -26,7 +27,7 @@ SC_TRACE_EVENT(sys_chdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_time +#ifndef OVERRIDE_32_sys_time SC_TRACE_EVENT(sys_time, TP_PROTO(time_t * tloc), TP_ARGS(tloc), @@ -35,7 +36,7 @@ SC_TRACE_EVENT(sys_time, TP_printk() ) #endif -#ifndef OVERRIDE_sys_oldumount +#ifndef OVERRIDE_32_sys_oldumount SC_TRACE_EVENT(sys_oldumount, TP_PROTO(char * name), TP_ARGS(name), @@ -44,7 +45,7 @@ SC_TRACE_EVENT(sys_oldumount, TP_printk() ) #endif -#ifndef OVERRIDE_sys_stime +#ifndef OVERRIDE_32_sys_stime SC_TRACE_EVENT(sys_stime, TP_PROTO(time_t * tptr), TP_ARGS(tptr), @@ -53,7 +54,7 @@ SC_TRACE_EVENT(sys_stime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rmdir +#ifndef OVERRIDE_32_sys_rmdir SC_TRACE_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), @@ -62,7 +63,7 @@ SC_TRACE_EVENT(sys_rmdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pipe +#ifndef OVERRIDE_32_sys_pipe SC_TRACE_EVENT(sys_pipe, TP_PROTO(int * fildes), TP_ARGS(fildes), @@ -71,7 +72,7 @@ SC_TRACE_EVENT(sys_pipe, TP_printk() ) #endif -#ifndef OVERRIDE_sys_times +#ifndef OVERRIDE_32_sys_times SC_TRACE_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), @@ -80,7 +81,7 @@ SC_TRACE_EVENT(sys_times, TP_printk() ) #endif -#ifndef OVERRIDE_sys_acct +#ifndef OVERRIDE_32_sys_acct SC_TRACE_EVENT(sys_acct, TP_PROTO(const char * name), TP_ARGS(name), @@ -89,7 +90,7 @@ SC_TRACE_EVENT(sys_acct, TP_printk() ) #endif -#ifndef OVERRIDE_sys_olduname +#ifndef OVERRIDE_32_sys_olduname SC_TRACE_EVENT(sys_olduname, TP_PROTO(struct oldold_utsname * name), TP_ARGS(name), @@ -98,7 +99,7 @@ SC_TRACE_EVENT(sys_olduname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chroot +#ifndef OVERRIDE_32_sys_chroot SC_TRACE_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), @@ -107,7 +108,7 @@ SC_TRACE_EVENT(sys_chroot, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sigpending +#ifndef OVERRIDE_32_sys_sigpending SC_TRACE_EVENT(sys_sigpending, TP_PROTO(old_sigset_t * set), TP_ARGS(set), @@ -116,7 +117,7 @@ SC_TRACE_EVENT(sys_sigpending, TP_printk() ) #endif -#ifndef OVERRIDE_sys_old_select +#ifndef OVERRIDE_32_sys_old_select SC_TRACE_EVENT(sys_old_select, TP_PROTO(struct sel_arg_struct * arg), TP_ARGS(arg), @@ -125,7 +126,7 @@ SC_TRACE_EVENT(sys_old_select, TP_printk() ) #endif -#ifndef OVERRIDE_sys_uselib +#ifndef OVERRIDE_32_sys_uselib SC_TRACE_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), @@ -134,7 +135,7 @@ SC_TRACE_EVENT(sys_uselib, TP_printk() ) #endif -#ifndef OVERRIDE_sys_old_mmap +#ifndef OVERRIDE_32_sys_old_mmap SC_TRACE_EVENT(sys_old_mmap, TP_PROTO(struct mmap_arg_struct * arg), TP_ARGS(arg), @@ -143,7 +144,7 @@ SC_TRACE_EVENT(sys_old_mmap, TP_printk() ) #endif -#ifndef OVERRIDE_sys_uname +#ifndef OVERRIDE_32_sys_uname SC_TRACE_EVENT(sys_uname, TP_PROTO(struct old_utsname * name), TP_ARGS(name), @@ -152,7 +153,7 @@ SC_TRACE_EVENT(sys_uname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_swapoff +#ifndef OVERRIDE_32_sys_swapoff SC_TRACE_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), @@ -161,7 +162,7 @@ SC_TRACE_EVENT(sys_swapoff, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysinfo +#ifndef OVERRIDE_32_sys_sysinfo SC_TRACE_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), @@ -170,7 +171,7 @@ SC_TRACE_EVENT(sys_sysinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newuname +#ifndef OVERRIDE_32_sys_newuname SC_TRACE_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), @@ -179,7 +180,7 @@ SC_TRACE_EVENT(sys_newuname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_adjtimex +#ifndef OVERRIDE_32_sys_adjtimex SC_TRACE_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), @@ -188,7 +189,7 @@ SC_TRACE_EVENT(sys_adjtimex, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysctl +#ifndef OVERRIDE_32_sys_sysctl SC_TRACE_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), @@ -197,7 +198,7 @@ SC_TRACE_EVENT(sys_sysctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_set_tid_address +#ifndef OVERRIDE_32_sys_set_tid_address SC_TRACE_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), @@ -206,7 +207,7 @@ SC_TRACE_EVENT(sys_set_tid_address, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_unlink +#ifndef OVERRIDE_32_sys_mq_unlink SC_TRACE_EVENT(sys_mq_unlink, TP_PROTO(const char * u_name), TP_ARGS(u_name), @@ -215,7 +216,7 @@ SC_TRACE_EVENT(sys_mq_unlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_creat +#ifndef OVERRIDE_32_sys_creat SC_TRACE_EVENT(sys_creat, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), @@ -224,7 +225,7 @@ SC_TRACE_EVENT(sys_creat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_link +#ifndef OVERRIDE_32_sys_link SC_TRACE_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -233,7 +234,7 @@ SC_TRACE_EVENT(sys_link, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chmod +#ifndef OVERRIDE_32_sys_chmod SC_TRACE_EVENT(sys_chmod, TP_PROTO(const char * filename, mode_t mode), TP_ARGS(filename, mode), @@ -242,7 +243,7 @@ SC_TRACE_EVENT(sys_chmod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_stat +#ifndef OVERRIDE_32_sys_stat SC_TRACE_EVENT(sys_stat, TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(filename, statbuf), @@ -251,7 +252,7 @@ SC_TRACE_EVENT(sys_stat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstat +#ifndef OVERRIDE_32_sys_fstat SC_TRACE_EVENT(sys_fstat, TP_PROTO(unsigned int fd, struct __old_kernel_stat * statbuf), TP_ARGS(fd, statbuf), @@ -260,7 +261,7 @@ SC_TRACE_EVENT(sys_fstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utime +#ifndef OVERRIDE_32_sys_utime SC_TRACE_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), @@ -269,7 +270,7 @@ SC_TRACE_EVENT(sys_utime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_access +#ifndef OVERRIDE_32_sys_access SC_TRACE_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), @@ -278,7 +279,7 @@ SC_TRACE_EVENT(sys_access, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rename +#ifndef OVERRIDE_32_sys_rename SC_TRACE_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -287,7 +288,7 @@ SC_TRACE_EVENT(sys_rename, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mkdir +#ifndef OVERRIDE_32_sys_mkdir SC_TRACE_EVENT(sys_mkdir, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), @@ -296,7 +297,7 @@ SC_TRACE_EVENT(sys_mkdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_umount +#ifndef OVERRIDE_32_sys_umount SC_TRACE_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), @@ -305,7 +306,7 @@ SC_TRACE_EVENT(sys_umount, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ustat +#ifndef OVERRIDE_32_sys_ustat SC_TRACE_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), @@ -314,7 +315,7 @@ SC_TRACE_EVENT(sys_ustat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sethostname +#ifndef OVERRIDE_32_sys_sethostname SC_TRACE_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), @@ -323,7 +324,7 @@ SC_TRACE_EVENT(sys_sethostname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setrlimit +#ifndef OVERRIDE_32_sys_setrlimit SC_TRACE_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), @@ -332,7 +333,7 @@ SC_TRACE_EVENT(sys_setrlimit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_old_getrlimit +#ifndef OVERRIDE_32_sys_old_getrlimit SC_TRACE_EVENT(sys_old_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), @@ -341,7 +342,7 @@ SC_TRACE_EVENT(sys_old_getrlimit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getrusage +#ifndef OVERRIDE_32_sys_getrusage SC_TRACE_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), @@ -350,7 +351,7 @@ SC_TRACE_EVENT(sys_getrusage, TP_printk() ) #endif -#ifndef OVERRIDE_sys_gettimeofday +#ifndef OVERRIDE_32_sys_gettimeofday SC_TRACE_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), @@ -359,7 +360,7 @@ SC_TRACE_EVENT(sys_gettimeofday, TP_printk() ) #endif -#ifndef OVERRIDE_sys_settimeofday +#ifndef OVERRIDE_32_sys_settimeofday SC_TRACE_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), @@ -368,7 +369,7 @@ SC_TRACE_EVENT(sys_settimeofday, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getgroups16 +#ifndef OVERRIDE_32_sys_getgroups16 SC_TRACE_EVENT(sys_getgroups16, TP_PROTO(int gidsetsize, old_gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -377,7 +378,7 @@ SC_TRACE_EVENT(sys_getgroups16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgroups16 +#ifndef OVERRIDE_32_sys_setgroups16 SC_TRACE_EVENT(sys_setgroups16, TP_PROTO(int gidsetsize, old_gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -386,7 +387,7 @@ SC_TRACE_EVENT(sys_setgroups16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_symlink +#ifndef OVERRIDE_32_sys_symlink SC_TRACE_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -395,7 +396,7 @@ SC_TRACE_EVENT(sys_symlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lstat +#ifndef OVERRIDE_32_sys_lstat SC_TRACE_EVENT(sys_lstat, TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(filename, statbuf), @@ -404,7 +405,7 @@ SC_TRACE_EVENT(sys_lstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_swapon +#ifndef OVERRIDE_32_sys_swapon SC_TRACE_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), @@ -413,7 +414,7 @@ SC_TRACE_EVENT(sys_swapon, TP_printk() ) #endif -#ifndef OVERRIDE_sys_truncate +#ifndef OVERRIDE_32_sys_truncate SC_TRACE_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), @@ -422,7 +423,7 @@ SC_TRACE_EVENT(sys_truncate, TP_printk() ) #endif -#ifndef OVERRIDE_sys_statfs +#ifndef OVERRIDE_32_sys_statfs SC_TRACE_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), @@ -431,7 +432,7 @@ SC_TRACE_EVENT(sys_statfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstatfs +#ifndef OVERRIDE_32_sys_fstatfs SC_TRACE_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), @@ -440,7 +441,7 @@ SC_TRACE_EVENT(sys_fstatfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_socketcall +#ifndef OVERRIDE_32_sys_socketcall SC_TRACE_EVENT(sys_socketcall, TP_PROTO(int call, unsigned long * args), TP_ARGS(call, args), @@ -449,7 +450,7 @@ SC_TRACE_EVENT(sys_socketcall, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getitimer +#ifndef OVERRIDE_32_sys_getitimer SC_TRACE_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), @@ -458,7 +459,7 @@ SC_TRACE_EVENT(sys_getitimer, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newstat +#ifndef OVERRIDE_32_sys_newstat SC_TRACE_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), @@ -467,7 +468,7 @@ SC_TRACE_EVENT(sys_newstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newlstat +#ifndef OVERRIDE_32_sys_newlstat SC_TRACE_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), @@ -476,7 +477,7 @@ SC_TRACE_EVENT(sys_newlstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newfstat +#ifndef OVERRIDE_32_sys_newfstat SC_TRACE_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), @@ -485,7 +486,7 @@ SC_TRACE_EVENT(sys_newfstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setdomainname +#ifndef OVERRIDE_32_sys_setdomainname SC_TRACE_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), @@ -494,7 +495,7 @@ SC_TRACE_EVENT(sys_setdomainname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_delete_module +#ifndef OVERRIDE_32_sys_delete_module SC_TRACE_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), @@ -503,7 +504,7 @@ SC_TRACE_EVENT(sys_delete_module, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setparam +#ifndef OVERRIDE_32_sys_sched_setparam SC_TRACE_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), @@ -512,7 +513,7 @@ SC_TRACE_EVENT(sys_sched_setparam, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getparam +#ifndef OVERRIDE_32_sys_sched_getparam SC_TRACE_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), @@ -521,7 +522,7 @@ SC_TRACE_EVENT(sys_sched_getparam, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_rr_get_interval +#ifndef OVERRIDE_32_sys_sched_rr_get_interval SC_TRACE_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), @@ -530,7 +531,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, TP_printk() ) #endif -#ifndef OVERRIDE_sys_nanosleep +#ifndef OVERRIDE_32_sys_nanosleep SC_TRACE_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), @@ -539,7 +540,7 @@ SC_TRACE_EVENT(sys_nanosleep, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigpending +#ifndef OVERRIDE_32_sys_rt_sigpending SC_TRACE_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * set, size_t sigsetsize), TP_ARGS(set, sigsetsize), @@ -548,7 +549,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigsuspend +#ifndef OVERRIDE_32_sys_rt_sigsuspend SC_TRACE_EVENT(sys_rt_sigsuspend, TP_PROTO(sigset_t * unewset, size_t sigsetsize), TP_ARGS(unewset, sigsetsize), @@ -557,7 +558,7 @@ SC_TRACE_EVENT(sys_rt_sigsuspend, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getcwd +#ifndef OVERRIDE_32_sys_getcwd SC_TRACE_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), @@ -566,7 +567,7 @@ SC_TRACE_EVENT(sys_getcwd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getrlimit +#ifndef OVERRIDE_32_sys_getrlimit SC_TRACE_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), @@ -575,7 +576,7 @@ SC_TRACE_EVENT(sys_getrlimit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_stat64 +#ifndef OVERRIDE_32_sys_stat64 SC_TRACE_EVENT(sys_stat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), @@ -584,7 +585,7 @@ SC_TRACE_EVENT(sys_stat64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lstat64 +#ifndef OVERRIDE_32_sys_lstat64 SC_TRACE_EVENT(sys_lstat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), @@ -593,7 +594,7 @@ SC_TRACE_EVENT(sys_lstat64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstat64 +#ifndef OVERRIDE_32_sys_fstat64 SC_TRACE_EVENT(sys_fstat64, TP_PROTO(unsigned long fd, struct stat64 * statbuf), TP_ARGS(fd, statbuf), @@ -602,7 +603,7 @@ SC_TRACE_EVENT(sys_fstat64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getgroups +#ifndef OVERRIDE_32_sys_getgroups SC_TRACE_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -611,7 +612,7 @@ SC_TRACE_EVENT(sys_getgroups, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgroups +#ifndef OVERRIDE_32_sys_setgroups SC_TRACE_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -620,7 +621,7 @@ SC_TRACE_EVENT(sys_setgroups, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pivot_root +#ifndef OVERRIDE_32_sys_pivot_root SC_TRACE_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), @@ -629,7 +630,7 @@ SC_TRACE_EVENT(sys_pivot_root, TP_printk() ) #endif -#ifndef OVERRIDE_sys_removexattr +#ifndef OVERRIDE_32_sys_removexattr SC_TRACE_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), @@ -638,7 +639,7 @@ SC_TRACE_EVENT(sys_removexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lremovexattr +#ifndef OVERRIDE_32_sys_lremovexattr SC_TRACE_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), @@ -647,7 +648,7 @@ SC_TRACE_EVENT(sys_lremovexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fremovexattr +#ifndef OVERRIDE_32_sys_fremovexattr SC_TRACE_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), @@ -656,7 +657,7 @@ SC_TRACE_EVENT(sys_fremovexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_setup +#ifndef OVERRIDE_32_sys_io_setup SC_TRACE_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), @@ -665,7 +666,7 @@ SC_TRACE_EVENT(sys_io_setup, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_gettime +#ifndef OVERRIDE_32_sys_timer_gettime SC_TRACE_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), @@ -674,7 +675,7 @@ SC_TRACE_EVENT(sys_timer_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_settime +#ifndef OVERRIDE_32_sys_clock_settime SC_TRACE_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), @@ -683,7 +684,7 @@ SC_TRACE_EVENT(sys_clock_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_gettime +#ifndef OVERRIDE_32_sys_clock_gettime SC_TRACE_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), @@ -692,7 +693,7 @@ SC_TRACE_EVENT(sys_clock_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_getres +#ifndef OVERRIDE_32_sys_clock_getres SC_TRACE_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), @@ -701,7 +702,7 @@ SC_TRACE_EVENT(sys_clock_getres, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utimes +#ifndef OVERRIDE_32_sys_utimes SC_TRACE_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), @@ -710,7 +711,7 @@ SC_TRACE_EVENT(sys_utimes, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_notify +#ifndef OVERRIDE_32_sys_mq_notify SC_TRACE_EVENT(sys_mq_notify, TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(mqdes, u_notification), @@ -719,7 +720,7 @@ SC_TRACE_EVENT(sys_mq_notify, TP_printk() ) #endif -#ifndef OVERRIDE_sys_set_robust_list +#ifndef OVERRIDE_32_sys_set_robust_list SC_TRACE_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), @@ -728,7 +729,7 @@ SC_TRACE_EVENT(sys_set_robust_list, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_gettime +#ifndef OVERRIDE_32_sys_timerfd_gettime SC_TRACE_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), @@ -737,7 +738,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pipe2 +#ifndef OVERRIDE_32_sys_pipe2 SC_TRACE_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), @@ -746,7 +747,7 @@ SC_TRACE_EVENT(sys_pipe2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_adjtime +#ifndef OVERRIDE_32_sys_clock_adjtime SC_TRACE_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), @@ -755,7 +756,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_read +#ifndef OVERRIDE_32_sys_read SC_TRACE_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), @@ -764,7 +765,7 @@ SC_TRACE_EVENT(sys_read, TP_printk() ) #endif -#ifndef OVERRIDE_sys_write +#ifndef OVERRIDE_32_sys_write SC_TRACE_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), @@ -773,7 +774,7 @@ SC_TRACE_EVENT(sys_write, TP_printk() ) #endif -#ifndef OVERRIDE_sys_open +#ifndef OVERRIDE_32_sys_open SC_TRACE_EVENT(sys_open, TP_PROTO(const char * filename, int flags, int mode), TP_ARGS(filename, flags, mode), @@ -782,7 +783,7 @@ SC_TRACE_EVENT(sys_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_waitpid +#ifndef OVERRIDE_32_sys_waitpid SC_TRACE_EVENT(sys_waitpid, TP_PROTO(pid_t pid, int * stat_addr, int options), TP_ARGS(pid, stat_addr, options), @@ -791,7 +792,7 @@ SC_TRACE_EVENT(sys_waitpid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mknod +#ifndef OVERRIDE_32_sys_mknod SC_TRACE_EVENT(sys_mknod, TP_PROTO(const char * filename, int mode, unsigned dev), TP_ARGS(filename, mode, dev), @@ -800,7 +801,7 @@ SC_TRACE_EVENT(sys_mknod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lchown16 +#ifndef OVERRIDE_32_sys_lchown16 SC_TRACE_EVENT(sys_lchown16, TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(filename, user, group), @@ -809,7 +810,7 @@ SC_TRACE_EVENT(sys_lchown16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readlink +#ifndef OVERRIDE_32_sys_readlink SC_TRACE_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), @@ -818,7 +819,7 @@ SC_TRACE_EVENT(sys_readlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_old_readdir +#ifndef OVERRIDE_32_sys_old_readdir SC_TRACE_EVENT(sys_old_readdir, TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), @@ -827,7 +828,7 @@ SC_TRACE_EVENT(sys_old_readdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_syslog +#ifndef OVERRIDE_32_sys_syslog SC_TRACE_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), @@ -836,7 +837,7 @@ SC_TRACE_EVENT(sys_syslog, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setitimer +#ifndef OVERRIDE_32_sys_setitimer SC_TRACE_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), @@ -845,7 +846,7 @@ SC_TRACE_EVENT(sys_setitimer, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sigprocmask +#ifndef OVERRIDE_32_sys_sigprocmask SC_TRACE_EVENT(sys_sigprocmask, TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(how, nset, oset), @@ -854,7 +855,7 @@ SC_TRACE_EVENT(sys_sigprocmask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_init_module +#ifndef OVERRIDE_32_sys_init_module SC_TRACE_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), @@ -863,7 +864,7 @@ SC_TRACE_EVENT(sys_init_module, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getdents +#ifndef OVERRIDE_32_sys_getdents SC_TRACE_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), @@ -872,7 +873,7 @@ SC_TRACE_EVENT(sys_getdents, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readv +#ifndef OVERRIDE_32_sys_readv SC_TRACE_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), @@ -881,7 +882,7 @@ SC_TRACE_EVENT(sys_readv, TP_printk() ) #endif -#ifndef OVERRIDE_sys_writev +#ifndef OVERRIDE_32_sys_writev SC_TRACE_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), @@ -890,7 +891,7 @@ SC_TRACE_EVENT(sys_writev, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setscheduler +#ifndef OVERRIDE_32_sys_sched_setscheduler SC_TRACE_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), @@ -899,7 +900,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresuid16 +#ifndef OVERRIDE_32_sys_getresuid16 SC_TRACE_EVENT(sys_getresuid16, TP_PROTO(old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), TP_ARGS(ruid, euid, suid), @@ -908,7 +909,7 @@ SC_TRACE_EVENT(sys_getresuid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_poll +#ifndef OVERRIDE_32_sys_poll SC_TRACE_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, long timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), @@ -917,7 +918,7 @@ SC_TRACE_EVENT(sys_poll, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresgid16 +#ifndef OVERRIDE_32_sys_getresgid16 SC_TRACE_EVENT(sys_getresgid16, TP_PROTO(old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), TP_ARGS(rgid, egid, sgid), @@ -926,7 +927,7 @@ SC_TRACE_EVENT(sys_getresgid16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_32_sys_rt_sigqueueinfo SC_TRACE_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), @@ -935,7 +936,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chown16 +#ifndef OVERRIDE_32_sys_chown16 SC_TRACE_EVENT(sys_chown16, TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(filename, user, group), @@ -944,7 +945,7 @@ SC_TRACE_EVENT(sys_chown16, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lchown +#ifndef OVERRIDE_32_sys_lchown SC_TRACE_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), @@ -953,7 +954,7 @@ SC_TRACE_EVENT(sys_lchown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresuid +#ifndef OVERRIDE_32_sys_getresuid SC_TRACE_EVENT(sys_getresuid, TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), TP_ARGS(ruid, euid, suid), @@ -962,7 +963,7 @@ SC_TRACE_EVENT(sys_getresuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresgid +#ifndef OVERRIDE_32_sys_getresgid SC_TRACE_EVENT(sys_getresgid, TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), TP_ARGS(rgid, egid, sgid), @@ -971,7 +972,7 @@ SC_TRACE_EVENT(sys_getresgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chown +#ifndef OVERRIDE_32_sys_chown SC_TRACE_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), @@ -980,7 +981,7 @@ SC_TRACE_EVENT(sys_chown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mincore +#ifndef OVERRIDE_32_sys_mincore SC_TRACE_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), @@ -989,7 +990,7 @@ SC_TRACE_EVENT(sys_mincore, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getdents64 +#ifndef OVERRIDE_32_sys_getdents64 SC_TRACE_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), @@ -998,7 +999,7 @@ SC_TRACE_EVENT(sys_getdents64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_listxattr +#ifndef OVERRIDE_32_sys_listxattr SC_TRACE_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), @@ -1007,7 +1008,7 @@ SC_TRACE_EVENT(sys_listxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_llistxattr +#ifndef OVERRIDE_32_sys_llistxattr SC_TRACE_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), @@ -1016,7 +1017,7 @@ SC_TRACE_EVENT(sys_llistxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_flistxattr +#ifndef OVERRIDE_32_sys_flistxattr SC_TRACE_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), @@ -1025,7 +1026,7 @@ SC_TRACE_EVENT(sys_flistxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setaffinity +#ifndef OVERRIDE_32_sys_sched_setaffinity SC_TRACE_EVENT(sys_sched_setaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), @@ -1034,7 +1035,7 @@ SC_TRACE_EVENT(sys_sched_setaffinity, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getaffinity +#ifndef OVERRIDE_32_sys_sched_getaffinity SC_TRACE_EVENT(sys_sched_getaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), @@ -1043,7 +1044,7 @@ SC_TRACE_EVENT(sys_sched_getaffinity, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_submit +#ifndef OVERRIDE_32_sys_io_submit SC_TRACE_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), @@ -1052,7 +1053,7 @@ SC_TRACE_EVENT(sys_io_submit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_cancel +#ifndef OVERRIDE_32_sys_io_cancel SC_TRACE_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), @@ -1061,7 +1062,7 @@ SC_TRACE_EVENT(sys_io_cancel, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_create +#ifndef OVERRIDE_32_sys_timer_create SC_TRACE_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), @@ -1070,7 +1071,7 @@ SC_TRACE_EVENT(sys_timer_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_statfs64 +#ifndef OVERRIDE_32_sys_statfs64 SC_TRACE_EVENT(sys_statfs64, TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), TP_ARGS(pathname, sz, buf), @@ -1079,7 +1080,7 @@ SC_TRACE_EVENT(sys_statfs64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstatfs64 +#ifndef OVERRIDE_32_sys_fstatfs64 SC_TRACE_EVENT(sys_fstatfs64, TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), TP_ARGS(fd, sz, buf), @@ -1088,7 +1089,7 @@ SC_TRACE_EVENT(sys_fstatfs64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_getsetattr +#ifndef OVERRIDE_32_sys_mq_getsetattr SC_TRACE_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), @@ -1097,7 +1098,7 @@ SC_TRACE_EVENT(sys_mq_getsetattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_add_watch +#ifndef OVERRIDE_32_sys_inotify_add_watch SC_TRACE_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), @@ -1106,7 +1107,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mkdirat +#ifndef OVERRIDE_32_sys_mkdirat SC_TRACE_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, int mode), TP_ARGS(dfd, pathname, mode), @@ -1115,7 +1116,7 @@ SC_TRACE_EVENT(sys_mkdirat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_futimesat +#ifndef OVERRIDE_32_sys_futimesat SC_TRACE_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), @@ -1124,7 +1125,7 @@ SC_TRACE_EVENT(sys_futimesat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_unlinkat +#ifndef OVERRIDE_32_sys_unlinkat SC_TRACE_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), @@ -1133,7 +1134,7 @@ SC_TRACE_EVENT(sys_unlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_symlinkat +#ifndef OVERRIDE_32_sys_symlinkat SC_TRACE_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), @@ -1142,7 +1143,7 @@ SC_TRACE_EVENT(sys_symlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchmodat +#ifndef OVERRIDE_32_sys_fchmodat SC_TRACE_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, mode_t mode), TP_ARGS(dfd, filename, mode), @@ -1151,7 +1152,7 @@ SC_TRACE_EVENT(sys_fchmodat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_faccessat +#ifndef OVERRIDE_32_sys_faccessat SC_TRACE_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), @@ -1160,7 +1161,7 @@ SC_TRACE_EVENT(sys_faccessat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_get_robust_list +#ifndef OVERRIDE_32_sys_get_robust_list SC_TRACE_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), @@ -1169,7 +1170,7 @@ SC_TRACE_EVENT(sys_get_robust_list, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getcpu +#ifndef OVERRIDE_32_sys_getcpu SC_TRACE_EVENT(sys_getcpu, TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(cpup, nodep, unused), @@ -1178,7 +1179,7 @@ SC_TRACE_EVENT(sys_getcpu, TP_printk() ) #endif -#ifndef OVERRIDE_sys_signalfd +#ifndef OVERRIDE_32_sys_signalfd SC_TRACE_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), @@ -1187,7 +1188,7 @@ SC_TRACE_EVENT(sys_signalfd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_reboot +#ifndef OVERRIDE_32_sys_reboot SC_TRACE_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), @@ -1196,7 +1197,7 @@ SC_TRACE_EVENT(sys_reboot, TP_printk() ) #endif -#ifndef OVERRIDE_sys_wait4 +#ifndef OVERRIDE_32_sys_wait4 SC_TRACE_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), @@ -1205,7 +1206,7 @@ SC_TRACE_EVENT(sys_wait4, TP_printk() ) #endif -#ifndef OVERRIDE_sys_quotactl +#ifndef OVERRIDE_32_sys_quotactl SC_TRACE_EVENT(sys_quotactl, TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(cmd, special, id, addr), @@ -1214,7 +1215,7 @@ SC_TRACE_EVENT(sys_quotactl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigaction +#ifndef OVERRIDE_32_sys_rt_sigaction SC_TRACE_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), @@ -1223,7 +1224,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigprocmask +#ifndef OVERRIDE_32_sys_rt_sigprocmask SC_TRACE_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), @@ -1232,7 +1233,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigtimedwait +#ifndef OVERRIDE_32_sys_rt_sigtimedwait SC_TRACE_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), @@ -1241,7 +1242,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendfile +#ifndef OVERRIDE_32_sys_sendfile SC_TRACE_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), @@ -1250,7 +1251,7 @@ SC_TRACE_EVENT(sys_sendfile, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getxattr +#ifndef OVERRIDE_32_sys_getxattr SC_TRACE_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), @@ -1259,7 +1260,7 @@ SC_TRACE_EVENT(sys_getxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lgetxattr +#ifndef OVERRIDE_32_sys_lgetxattr SC_TRACE_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), @@ -1268,7 +1269,7 @@ SC_TRACE_EVENT(sys_lgetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fgetxattr +#ifndef OVERRIDE_32_sys_fgetxattr SC_TRACE_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), @@ -1277,7 +1278,7 @@ SC_TRACE_EVENT(sys_fgetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendfile64 +#ifndef OVERRIDE_32_sys_sendfile64 SC_TRACE_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), @@ -1286,7 +1287,7 @@ SC_TRACE_EVENT(sys_sendfile64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_ctl +#ifndef OVERRIDE_32_sys_epoll_ctl SC_TRACE_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), @@ -1295,7 +1296,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_wait +#ifndef OVERRIDE_32_sys_epoll_wait SC_TRACE_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), @@ -1304,7 +1305,7 @@ SC_TRACE_EVENT(sys_epoll_wait, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_settime +#ifndef OVERRIDE_32_sys_timer_settime SC_TRACE_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), @@ -1313,7 +1314,7 @@ SC_TRACE_EVENT(sys_timer_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_nanosleep +#ifndef OVERRIDE_32_sys_clock_nanosleep SC_TRACE_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), @@ -1322,7 +1323,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_open +#ifndef OVERRIDE_32_sys_mq_open SC_TRACE_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), @@ -1331,7 +1332,7 @@ SC_TRACE_EVENT(sys_mq_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_kexec_load +#ifndef OVERRIDE_32_sys_kexec_load SC_TRACE_EVENT(sys_kexec_load, TP_PROTO(unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), TP_ARGS(entry, nr_segments, segments, flags), @@ -1340,7 +1341,7 @@ SC_TRACE_EVENT(sys_kexec_load, TP_printk() ) #endif -#ifndef OVERRIDE_sys_request_key +#ifndef OVERRIDE_32_sys_request_key SC_TRACE_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), @@ -1349,7 +1350,7 @@ SC_TRACE_EVENT(sys_request_key, TP_printk() ) #endif -#ifndef OVERRIDE_sys_openat +#ifndef OVERRIDE_32_sys_openat SC_TRACE_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, int mode), TP_ARGS(dfd, filename, flags, mode), @@ -1358,7 +1359,7 @@ SC_TRACE_EVENT(sys_openat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mknodat +#ifndef OVERRIDE_32_sys_mknodat SC_TRACE_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, int mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), @@ -1367,7 +1368,7 @@ SC_TRACE_EVENT(sys_mknodat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstatat64 +#ifndef OVERRIDE_32_sys_fstatat64 SC_TRACE_EVENT(sys_fstatat64, TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), @@ -1376,7 +1377,7 @@ SC_TRACE_EVENT(sys_fstatat64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_renameat +#ifndef OVERRIDE_32_sys_renameat SC_TRACE_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), @@ -1385,7 +1386,7 @@ SC_TRACE_EVENT(sys_renameat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readlinkat +#ifndef OVERRIDE_32_sys_readlinkat SC_TRACE_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), @@ -1394,7 +1395,7 @@ SC_TRACE_EVENT(sys_readlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_vmsplice +#ifndef OVERRIDE_32_sys_vmsplice SC_TRACE_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), @@ -1403,7 +1404,7 @@ SC_TRACE_EVENT(sys_vmsplice, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utimensat +#ifndef OVERRIDE_32_sys_utimensat SC_TRACE_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), @@ -1412,7 +1413,7 @@ SC_TRACE_EVENT(sys_utimensat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_settime +#ifndef OVERRIDE_32_sys_timerfd_settime SC_TRACE_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), @@ -1421,7 +1422,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_signalfd4 +#ifndef OVERRIDE_32_sys_signalfd4 SC_TRACE_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), @@ -1430,7 +1431,7 @@ SC_TRACE_EVENT(sys_signalfd4, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), @@ -1439,7 +1440,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_prlimit64 +#ifndef OVERRIDE_32_sys_prlimit64 SC_TRACE_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), @@ -1448,7 +1449,7 @@ SC_TRACE_EVENT(sys_prlimit64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendmmsg +#ifndef OVERRIDE_32_sys_sendmmsg SC_TRACE_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), @@ -1457,7 +1458,7 @@ SC_TRACE_EVENT(sys_sendmmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mount +#ifndef OVERRIDE_32_sys_mount SC_TRACE_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), @@ -1466,7 +1467,7 @@ SC_TRACE_EVENT(sys_mount, TP_printk() ) #endif -#ifndef OVERRIDE_sys_llseek +#ifndef OVERRIDE_32_sys_llseek SC_TRACE_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), @@ -1475,7 +1476,7 @@ SC_TRACE_EVENT(sys_llseek, TP_printk() ) #endif -#ifndef OVERRIDE_sys_select +#ifndef OVERRIDE_32_sys_select SC_TRACE_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), @@ -1484,7 +1485,7 @@ SC_TRACE_EVENT(sys_select, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setxattr +#ifndef OVERRIDE_32_sys_setxattr SC_TRACE_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), @@ -1493,7 +1494,7 @@ SC_TRACE_EVENT(sys_setxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lsetxattr +#ifndef OVERRIDE_32_sys_lsetxattr SC_TRACE_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), @@ -1502,7 +1503,7 @@ SC_TRACE_EVENT(sys_lsetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fsetxattr +#ifndef OVERRIDE_32_sys_fsetxattr SC_TRACE_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), @@ -1511,7 +1512,7 @@ SC_TRACE_EVENT(sys_fsetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_getevents +#ifndef OVERRIDE_32_sys_io_getevents SC_TRACE_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), @@ -1520,7 +1521,7 @@ SC_TRACE_EVENT(sys_io_getevents, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_timedsend +#ifndef OVERRIDE_32_sys_mq_timedsend SC_TRACE_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), @@ -1529,7 +1530,7 @@ SC_TRACE_EVENT(sys_mq_timedsend, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_timedreceive +#ifndef OVERRIDE_32_sys_mq_timedreceive SC_TRACE_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), @@ -1538,7 +1539,7 @@ SC_TRACE_EVENT(sys_mq_timedreceive, TP_printk() ) #endif -#ifndef OVERRIDE_sys_waitid +#ifndef OVERRIDE_32_sys_waitid SC_TRACE_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), @@ -1547,7 +1548,7 @@ SC_TRACE_EVENT(sys_waitid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_add_key +#ifndef OVERRIDE_32_sys_add_key SC_TRACE_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), @@ -1556,7 +1557,7 @@ SC_TRACE_EVENT(sys_add_key, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchownat +#ifndef OVERRIDE_32_sys_fchownat SC_TRACE_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), @@ -1565,7 +1566,7 @@ SC_TRACE_EVENT(sys_fchownat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_linkat +#ifndef OVERRIDE_32_sys_linkat SC_TRACE_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), @@ -1574,7 +1575,7 @@ SC_TRACE_EVENT(sys_linkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ppoll +#ifndef OVERRIDE_32_sys_ppoll SC_TRACE_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), @@ -1583,7 +1584,7 @@ SC_TRACE_EVENT(sys_ppoll, TP_printk() ) #endif -#ifndef OVERRIDE_sys_preadv +#ifndef OVERRIDE_32_sys_preadv SC_TRACE_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), @@ -1592,7 +1593,7 @@ SC_TRACE_EVENT(sys_preadv, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pwritev +#ifndef OVERRIDE_32_sys_pwritev SC_TRACE_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), @@ -1601,7 +1602,7 @@ SC_TRACE_EVENT(sys_pwritev, TP_printk() ) #endif -#ifndef OVERRIDE_sys_perf_event_open +#ifndef OVERRIDE_32_sys_perf_event_open SC_TRACE_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), @@ -1610,7 +1611,7 @@ SC_TRACE_EVENT(sys_perf_event_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_recvmmsg +#ifndef OVERRIDE_32_sys_recvmmsg SC_TRACE_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), @@ -1619,7 +1620,7 @@ SC_TRACE_EVENT(sys_recvmmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ipc +#ifndef OVERRIDE_32_sys_ipc SC_TRACE_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), @@ -1628,7 +1629,7 @@ SC_TRACE_EVENT(sys_ipc, TP_printk() ) #endif -#ifndef OVERRIDE_sys_futex +#ifndef OVERRIDE_32_sys_futex SC_TRACE_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), @@ -1637,7 +1638,7 @@ SC_TRACE_EVENT(sys_futex, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pselect6 +#ifndef OVERRIDE_32_sys_pselect6 SC_TRACE_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), @@ -1646,7 +1647,7 @@ SC_TRACE_EVENT(sys_pselect6, TP_printk() ) #endif -#ifndef OVERRIDE_sys_splice +#ifndef OVERRIDE_32_sys_splice SC_TRACE_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), @@ -1655,7 +1656,7 @@ SC_TRACE_EVENT(sys_splice, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_pwait +#ifndef OVERRIDE_32_sys_epoll_pwait SC_TRACE_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), @@ -1673,557 +1674,558 @@ SC_TRACE_EVENT(sys_epoll_pwait, #else /* CREATE_SYSCALL_TABLE */ #include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" +#include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_sys_read +#ifndef OVERRIDE_TABLE_32_sys_read TRACE_SYSCALL_TABLE(sys_read, sys_read, 3, 3) #endif -#ifndef OVERRIDE_TABLE_sys_write +#ifndef OVERRIDE_TABLE_32_sys_write TRACE_SYSCALL_TABLE(sys_write, sys_write, 4, 3) #endif -#ifndef OVERRIDE_TABLE_sys_open +#ifndef OVERRIDE_TABLE_32_sys_open TRACE_SYSCALL_TABLE(sys_open, sys_open, 5, 3) #endif -#ifndef OVERRIDE_TABLE_sys_waitpid +#ifndef OVERRIDE_TABLE_32_sys_waitpid TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 7, 3) #endif -#ifndef OVERRIDE_TABLE_sys_creat +#ifndef OVERRIDE_TABLE_32_sys_creat TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 8, 2) #endif -#ifndef OVERRIDE_TABLE_sys_link +#ifndef OVERRIDE_TABLE_32_sys_link TRACE_SYSCALL_TABLE(sys_link, sys_link, 9, 2) #endif -#ifndef OVERRIDE_TABLE_sys_unlink +#ifndef OVERRIDE_TABLE_32_sys_unlink TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 10, 1) #endif -#ifndef OVERRIDE_TABLE_sys_chdir +#ifndef OVERRIDE_TABLE_32_sys_chdir TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 12, 1) #endif -#ifndef OVERRIDE_TABLE_sys_time +#ifndef OVERRIDE_TABLE_32_sys_time TRACE_SYSCALL_TABLE(sys_time, sys_time, 13, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mknod +#ifndef OVERRIDE_TABLE_32_sys_mknod TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 14, 3) #endif -#ifndef OVERRIDE_TABLE_sys_chmod +#ifndef OVERRIDE_TABLE_32_sys_chmod TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 15, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lchown16 +#ifndef OVERRIDE_TABLE_32_sys_lchown16 TRACE_SYSCALL_TABLE(sys_lchown16, sys_lchown16, 16, 3) #endif -#ifndef OVERRIDE_TABLE_sys_stat +#ifndef OVERRIDE_TABLE_32_sys_stat TRACE_SYSCALL_TABLE(sys_stat, sys_stat, 18, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mount +#ifndef OVERRIDE_TABLE_32_sys_mount TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 21, 5) #endif -#ifndef OVERRIDE_TABLE_sys_oldumount +#ifndef OVERRIDE_TABLE_32_sys_oldumount TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 22, 1) #endif -#ifndef OVERRIDE_TABLE_sys_stime +#ifndef OVERRIDE_TABLE_32_sys_stime TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 25, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fstat +#ifndef OVERRIDE_TABLE_32_sys_fstat TRACE_SYSCALL_TABLE(sys_fstat, sys_fstat, 28, 2) #endif -#ifndef OVERRIDE_TABLE_sys_utime +#ifndef OVERRIDE_TABLE_32_sys_utime TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 30, 2) #endif -#ifndef OVERRIDE_TABLE_sys_access +#ifndef OVERRIDE_TABLE_32_sys_access TRACE_SYSCALL_TABLE(sys_access, sys_access, 33, 2) #endif -#ifndef OVERRIDE_TABLE_sys_rename +#ifndef OVERRIDE_TABLE_32_sys_rename TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 38, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mkdir +#ifndef OVERRIDE_TABLE_32_sys_mkdir TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 39, 2) #endif -#ifndef OVERRIDE_TABLE_sys_rmdir +#ifndef OVERRIDE_TABLE_32_sys_rmdir TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 40, 1) #endif -#ifndef OVERRIDE_TABLE_sys_pipe +#ifndef OVERRIDE_TABLE_32_sys_pipe TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 42, 1) #endif -#ifndef OVERRIDE_TABLE_sys_times +#ifndef OVERRIDE_TABLE_32_sys_times TRACE_SYSCALL_TABLE(sys_times, sys_times, 43, 1) #endif -#ifndef OVERRIDE_TABLE_sys_acct +#ifndef OVERRIDE_TABLE_32_sys_acct TRACE_SYSCALL_TABLE(sys_acct, sys_acct, 51, 1) #endif -#ifndef OVERRIDE_TABLE_sys_umount +#ifndef OVERRIDE_TABLE_32_sys_umount TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 52, 2) #endif -#ifndef OVERRIDE_TABLE_sys_olduname +#ifndef OVERRIDE_TABLE_32_sys_olduname TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 59, 1) #endif -#ifndef OVERRIDE_TABLE_sys_chroot +#ifndef OVERRIDE_TABLE_32_sys_chroot TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 61, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ustat +#ifndef OVERRIDE_TABLE_32_sys_ustat TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 62, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sigpending +#ifndef OVERRIDE_TABLE_32_sys_sigpending TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 73, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sethostname +#ifndef OVERRIDE_TABLE_32_sys_sethostname TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 74, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setrlimit +#ifndef OVERRIDE_TABLE_32_sys_setrlimit TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 75, 2) #endif -#ifndef OVERRIDE_TABLE_sys_old_getrlimit +#ifndef OVERRIDE_TABLE_32_sys_old_getrlimit TRACE_SYSCALL_TABLE(sys_old_getrlimit, sys_old_getrlimit, 76, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getrusage +#ifndef OVERRIDE_TABLE_32_sys_getrusage TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 77, 2) #endif -#ifndef OVERRIDE_TABLE_sys_gettimeofday +#ifndef OVERRIDE_TABLE_32_sys_gettimeofday TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 78, 2) #endif -#ifndef OVERRIDE_TABLE_sys_settimeofday +#ifndef OVERRIDE_TABLE_32_sys_settimeofday TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 79, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getgroups16 +#ifndef OVERRIDE_TABLE_32_sys_getgroups16 TRACE_SYSCALL_TABLE(sys_getgroups16, sys_getgroups16, 80, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setgroups16 +#ifndef OVERRIDE_TABLE_32_sys_setgroups16 TRACE_SYSCALL_TABLE(sys_setgroups16, sys_setgroups16, 81, 2) #endif -#ifndef OVERRIDE_TABLE_sys_old_select +#ifndef OVERRIDE_TABLE_32_sys_old_select TRACE_SYSCALL_TABLE(sys_old_select, sys_old_select, 82, 1) #endif -#ifndef OVERRIDE_TABLE_sys_symlink +#ifndef OVERRIDE_TABLE_32_sys_symlink TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 83, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lstat +#ifndef OVERRIDE_TABLE_32_sys_lstat TRACE_SYSCALL_TABLE(sys_lstat, sys_lstat, 84, 2) #endif -#ifndef OVERRIDE_TABLE_sys_readlink +#ifndef OVERRIDE_TABLE_32_sys_readlink TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 85, 3) #endif -#ifndef OVERRIDE_TABLE_sys_uselib +#ifndef OVERRIDE_TABLE_32_sys_uselib TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 86, 1) #endif -#ifndef OVERRIDE_TABLE_sys_swapon +#ifndef OVERRIDE_TABLE_32_sys_swapon TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 87, 2) #endif -#ifndef OVERRIDE_TABLE_sys_reboot +#ifndef OVERRIDE_TABLE_32_sys_reboot TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 88, 4) #endif -#ifndef OVERRIDE_TABLE_sys_old_readdir +#ifndef OVERRIDE_TABLE_32_sys_old_readdir TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 89, 3) #endif -#ifndef OVERRIDE_TABLE_sys_old_mmap +#ifndef OVERRIDE_TABLE_32_sys_old_mmap TRACE_SYSCALL_TABLE(sys_old_mmap, sys_old_mmap, 90, 1) #endif -#ifndef OVERRIDE_TABLE_sys_truncate +#ifndef OVERRIDE_TABLE_32_sys_truncate TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 92, 2) #endif -#ifndef OVERRIDE_TABLE_sys_statfs +#ifndef OVERRIDE_TABLE_32_sys_statfs TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 99, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fstatfs +#ifndef OVERRIDE_TABLE_32_sys_fstatfs TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 100, 2) #endif -#ifndef OVERRIDE_TABLE_sys_socketcall +#ifndef OVERRIDE_TABLE_32_sys_socketcall TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 102, 2) #endif -#ifndef OVERRIDE_TABLE_sys_syslog +#ifndef OVERRIDE_TABLE_32_sys_syslog TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setitimer +#ifndef OVERRIDE_TABLE_32_sys_setitimer TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 104, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getitimer +#ifndef OVERRIDE_TABLE_32_sys_getitimer TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 105, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newstat +#ifndef OVERRIDE_TABLE_32_sys_newstat TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 106, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newlstat +#ifndef OVERRIDE_TABLE_32_sys_newlstat TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 107, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newfstat +#ifndef OVERRIDE_TABLE_32_sys_newfstat TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 108, 2) #endif -#ifndef OVERRIDE_TABLE_sys_uname +#ifndef OVERRIDE_TABLE_32_sys_uname TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 109, 1) #endif -#ifndef OVERRIDE_TABLE_sys_wait4 +#ifndef OVERRIDE_TABLE_32_sys_wait4 TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 114, 4) #endif -#ifndef OVERRIDE_TABLE_sys_swapoff +#ifndef OVERRIDE_TABLE_32_sys_swapoff TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 115, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sysinfo +#ifndef OVERRIDE_TABLE_32_sys_sysinfo TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 116, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ipc +#ifndef OVERRIDE_TABLE_32_sys_ipc TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 117, 6) #endif -#ifndef OVERRIDE_TABLE_sys_setdomainname +#ifndef OVERRIDE_TABLE_32_sys_setdomainname TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 121, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newuname +#ifndef OVERRIDE_TABLE_32_sys_newuname TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 122, 1) #endif -#ifndef OVERRIDE_TABLE_sys_adjtimex +#ifndef OVERRIDE_TABLE_32_sys_adjtimex TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 124, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sigprocmask +#ifndef OVERRIDE_TABLE_32_sys_sigprocmask TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 126, 3) #endif -#ifndef OVERRIDE_TABLE_sys_init_module +#ifndef OVERRIDE_TABLE_32_sys_init_module TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 128, 3) #endif -#ifndef OVERRIDE_TABLE_sys_delete_module +#ifndef OVERRIDE_TABLE_32_sys_delete_module TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 129, 2) #endif -#ifndef OVERRIDE_TABLE_sys_quotactl +#ifndef OVERRIDE_TABLE_32_sys_quotactl TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 131, 4) #endif -#ifndef OVERRIDE_TABLE_sys_llseek +#ifndef OVERRIDE_TABLE_32_sys_llseek TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 140, 5) #endif -#ifndef OVERRIDE_TABLE_sys_getdents +#ifndef OVERRIDE_TABLE_32_sys_getdents TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 141, 3) #endif -#ifndef OVERRIDE_TABLE_sys_select +#ifndef OVERRIDE_TABLE_32_sys_select TRACE_SYSCALL_TABLE(sys_select, sys_select, 142, 5) #endif -#ifndef OVERRIDE_TABLE_sys_readv +#ifndef OVERRIDE_TABLE_32_sys_readv TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 145, 3) #endif -#ifndef OVERRIDE_TABLE_sys_writev +#ifndef OVERRIDE_TABLE_32_sys_writev TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 146, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sysctl +#ifndef OVERRIDE_TABLE_32_sys_sysctl TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 149, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setparam +#ifndef OVERRIDE_TABLE_32_sys_sched_setparam TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 154, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getparam +#ifndef OVERRIDE_TABLE_32_sys_sched_getparam TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 155, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setscheduler +#ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 156, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sched_rr_get_interval +#ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 161, 2) #endif -#ifndef OVERRIDE_TABLE_sys_nanosleep +#ifndef OVERRIDE_TABLE_32_sys_nanosleep TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 162, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getresuid16 +#ifndef OVERRIDE_TABLE_32_sys_getresuid16 TRACE_SYSCALL_TABLE(sys_getresuid16, sys_getresuid16, 165, 3) #endif -#ifndef OVERRIDE_TABLE_sys_poll +#ifndef OVERRIDE_TABLE_32_sys_poll TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 168, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getresgid16 +#ifndef OVERRIDE_TABLE_32_sys_getresgid16 TRACE_SYSCALL_TABLE(sys_getresgid16, sys_getresgid16, 171, 3) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigaction +#ifndef OVERRIDE_TABLE_32_sys_rt_sigaction TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 174, 4) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigprocmask +#ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 175, 4) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigpending +#ifndef OVERRIDE_TABLE_32_sys_rt_sigpending TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 176, 2) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigtimedwait +#ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 177, 4) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 178, 3) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigsuspend +#ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 179, 2) #endif -#ifndef OVERRIDE_TABLE_sys_chown16 +#ifndef OVERRIDE_TABLE_32_sys_chown16 TRACE_SYSCALL_TABLE(sys_chown16, sys_chown16, 182, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getcwd +#ifndef OVERRIDE_TABLE_32_sys_getcwd TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 183, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sendfile +#ifndef OVERRIDE_TABLE_32_sys_sendfile TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 187, 4) #endif -#ifndef OVERRIDE_TABLE_sys_getrlimit +#ifndef OVERRIDE_TABLE_32_sys_getrlimit TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 191, 2) #endif -#ifndef OVERRIDE_TABLE_sys_stat64 +#ifndef OVERRIDE_TABLE_32_sys_stat64 TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 195, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lstat64 +#ifndef OVERRIDE_TABLE_32_sys_lstat64 TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 196, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fstat64 +#ifndef OVERRIDE_TABLE_32_sys_fstat64 TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 197, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lchown +#ifndef OVERRIDE_TABLE_32_sys_lchown TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 198, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getgroups +#ifndef OVERRIDE_TABLE_32_sys_getgroups TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 205, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setgroups +#ifndef OVERRIDE_TABLE_32_sys_setgroups TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 206, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getresuid +#ifndef OVERRIDE_TABLE_32_sys_getresuid TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 209, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getresgid +#ifndef OVERRIDE_TABLE_32_sys_getresgid TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 211, 3) #endif -#ifndef OVERRIDE_TABLE_sys_chown +#ifndef OVERRIDE_TABLE_32_sys_chown TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 212, 3) #endif -#ifndef OVERRIDE_TABLE_sys_pivot_root +#ifndef OVERRIDE_TABLE_32_sys_pivot_root TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 217, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mincore +#ifndef OVERRIDE_TABLE_32_sys_mincore TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 218, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getdents64 +#ifndef OVERRIDE_TABLE_32_sys_getdents64 TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 220, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setxattr +#ifndef OVERRIDE_TABLE_32_sys_setxattr TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 226, 5) #endif -#ifndef OVERRIDE_TABLE_sys_lsetxattr +#ifndef OVERRIDE_TABLE_32_sys_lsetxattr TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 227, 5) #endif -#ifndef OVERRIDE_TABLE_sys_fsetxattr +#ifndef OVERRIDE_TABLE_32_sys_fsetxattr TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 228, 5) #endif -#ifndef OVERRIDE_TABLE_sys_getxattr +#ifndef OVERRIDE_TABLE_32_sys_getxattr TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 229, 4) #endif -#ifndef OVERRIDE_TABLE_sys_lgetxattr +#ifndef OVERRIDE_TABLE_32_sys_lgetxattr TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 230, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fgetxattr +#ifndef OVERRIDE_TABLE_32_sys_fgetxattr TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 231, 4) #endif -#ifndef OVERRIDE_TABLE_sys_listxattr +#ifndef OVERRIDE_TABLE_32_sys_listxattr TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 232, 3) #endif -#ifndef OVERRIDE_TABLE_sys_llistxattr +#ifndef OVERRIDE_TABLE_32_sys_llistxattr TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 233, 3) #endif -#ifndef OVERRIDE_TABLE_sys_flistxattr +#ifndef OVERRIDE_TABLE_32_sys_flistxattr TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 234, 3) #endif -#ifndef OVERRIDE_TABLE_sys_removexattr +#ifndef OVERRIDE_TABLE_32_sys_removexattr TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 235, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lremovexattr +#ifndef OVERRIDE_TABLE_32_sys_lremovexattr TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 236, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fremovexattr +#ifndef OVERRIDE_TABLE_32_sys_fremovexattr TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 237, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sendfile64 +#ifndef OVERRIDE_TABLE_32_sys_sendfile64 TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 239, 4) #endif -#ifndef OVERRIDE_TABLE_sys_futex +#ifndef OVERRIDE_TABLE_32_sys_futex TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 240, 6) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setaffinity +#ifndef OVERRIDE_TABLE_32_sys_sched_setaffinity TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 241, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getaffinity +#ifndef OVERRIDE_TABLE_32_sys_sched_getaffinity TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 242, 3) #endif -#ifndef OVERRIDE_TABLE_sys_io_setup +#ifndef OVERRIDE_TABLE_32_sys_io_setup TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 245, 2) #endif -#ifndef OVERRIDE_TABLE_sys_io_getevents +#ifndef OVERRIDE_TABLE_32_sys_io_getevents TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 247, 5) #endif -#ifndef OVERRIDE_TABLE_sys_io_submit +#ifndef OVERRIDE_TABLE_32_sys_io_submit TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 248, 3) #endif -#ifndef OVERRIDE_TABLE_sys_io_cancel +#ifndef OVERRIDE_TABLE_32_sys_io_cancel TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 249, 3) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_ctl +#ifndef OVERRIDE_TABLE_32_sys_epoll_ctl TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 255, 4) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_wait +#ifndef OVERRIDE_TABLE_32_sys_epoll_wait TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 256, 4) #endif -#ifndef OVERRIDE_TABLE_sys_set_tid_address +#ifndef OVERRIDE_TABLE_32_sys_set_tid_address TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 258, 1) #endif -#ifndef OVERRIDE_TABLE_sys_timer_create +#ifndef OVERRIDE_TABLE_32_sys_timer_create TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 259, 3) #endif -#ifndef OVERRIDE_TABLE_sys_timer_settime +#ifndef OVERRIDE_TABLE_32_sys_timer_settime TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 260, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timer_gettime +#ifndef OVERRIDE_TABLE_32_sys_timer_gettime TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 261, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_settime +#ifndef OVERRIDE_TABLE_32_sys_clock_settime TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 264, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_gettime +#ifndef OVERRIDE_TABLE_32_sys_clock_gettime TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 265, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_getres +#ifndef OVERRIDE_TABLE_32_sys_clock_getres TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 266, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_nanosleep +#ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 267, 4) #endif -#ifndef OVERRIDE_TABLE_sys_statfs64 +#ifndef OVERRIDE_TABLE_32_sys_statfs64 TRACE_SYSCALL_TABLE(sys_statfs64, sys_statfs64, 268, 3) #endif -#ifndef OVERRIDE_TABLE_sys_fstatfs64 +#ifndef OVERRIDE_TABLE_32_sys_fstatfs64 TRACE_SYSCALL_TABLE(sys_fstatfs64, sys_fstatfs64, 269, 3) #endif -#ifndef OVERRIDE_TABLE_sys_utimes +#ifndef OVERRIDE_TABLE_32_sys_utimes TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 271, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mq_open +#ifndef OVERRIDE_TABLE_32_sys_mq_open TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 277, 4) #endif -#ifndef OVERRIDE_TABLE_sys_mq_unlink +#ifndef OVERRIDE_TABLE_32_sys_mq_unlink TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 278, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mq_timedsend +#ifndef OVERRIDE_TABLE_32_sys_mq_timedsend TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 279, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mq_timedreceive +#ifndef OVERRIDE_TABLE_32_sys_mq_timedreceive TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 280, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mq_notify +#ifndef OVERRIDE_TABLE_32_sys_mq_notify TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 281, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mq_getsetattr +#ifndef OVERRIDE_TABLE_32_sys_mq_getsetattr TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 282, 3) #endif -#ifndef OVERRIDE_TABLE_sys_kexec_load +#ifndef OVERRIDE_TABLE_32_sys_kexec_load TRACE_SYSCALL_TABLE(sys_kexec_load, sys_kexec_load, 283, 4) #endif -#ifndef OVERRIDE_TABLE_sys_waitid +#ifndef OVERRIDE_TABLE_32_sys_waitid TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 284, 5) #endif -#ifndef OVERRIDE_TABLE_sys_add_key +#ifndef OVERRIDE_TABLE_32_sys_add_key TRACE_SYSCALL_TABLE(sys_add_key, sys_add_key, 286, 5) #endif -#ifndef OVERRIDE_TABLE_sys_request_key +#ifndef OVERRIDE_TABLE_32_sys_request_key TRACE_SYSCALL_TABLE(sys_request_key, sys_request_key, 287, 4) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_add_watch +#ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 292, 3) #endif -#ifndef OVERRIDE_TABLE_sys_openat +#ifndef OVERRIDE_TABLE_32_sys_openat TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 295, 4) #endif -#ifndef OVERRIDE_TABLE_sys_mkdirat +#ifndef OVERRIDE_TABLE_32_sys_mkdirat TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 296, 3) #endif -#ifndef OVERRIDE_TABLE_sys_mknodat +#ifndef OVERRIDE_TABLE_32_sys_mknodat TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 297, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fchownat +#ifndef OVERRIDE_TABLE_32_sys_fchownat TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 298, 5) #endif -#ifndef OVERRIDE_TABLE_sys_futimesat +#ifndef OVERRIDE_TABLE_32_sys_futimesat TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 299, 3) #endif -#ifndef OVERRIDE_TABLE_sys_fstatat64 +#ifndef OVERRIDE_TABLE_32_sys_fstatat64 TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 300, 4) #endif -#ifndef OVERRIDE_TABLE_sys_unlinkat +#ifndef OVERRIDE_TABLE_32_sys_unlinkat TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 301, 3) #endif -#ifndef OVERRIDE_TABLE_sys_renameat +#ifndef OVERRIDE_TABLE_32_sys_renameat TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 302, 4) #endif -#ifndef OVERRIDE_TABLE_sys_linkat +#ifndef OVERRIDE_TABLE_32_sys_linkat TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 303, 5) #endif -#ifndef OVERRIDE_TABLE_sys_symlinkat +#ifndef OVERRIDE_TABLE_32_sys_symlinkat TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 304, 3) #endif -#ifndef OVERRIDE_TABLE_sys_readlinkat +#ifndef OVERRIDE_TABLE_32_sys_readlinkat TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 305, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fchmodat +#ifndef OVERRIDE_TABLE_32_sys_fchmodat TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 306, 3) #endif -#ifndef OVERRIDE_TABLE_sys_faccessat +#ifndef OVERRIDE_TABLE_32_sys_faccessat TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 307, 3) #endif -#ifndef OVERRIDE_TABLE_sys_pselect6 +#ifndef OVERRIDE_TABLE_32_sys_pselect6 TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 308, 6) #endif -#ifndef OVERRIDE_TABLE_sys_ppoll +#ifndef OVERRIDE_TABLE_32_sys_ppoll TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 309, 5) #endif -#ifndef OVERRIDE_TABLE_sys_set_robust_list +#ifndef OVERRIDE_TABLE_32_sys_set_robust_list TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 311, 2) #endif -#ifndef OVERRIDE_TABLE_sys_get_robust_list +#ifndef OVERRIDE_TABLE_32_sys_get_robust_list TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 312, 3) #endif -#ifndef OVERRIDE_TABLE_sys_splice +#ifndef OVERRIDE_TABLE_32_sys_splice TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 313, 6) #endif -#ifndef OVERRIDE_TABLE_sys_vmsplice +#ifndef OVERRIDE_TABLE_32_sys_vmsplice TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 316, 4) #endif -#ifndef OVERRIDE_TABLE_sys_getcpu +#ifndef OVERRIDE_TABLE_32_sys_getcpu TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 318, 3) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_pwait +#ifndef OVERRIDE_TABLE_32_sys_epoll_pwait TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 319, 6) #endif -#ifndef OVERRIDE_TABLE_sys_utimensat +#ifndef OVERRIDE_TABLE_32_sys_utimensat TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 320, 4) #endif -#ifndef OVERRIDE_TABLE_sys_signalfd +#ifndef OVERRIDE_TABLE_32_sys_signalfd TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 321, 3) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_settime +#ifndef OVERRIDE_TABLE_32_sys_timerfd_settime TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 325, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_gettime +#ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 326, 2) #endif -#ifndef OVERRIDE_TABLE_sys_signalfd4 +#ifndef OVERRIDE_TABLE_32_sys_signalfd4 TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 327, 4) #endif -#ifndef OVERRIDE_TABLE_sys_pipe2 +#ifndef OVERRIDE_TABLE_32_sys_pipe2 TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 331, 2) #endif -#ifndef OVERRIDE_TABLE_sys_preadv +#ifndef OVERRIDE_TABLE_32_sys_preadv TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 333, 5) #endif -#ifndef OVERRIDE_TABLE_sys_pwritev +#ifndef OVERRIDE_TABLE_32_sys_pwritev TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 334, 5) #endif -#ifndef OVERRIDE_TABLE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 335, 4) #endif -#ifndef OVERRIDE_TABLE_sys_perf_event_open +#ifndef OVERRIDE_TABLE_32_sys_perf_event_open TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 336, 5) #endif -#ifndef OVERRIDE_TABLE_sys_recvmmsg +#ifndef OVERRIDE_TABLE_32_sys_recvmmsg TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 337, 5) #endif -#ifndef OVERRIDE_TABLE_sys_prlimit64 +#ifndef OVERRIDE_TABLE_32_sys_prlimit64 TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 340, 4) #endif -#ifndef OVERRIDE_TABLE_sys_clock_adjtime +#ifndef OVERRIDE_TABLE_32_sys_clock_adjtime TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 343, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sendmmsg +#ifndef OVERRIDE_TABLE_32_sys_sendmmsg TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 345, 4) #endif diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h index e0235bee..d35657c8 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h @@ -1,17 +1,17 @@ #ifndef CONFIG_UID16 -#define OVERRIDE_sys_getgroups16 -#define OVERRIDE_sys_setgroups16 -#define OVERRIDE_sys_lchown16 -#define OVERRIDE_sys_getresuid16 -#define OVERRIDE_sys_getresgid16 -#define OVERRIDE_sys_chown16 +#define OVERRIDE_32_sys_getgroups16 +#define OVERRIDE_32_sys_setgroups16 +#define OVERRIDE_32_sys_lchown16 +#define OVERRIDE_32_sys_getresuid16 +#define OVERRIDE_32_sys_getresgid16 +#define OVERRIDE_32_sys_chown16 -#define OVERRIDE_TABLE_sys_getgroups16 -#define OVERRIDE_TABLE_sys_setgroups16 -#define OVERRIDE_TABLE_sys_lchown16 -#define OVERRIDE_TABLE_sys_getresuid16 -#define OVERRIDE_TABLE_sys_getresgid16 -#define OVERRIDE_TABLE_sys_chown16 +#define OVERRIDE_TABLE_32_sys_getgroups16 +#define OVERRIDE_TABLE_32_sys_setgroups16 +#define OVERRIDE_TABLE_32_sys_lchown16 +#define OVERRIDE_TABLE_32_sys_getresuid16 +#define OVERRIDE_TABLE_32_sys_getresgid16 +#define OVERRIDE_TABLE_32_sys_chown16 #endif diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers.h index ce15b68e..6d0dbb90 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers.h @@ -7,61 +7,62 @@ #include #include #include "x86-64-syscalls-3.0.4_integers_override.h" +#include "syscalls_integers_override.h" SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) -#ifndef OVERRIDE_sys_sched_yield +#ifndef OVERRIDE_64_sys_sched_yield SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) #endif -#ifndef OVERRIDE_sys_pause +#ifndef OVERRIDE_64_sys_pause SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) #endif -#ifndef OVERRIDE_sys_getpid +#ifndef OVERRIDE_64_sys_getpid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) #endif -#ifndef OVERRIDE_sys_getuid +#ifndef OVERRIDE_64_sys_getuid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) #endif -#ifndef OVERRIDE_sys_getgid +#ifndef OVERRIDE_64_sys_getgid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) #endif -#ifndef OVERRIDE_sys_geteuid +#ifndef OVERRIDE_64_sys_geteuid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) #endif -#ifndef OVERRIDE_sys_getegid +#ifndef OVERRIDE_64_sys_getegid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) #endif -#ifndef OVERRIDE_sys_getppid +#ifndef OVERRIDE_64_sys_getppid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) #endif -#ifndef OVERRIDE_sys_getpgrp +#ifndef OVERRIDE_64_sys_getpgrp SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) #endif -#ifndef OVERRIDE_sys_setsid +#ifndef OVERRIDE_64_sys_setsid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) #endif -#ifndef OVERRIDE_sys_munlockall +#ifndef OVERRIDE_64_sys_munlockall SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) #endif -#ifndef OVERRIDE_sys_vhangup +#ifndef OVERRIDE_64_sys_vhangup SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) #endif -#ifndef OVERRIDE_sys_sync +#ifndef OVERRIDE_64_sys_sync SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) #endif -#ifndef OVERRIDE_sys_gettid +#ifndef OVERRIDE_64_sys_gettid SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) #endif -#ifndef OVERRIDE_sys_restart_syscall +#ifndef OVERRIDE_64_sys_restart_syscall SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) #endif -#ifndef OVERRIDE_sys_inotify_init +#ifndef OVERRIDE_64_sys_inotify_init SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) #endif -#ifndef OVERRIDE_sys_close +#ifndef OVERRIDE_64_sys_close SC_TRACE_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -70,7 +71,7 @@ SC_TRACE_EVENT(sys_close, TP_printk() ) #endif -#ifndef OVERRIDE_sys_brk +#ifndef OVERRIDE_64_sys_brk SC_TRACE_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), @@ -79,7 +80,7 @@ SC_TRACE_EVENT(sys_brk, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup +#ifndef OVERRIDE_64_sys_dup SC_TRACE_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), @@ -88,7 +89,7 @@ SC_TRACE_EVENT(sys_dup, TP_printk() ) #endif -#ifndef OVERRIDE_sys_alarm +#ifndef OVERRIDE_64_sys_alarm SC_TRACE_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), @@ -97,7 +98,7 @@ SC_TRACE_EVENT(sys_alarm, TP_printk() ) #endif -#ifndef OVERRIDE_sys_exit +#ifndef OVERRIDE_64_sys_exit SC_TRACE_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), @@ -106,7 +107,7 @@ SC_TRACE_EVENT(sys_exit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fsync +#ifndef OVERRIDE_64_sys_fsync SC_TRACE_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -115,7 +116,7 @@ SC_TRACE_EVENT(sys_fsync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fdatasync +#ifndef OVERRIDE_64_sys_fdatasync SC_TRACE_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -124,7 +125,7 @@ SC_TRACE_EVENT(sys_fdatasync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchdir +#ifndef OVERRIDE_64_sys_fchdir SC_TRACE_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), @@ -133,7 +134,7 @@ SC_TRACE_EVENT(sys_fchdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_umask +#ifndef OVERRIDE_64_sys_umask SC_TRACE_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), @@ -142,7 +143,7 @@ SC_TRACE_EVENT(sys_umask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setuid +#ifndef OVERRIDE_64_sys_setuid SC_TRACE_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), @@ -151,7 +152,7 @@ SC_TRACE_EVENT(sys_setuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgid +#ifndef OVERRIDE_64_sys_setgid SC_TRACE_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), @@ -160,7 +161,7 @@ SC_TRACE_EVENT(sys_setgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getpgid +#ifndef OVERRIDE_64_sys_getpgid SC_TRACE_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -169,7 +170,7 @@ SC_TRACE_EVENT(sys_getpgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsuid +#ifndef OVERRIDE_64_sys_setfsuid SC_TRACE_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), @@ -178,7 +179,7 @@ SC_TRACE_EVENT(sys_setfsuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setfsgid +#ifndef OVERRIDE_64_sys_setfsgid SC_TRACE_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), @@ -187,7 +188,7 @@ SC_TRACE_EVENT(sys_setfsgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getsid +#ifndef OVERRIDE_64_sys_getsid SC_TRACE_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -196,7 +197,7 @@ SC_TRACE_EVENT(sys_getsid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_personality +#ifndef OVERRIDE_64_sys_personality SC_TRACE_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), @@ -205,7 +206,7 @@ SC_TRACE_EVENT(sys_personality, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getscheduler +#ifndef OVERRIDE_64_sys_sched_getscheduler SC_TRACE_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), @@ -214,7 +215,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_get_priority_max +#ifndef OVERRIDE_64_sys_sched_get_priority_max SC_TRACE_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), @@ -223,7 +224,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_get_priority_min +#ifndef OVERRIDE_64_sys_sched_get_priority_min SC_TRACE_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), @@ -232,7 +233,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mlockall +#ifndef OVERRIDE_64_sys_mlockall SC_TRACE_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), @@ -241,7 +242,7 @@ SC_TRACE_EVENT(sys_mlockall, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_destroy +#ifndef OVERRIDE_64_sys_io_destroy SC_TRACE_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), @@ -250,7 +251,7 @@ SC_TRACE_EVENT(sys_io_destroy, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_create +#ifndef OVERRIDE_64_sys_epoll_create SC_TRACE_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), @@ -259,7 +260,7 @@ SC_TRACE_EVENT(sys_epoll_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_getoverrun +#ifndef OVERRIDE_64_sys_timer_getoverrun SC_TRACE_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), @@ -268,7 +269,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_delete +#ifndef OVERRIDE_64_sys_timer_delete SC_TRACE_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), @@ -277,7 +278,7 @@ SC_TRACE_EVENT(sys_timer_delete, TP_printk() ) #endif -#ifndef OVERRIDE_sys_exit_group +#ifndef OVERRIDE_64_sys_exit_group SC_TRACE_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), @@ -286,7 +287,7 @@ SC_TRACE_EVENT(sys_exit_group, TP_printk() ) #endif -#ifndef OVERRIDE_sys_unshare +#ifndef OVERRIDE_64_sys_unshare SC_TRACE_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), @@ -295,7 +296,7 @@ SC_TRACE_EVENT(sys_unshare, TP_printk() ) #endif -#ifndef OVERRIDE_sys_eventfd +#ifndef OVERRIDE_64_sys_eventfd SC_TRACE_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), @@ -304,7 +305,7 @@ SC_TRACE_EVENT(sys_eventfd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_create1 +#ifndef OVERRIDE_64_sys_epoll_create1 SC_TRACE_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), @@ -313,7 +314,7 @@ SC_TRACE_EVENT(sys_epoll_create1, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_init1 +#ifndef OVERRIDE_64_sys_inotify_init1 SC_TRACE_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), @@ -322,7 +323,7 @@ SC_TRACE_EVENT(sys_inotify_init1, TP_printk() ) #endif -#ifndef OVERRIDE_sys_syncfs +#ifndef OVERRIDE_64_sys_syncfs SC_TRACE_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), @@ -331,7 +332,7 @@ SC_TRACE_EVENT(sys_syncfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_munmap +#ifndef OVERRIDE_64_sys_munmap SC_TRACE_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), @@ -340,7 +341,7 @@ SC_TRACE_EVENT(sys_munmap, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup2 +#ifndef OVERRIDE_64_sys_dup2 SC_TRACE_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), @@ -349,7 +350,7 @@ SC_TRACE_EVENT(sys_dup2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_shutdown +#ifndef OVERRIDE_64_sys_shutdown SC_TRACE_EVENT(sys_shutdown, TP_PROTO(int fd, int how), TP_ARGS(fd, how), @@ -358,7 +359,7 @@ SC_TRACE_EVENT(sys_shutdown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_listen +#ifndef OVERRIDE_64_sys_listen SC_TRACE_EVENT(sys_listen, TP_PROTO(int fd, int backlog), TP_ARGS(fd, backlog), @@ -367,7 +368,7 @@ SC_TRACE_EVENT(sys_listen, TP_printk() ) #endif -#ifndef OVERRIDE_sys_kill +#ifndef OVERRIDE_64_sys_kill SC_TRACE_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), @@ -376,7 +377,7 @@ SC_TRACE_EVENT(sys_kill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msgget +#ifndef OVERRIDE_64_sys_msgget SC_TRACE_EVENT(sys_msgget, TP_PROTO(key_t key, int msgflg), TP_ARGS(key, msgflg), @@ -385,7 +386,7 @@ SC_TRACE_EVENT(sys_msgget, TP_printk() ) #endif -#ifndef OVERRIDE_sys_flock +#ifndef OVERRIDE_64_sys_flock SC_TRACE_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), @@ -394,7 +395,7 @@ SC_TRACE_EVENT(sys_flock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ftruncate +#ifndef OVERRIDE_64_sys_ftruncate SC_TRACE_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), @@ -403,7 +404,7 @@ SC_TRACE_EVENT(sys_ftruncate, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchmod +#ifndef OVERRIDE_64_sys_fchmod SC_TRACE_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, mode_t mode), TP_ARGS(fd, mode), @@ -412,7 +413,7 @@ SC_TRACE_EVENT(sys_fchmod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setpgid +#ifndef OVERRIDE_64_sys_setpgid SC_TRACE_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), @@ -421,7 +422,7 @@ SC_TRACE_EVENT(sys_setpgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setreuid +#ifndef OVERRIDE_64_sys_setreuid SC_TRACE_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), @@ -430,7 +431,7 @@ SC_TRACE_EVENT(sys_setreuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setregid +#ifndef OVERRIDE_64_sys_setregid SC_TRACE_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), @@ -439,7 +440,7 @@ SC_TRACE_EVENT(sys_setregid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getpriority +#ifndef OVERRIDE_64_sys_getpriority SC_TRACE_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), @@ -448,7 +449,7 @@ SC_TRACE_EVENT(sys_getpriority, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mlock +#ifndef OVERRIDE_64_sys_mlock SC_TRACE_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), @@ -457,7 +458,7 @@ SC_TRACE_EVENT(sys_mlock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_munlock +#ifndef OVERRIDE_64_sys_munlock SC_TRACE_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), @@ -466,7 +467,7 @@ SC_TRACE_EVENT(sys_munlock, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tkill +#ifndef OVERRIDE_64_sys_tkill SC_TRACE_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), @@ -475,7 +476,7 @@ SC_TRACE_EVENT(sys_tkill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioprio_get +#ifndef OVERRIDE_64_sys_ioprio_get SC_TRACE_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), @@ -484,7 +485,7 @@ SC_TRACE_EVENT(sys_ioprio_get, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_rm_watch +#ifndef OVERRIDE_64_sys_inotify_rm_watch SC_TRACE_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), @@ -493,7 +494,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_create +#ifndef OVERRIDE_64_sys_timerfd_create SC_TRACE_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), @@ -502,7 +503,7 @@ SC_TRACE_EVENT(sys_timerfd_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_eventfd2 +#ifndef OVERRIDE_64_sys_eventfd2 SC_TRACE_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), @@ -511,7 +512,7 @@ SC_TRACE_EVENT(sys_eventfd2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setns +#ifndef OVERRIDE_64_sys_setns SC_TRACE_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), @@ -520,7 +521,7 @@ SC_TRACE_EVENT(sys_setns, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lseek +#ifndef OVERRIDE_64_sys_lseek SC_TRACE_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), @@ -529,7 +530,7 @@ SC_TRACE_EVENT(sys_lseek, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mprotect +#ifndef OVERRIDE_64_sys_mprotect SC_TRACE_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), @@ -538,7 +539,7 @@ SC_TRACE_EVENT(sys_mprotect, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioctl +#ifndef OVERRIDE_64_sys_ioctl SC_TRACE_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), @@ -547,7 +548,7 @@ SC_TRACE_EVENT(sys_ioctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msync +#ifndef OVERRIDE_64_sys_msync SC_TRACE_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), @@ -556,7 +557,7 @@ SC_TRACE_EVENT(sys_msync, TP_printk() ) #endif -#ifndef OVERRIDE_sys_madvise +#ifndef OVERRIDE_64_sys_madvise SC_TRACE_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), @@ -565,7 +566,7 @@ SC_TRACE_EVENT(sys_madvise, TP_printk() ) #endif -#ifndef OVERRIDE_sys_shmget +#ifndef OVERRIDE_64_sys_shmget SC_TRACE_EVENT(sys_shmget, TP_PROTO(key_t key, size_t size, int shmflg), TP_ARGS(key, size, shmflg), @@ -574,7 +575,7 @@ SC_TRACE_EVENT(sys_shmget, TP_printk() ) #endif -#ifndef OVERRIDE_sys_socket +#ifndef OVERRIDE_64_sys_socket SC_TRACE_EVENT(sys_socket, TP_PROTO(int family, int type, int protocol), TP_ARGS(family, type, protocol), @@ -583,7 +584,7 @@ SC_TRACE_EVENT(sys_socket, TP_printk() ) #endif -#ifndef OVERRIDE_sys_semget +#ifndef OVERRIDE_64_sys_semget SC_TRACE_EVENT(sys_semget, TP_PROTO(key_t key, int nsems, int semflg), TP_ARGS(key, nsems, semflg), @@ -592,7 +593,7 @@ SC_TRACE_EVENT(sys_semget, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fcntl +#ifndef OVERRIDE_64_sys_fcntl SC_TRACE_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), @@ -601,7 +602,7 @@ SC_TRACE_EVENT(sys_fcntl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchown +#ifndef OVERRIDE_64_sys_fchown SC_TRACE_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), @@ -610,7 +611,7 @@ SC_TRACE_EVENT(sys_fchown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresuid +#ifndef OVERRIDE_64_sys_setresuid SC_TRACE_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), @@ -619,7 +620,7 @@ SC_TRACE_EVENT(sys_setresuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setresgid +#ifndef OVERRIDE_64_sys_setresgid SC_TRACE_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), @@ -628,7 +629,7 @@ SC_TRACE_EVENT(sys_setresgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysfs +#ifndef OVERRIDE_64_sys_sysfs SC_TRACE_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), @@ -637,7 +638,7 @@ SC_TRACE_EVENT(sys_sysfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setpriority +#ifndef OVERRIDE_64_sys_setpriority SC_TRACE_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), @@ -646,7 +647,7 @@ SC_TRACE_EVENT(sys_setpriority, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tgkill +#ifndef OVERRIDE_64_sys_tgkill SC_TRACE_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), @@ -655,7 +656,7 @@ SC_TRACE_EVENT(sys_tgkill, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ioprio_set +#ifndef OVERRIDE_64_sys_ioprio_set SC_TRACE_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), @@ -664,7 +665,7 @@ SC_TRACE_EVENT(sys_ioprio_set, TP_printk() ) #endif -#ifndef OVERRIDE_sys_dup3 +#ifndef OVERRIDE_64_sys_dup3 SC_TRACE_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), @@ -673,7 +674,7 @@ SC_TRACE_EVENT(sys_dup3, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ptrace +#ifndef OVERRIDE_64_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), @@ -682,7 +683,7 @@ SC_TRACE_EVENT(sys_ptrace, TP_printk() ) #endif -#ifndef OVERRIDE_sys_tee +#ifndef OVERRIDE_64_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), @@ -691,7 +692,7 @@ SC_TRACE_EVENT(sys_tee, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mremap +#ifndef OVERRIDE_64_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), @@ -700,7 +701,7 @@ SC_TRACE_EVENT(sys_mremap, TP_printk() ) #endif -#ifndef OVERRIDE_sys_prctl +#ifndef OVERRIDE_64_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), @@ -709,7 +710,7 @@ SC_TRACE_EVENT(sys_prctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_remap_file_pages +#ifndef OVERRIDE_64_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), @@ -718,7 +719,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mmap +#ifndef OVERRIDE_64_sys_mmap SC_TRACE_EVENT(sys_mmap, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), TP_ARGS(addr, len, prot, flags, fd, off), @@ -736,275 +737,276 @@ SC_TRACE_EVENT(sys_mmap, #else /* CREATE_SYSCALL_TABLE */ #include "x86-64-syscalls-3.0.4_integers_override.h" +#include "syscalls_integers_override.h" -#ifndef OVERRIDE_TABLE_sys_sched_yield +#ifndef OVERRIDE_TABLE_64_sys_sched_yield TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 24, 0) #endif -#ifndef OVERRIDE_TABLE_sys_pause +#ifndef OVERRIDE_TABLE_64_sys_pause TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 34, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getpid +#ifndef OVERRIDE_TABLE_64_sys_getpid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 39, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getuid +#ifndef OVERRIDE_TABLE_64_sys_getuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 102, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getgid +#ifndef OVERRIDE_TABLE_64_sys_getgid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 104, 0) #endif -#ifndef OVERRIDE_TABLE_sys_geteuid +#ifndef OVERRIDE_TABLE_64_sys_geteuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 107, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getegid +#ifndef OVERRIDE_TABLE_64_sys_getegid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 108, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getppid +#ifndef OVERRIDE_TABLE_64_sys_getppid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 110, 0) #endif -#ifndef OVERRIDE_TABLE_sys_getpgrp +#ifndef OVERRIDE_TABLE_64_sys_getpgrp TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 111, 0) #endif -#ifndef OVERRIDE_TABLE_sys_setsid +#ifndef OVERRIDE_TABLE_64_sys_setsid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 112, 0) #endif -#ifndef OVERRIDE_TABLE_sys_munlockall +#ifndef OVERRIDE_TABLE_64_sys_munlockall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 152, 0) #endif -#ifndef OVERRIDE_TABLE_sys_vhangup +#ifndef OVERRIDE_TABLE_64_sys_vhangup TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 153, 0) #endif -#ifndef OVERRIDE_TABLE_sys_sync +#ifndef OVERRIDE_TABLE_64_sys_sync TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 162, 0) #endif -#ifndef OVERRIDE_TABLE_sys_gettid +#ifndef OVERRIDE_TABLE_64_sys_gettid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 186, 0) #endif -#ifndef OVERRIDE_TABLE_sys_restart_syscall +#ifndef OVERRIDE_TABLE_64_sys_restart_syscall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 219, 0) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_init +#ifndef OVERRIDE_TABLE_64_sys_inotify_init TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 253, 0) #endif -#ifndef OVERRIDE_TABLE_sys_close +#ifndef OVERRIDE_TABLE_64_sys_close TRACE_SYSCALL_TABLE(sys_close, sys_close, 3, 1) #endif -#ifndef OVERRIDE_TABLE_sys_lseek +#ifndef OVERRIDE_TABLE_64_sys_lseek TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 8, 3) #endif -#ifndef OVERRIDE_TABLE_sys_mmap +#ifndef OVERRIDE_TABLE_64_sys_mmap TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 9, 6) #endif -#ifndef OVERRIDE_TABLE_sys_mprotect +#ifndef OVERRIDE_TABLE_64_sys_mprotect TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 10, 3) #endif -#ifndef OVERRIDE_TABLE_sys_munmap +#ifndef OVERRIDE_TABLE_64_sys_munmap TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 11, 2) #endif -#ifndef OVERRIDE_TABLE_sys_brk +#ifndef OVERRIDE_TABLE_64_sys_brk TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 12, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ioctl +#ifndef OVERRIDE_TABLE_64_sys_ioctl TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 16, 3) #endif -#ifndef OVERRIDE_TABLE_sys_mremap +#ifndef OVERRIDE_TABLE_64_sys_mremap TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 25, 5) #endif -#ifndef OVERRIDE_TABLE_sys_msync +#ifndef OVERRIDE_TABLE_64_sys_msync TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 26, 3) #endif -#ifndef OVERRIDE_TABLE_sys_madvise +#ifndef OVERRIDE_TABLE_64_sys_madvise TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 28, 3) #endif -#ifndef OVERRIDE_TABLE_sys_shmget +#ifndef OVERRIDE_TABLE_64_sys_shmget TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 29, 3) #endif -#ifndef OVERRIDE_TABLE_sys_dup +#ifndef OVERRIDE_TABLE_64_sys_dup TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 32, 1) #endif -#ifndef OVERRIDE_TABLE_sys_dup2 +#ifndef OVERRIDE_TABLE_64_sys_dup2 TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 33, 2) #endif -#ifndef OVERRIDE_TABLE_sys_alarm +#ifndef OVERRIDE_TABLE_64_sys_alarm TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 37, 1) #endif -#ifndef OVERRIDE_TABLE_sys_socket +#ifndef OVERRIDE_TABLE_64_sys_socket TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 41, 3) #endif -#ifndef OVERRIDE_TABLE_sys_shutdown +#ifndef OVERRIDE_TABLE_64_sys_shutdown TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 48, 2) #endif -#ifndef OVERRIDE_TABLE_sys_listen +#ifndef OVERRIDE_TABLE_64_sys_listen TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 50, 2) #endif -#ifndef OVERRIDE_TABLE_sys_exit +#ifndef OVERRIDE_TABLE_64_sys_exit TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 60, 1) #endif -#ifndef OVERRIDE_TABLE_sys_kill +#ifndef OVERRIDE_TABLE_64_sys_kill TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 62, 2) #endif -#ifndef OVERRIDE_TABLE_sys_semget +#ifndef OVERRIDE_TABLE_64_sys_semget TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 64, 3) #endif -#ifndef OVERRIDE_TABLE_sys_msgget +#ifndef OVERRIDE_TABLE_64_sys_msgget TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 68, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fcntl +#ifndef OVERRIDE_TABLE_64_sys_fcntl TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 72, 3) #endif -#ifndef OVERRIDE_TABLE_sys_flock +#ifndef OVERRIDE_TABLE_64_sys_flock TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 73, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fsync +#ifndef OVERRIDE_TABLE_64_sys_fsync TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 74, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fdatasync +#ifndef OVERRIDE_TABLE_64_sys_fdatasync TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 75, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ftruncate +#ifndef OVERRIDE_TABLE_64_sys_ftruncate TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 77, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fchdir +#ifndef OVERRIDE_TABLE_64_sys_fchdir TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 81, 1) #endif -#ifndef OVERRIDE_TABLE_sys_fchmod +#ifndef OVERRIDE_TABLE_64_sys_fchmod TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 91, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fchown +#ifndef OVERRIDE_TABLE_64_sys_fchown TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 93, 3) #endif -#ifndef OVERRIDE_TABLE_sys_umask +#ifndef OVERRIDE_TABLE_64_sys_umask TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 95, 1) #endif -#ifndef OVERRIDE_TABLE_sys_ptrace +#ifndef OVERRIDE_TABLE_64_sys_ptrace TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 101, 4) #endif -#ifndef OVERRIDE_TABLE_sys_setuid +#ifndef OVERRIDE_TABLE_64_sys_setuid TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 105, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setgid +#ifndef OVERRIDE_TABLE_64_sys_setgid TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 106, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setpgid +#ifndef OVERRIDE_TABLE_64_sys_setpgid TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 109, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setreuid +#ifndef OVERRIDE_TABLE_64_sys_setreuid TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 113, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setregid +#ifndef OVERRIDE_TABLE_64_sys_setregid TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 114, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setresuid +#ifndef OVERRIDE_TABLE_64_sys_setresuid TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 117, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setresgid +#ifndef OVERRIDE_TABLE_64_sys_setresgid TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 119, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getpgid +#ifndef OVERRIDE_TABLE_64_sys_getpgid TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 121, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsuid +#ifndef OVERRIDE_TABLE_64_sys_setfsuid TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 122, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setfsgid +#ifndef OVERRIDE_TABLE_64_sys_setfsgid TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 123, 1) #endif -#ifndef OVERRIDE_TABLE_sys_getsid +#ifndef OVERRIDE_TABLE_64_sys_getsid TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 124, 1) #endif -#ifndef OVERRIDE_TABLE_sys_personality +#ifndef OVERRIDE_TABLE_64_sys_personality TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 135, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sysfs +#ifndef OVERRIDE_TABLE_64_sys_sysfs TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 139, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getpriority +#ifndef OVERRIDE_TABLE_64_sys_getpriority TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 140, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setpriority +#ifndef OVERRIDE_TABLE_64_sys_setpriority TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 141, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getscheduler +#ifndef OVERRIDE_TABLE_64_sys_sched_getscheduler TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 145, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_get_priority_max +#ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_max TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 146, 1) #endif -#ifndef OVERRIDE_TABLE_sys_sched_get_priority_min +#ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_min TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 147, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mlock +#ifndef OVERRIDE_TABLE_64_sys_mlock TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 149, 2) #endif -#ifndef OVERRIDE_TABLE_sys_munlock +#ifndef OVERRIDE_TABLE_64_sys_munlock TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 150, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mlockall +#ifndef OVERRIDE_TABLE_64_sys_mlockall TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 151, 1) #endif -#ifndef OVERRIDE_TABLE_sys_prctl +#ifndef OVERRIDE_TABLE_64_sys_prctl TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 157, 5) #endif -#ifndef OVERRIDE_TABLE_sys_tkill +#ifndef OVERRIDE_TABLE_64_sys_tkill TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 200, 2) #endif -#ifndef OVERRIDE_TABLE_sys_io_destroy +#ifndef OVERRIDE_TABLE_64_sys_io_destroy TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 207, 1) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_create +#ifndef OVERRIDE_TABLE_64_sys_epoll_create TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 213, 1) #endif -#ifndef OVERRIDE_TABLE_sys_remap_file_pages +#ifndef OVERRIDE_TABLE_64_sys_remap_file_pages TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 216, 5) #endif -#ifndef OVERRIDE_TABLE_sys_timer_getoverrun +#ifndef OVERRIDE_TABLE_64_sys_timer_getoverrun TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 225, 1) #endif -#ifndef OVERRIDE_TABLE_sys_timer_delete +#ifndef OVERRIDE_TABLE_64_sys_timer_delete TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 226, 1) #endif -#ifndef OVERRIDE_TABLE_sys_exit_group +#ifndef OVERRIDE_TABLE_64_sys_exit_group TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 231, 1) #endif -#ifndef OVERRIDE_TABLE_sys_tgkill +#ifndef OVERRIDE_TABLE_64_sys_tgkill TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 234, 3) #endif -#ifndef OVERRIDE_TABLE_sys_ioprio_set +#ifndef OVERRIDE_TABLE_64_sys_ioprio_set TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 251, 3) #endif -#ifndef OVERRIDE_TABLE_sys_ioprio_get +#ifndef OVERRIDE_TABLE_64_sys_ioprio_get TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 252, 2) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_rm_watch +#ifndef OVERRIDE_TABLE_64_sys_inotify_rm_watch TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 255, 2) #endif -#ifndef OVERRIDE_TABLE_sys_unshare +#ifndef OVERRIDE_TABLE_64_sys_unshare TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 272, 1) #endif -#ifndef OVERRIDE_TABLE_sys_tee +#ifndef OVERRIDE_TABLE_64_sys_tee TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 276, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_create +#ifndef OVERRIDE_TABLE_64_sys_timerfd_create TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 283, 2) #endif -#ifndef OVERRIDE_TABLE_sys_eventfd +#ifndef OVERRIDE_TABLE_64_sys_eventfd TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 284, 1) #endif -#ifndef OVERRIDE_TABLE_sys_eventfd2 +#ifndef OVERRIDE_TABLE_64_sys_eventfd2 TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 290, 2) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_create1 +#ifndef OVERRIDE_TABLE_64_sys_epoll_create1 TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 291, 1) #endif -#ifndef OVERRIDE_TABLE_sys_dup3 +#ifndef OVERRIDE_TABLE_64_sys_dup3 TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 292, 3) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_init1 +#ifndef OVERRIDE_TABLE_64_sys_inotify_init1 TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 294, 1) #endif -#ifndef OVERRIDE_TABLE_sys_syncfs +#ifndef OVERRIDE_TABLE_64_sys_syncfs TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 306, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setns +#ifndef OVERRIDE_TABLE_64_sys_setns TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 308, 2) #endif diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h index e69de29b..3d400f7e 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h @@ -0,0 +1,3 @@ +/* + * this is a place-holder for x86_64 interger syscall definition override. + */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers.h index 8de6edf9..e926a60a 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers.h @@ -7,8 +7,9 @@ #include #include #include "x86-64-syscalls-3.0.4_pointers_override.h" +#include "syscalls_pointers_override.h" -#ifndef OVERRIDE_sys_pipe +#ifndef OVERRIDE_64_sys_pipe SC_TRACE_EVENT(sys_pipe, TP_PROTO(int * fildes), TP_ARGS(fildes), @@ -17,7 +18,7 @@ SC_TRACE_EVENT(sys_pipe, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newuname +#ifndef OVERRIDE_64_sys_newuname SC_TRACE_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), @@ -26,7 +27,7 @@ SC_TRACE_EVENT(sys_newuname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_shmdt +#ifndef OVERRIDE_64_sys_shmdt SC_TRACE_EVENT(sys_shmdt, TP_PROTO(char * shmaddr), TP_ARGS(shmaddr), @@ -35,7 +36,7 @@ SC_TRACE_EVENT(sys_shmdt, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chdir +#ifndef OVERRIDE_64_sys_chdir SC_TRACE_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), @@ -44,7 +45,7 @@ SC_TRACE_EVENT(sys_chdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rmdir +#ifndef OVERRIDE_64_sys_rmdir SC_TRACE_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), @@ -53,7 +54,7 @@ SC_TRACE_EVENT(sys_rmdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_unlink +#ifndef OVERRIDE_64_sys_unlink SC_TRACE_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), @@ -62,7 +63,7 @@ SC_TRACE_EVENT(sys_unlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysinfo +#ifndef OVERRIDE_64_sys_sysinfo SC_TRACE_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), @@ -71,7 +72,7 @@ SC_TRACE_EVENT(sys_sysinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_times +#ifndef OVERRIDE_64_sys_times SC_TRACE_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), @@ -80,7 +81,7 @@ SC_TRACE_EVENT(sys_times, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sysctl +#ifndef OVERRIDE_64_sys_sysctl SC_TRACE_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), @@ -89,7 +90,7 @@ SC_TRACE_EVENT(sys_sysctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_adjtimex +#ifndef OVERRIDE_64_sys_adjtimex SC_TRACE_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), @@ -98,7 +99,7 @@ SC_TRACE_EVENT(sys_adjtimex, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chroot +#ifndef OVERRIDE_64_sys_chroot SC_TRACE_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), @@ -107,7 +108,7 @@ SC_TRACE_EVENT(sys_chroot, TP_printk() ) #endif -#ifndef OVERRIDE_sys_swapoff +#ifndef OVERRIDE_64_sys_swapoff SC_TRACE_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), @@ -116,7 +117,7 @@ SC_TRACE_EVENT(sys_swapoff, TP_printk() ) #endif -#ifndef OVERRIDE_sys_time +#ifndef OVERRIDE_64_sys_time SC_TRACE_EVENT(sys_time, TP_PROTO(time_t * tloc), TP_ARGS(tloc), @@ -125,7 +126,7 @@ SC_TRACE_EVENT(sys_time, TP_printk() ) #endif -#ifndef OVERRIDE_sys_set_tid_address +#ifndef OVERRIDE_64_sys_set_tid_address SC_TRACE_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), @@ -134,7 +135,7 @@ SC_TRACE_EVENT(sys_set_tid_address, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_unlink +#ifndef OVERRIDE_64_sys_mq_unlink SC_TRACE_EVENT(sys_mq_unlink, TP_PROTO(const char * u_name), TP_ARGS(u_name), @@ -143,7 +144,7 @@ SC_TRACE_EVENT(sys_mq_unlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newstat +#ifndef OVERRIDE_64_sys_newstat SC_TRACE_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), @@ -152,7 +153,7 @@ SC_TRACE_EVENT(sys_newstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newfstat +#ifndef OVERRIDE_64_sys_newfstat SC_TRACE_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), @@ -161,7 +162,7 @@ SC_TRACE_EVENT(sys_newfstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newlstat +#ifndef OVERRIDE_64_sys_newlstat SC_TRACE_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), @@ -170,7 +171,7 @@ SC_TRACE_EVENT(sys_newlstat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_access +#ifndef OVERRIDE_64_sys_access SC_TRACE_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), @@ -179,7 +180,7 @@ SC_TRACE_EVENT(sys_access, TP_printk() ) #endif -#ifndef OVERRIDE_sys_nanosleep +#ifndef OVERRIDE_64_sys_nanosleep SC_TRACE_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), @@ -188,7 +189,7 @@ SC_TRACE_EVENT(sys_nanosleep, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getitimer +#ifndef OVERRIDE_64_sys_getitimer SC_TRACE_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), @@ -197,7 +198,7 @@ SC_TRACE_EVENT(sys_getitimer, TP_printk() ) #endif -#ifndef OVERRIDE_sys_truncate +#ifndef OVERRIDE_64_sys_truncate SC_TRACE_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), @@ -206,7 +207,7 @@ SC_TRACE_EVENT(sys_truncate, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getcwd +#ifndef OVERRIDE_64_sys_getcwd SC_TRACE_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), @@ -215,7 +216,7 @@ SC_TRACE_EVENT(sys_getcwd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rename +#ifndef OVERRIDE_64_sys_rename SC_TRACE_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -224,7 +225,7 @@ SC_TRACE_EVENT(sys_rename, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mkdir +#ifndef OVERRIDE_64_sys_mkdir SC_TRACE_EVENT(sys_mkdir, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), @@ -233,7 +234,7 @@ SC_TRACE_EVENT(sys_mkdir, TP_printk() ) #endif -#ifndef OVERRIDE_sys_creat +#ifndef OVERRIDE_64_sys_creat SC_TRACE_EVENT(sys_creat, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), @@ -242,7 +243,7 @@ SC_TRACE_EVENT(sys_creat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_link +#ifndef OVERRIDE_64_sys_link SC_TRACE_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -251,7 +252,7 @@ SC_TRACE_EVENT(sys_link, TP_printk() ) #endif -#ifndef OVERRIDE_sys_symlink +#ifndef OVERRIDE_64_sys_symlink SC_TRACE_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), @@ -260,7 +261,7 @@ SC_TRACE_EVENT(sys_symlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chmod +#ifndef OVERRIDE_64_sys_chmod SC_TRACE_EVENT(sys_chmod, TP_PROTO(const char * filename, mode_t mode), TP_ARGS(filename, mode), @@ -269,7 +270,7 @@ SC_TRACE_EVENT(sys_chmod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_gettimeofday +#ifndef OVERRIDE_64_sys_gettimeofday SC_TRACE_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), @@ -278,7 +279,7 @@ SC_TRACE_EVENT(sys_gettimeofday, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getrlimit +#ifndef OVERRIDE_64_sys_getrlimit SC_TRACE_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), @@ -287,7 +288,7 @@ SC_TRACE_EVENT(sys_getrlimit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getrusage +#ifndef OVERRIDE_64_sys_getrusage SC_TRACE_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), @@ -296,7 +297,7 @@ SC_TRACE_EVENT(sys_getrusage, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getgroups +#ifndef OVERRIDE_64_sys_getgroups SC_TRACE_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -305,7 +306,7 @@ SC_TRACE_EVENT(sys_getgroups, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setgroups +#ifndef OVERRIDE_64_sys_setgroups SC_TRACE_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), @@ -314,7 +315,7 @@ SC_TRACE_EVENT(sys_setgroups, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigpending +#ifndef OVERRIDE_64_sys_rt_sigpending SC_TRACE_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * set, size_t sigsetsize), TP_ARGS(set, sigsetsize), @@ -323,7 +324,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigsuspend +#ifndef OVERRIDE_64_sys_rt_sigsuspend SC_TRACE_EVENT(sys_rt_sigsuspend, TP_PROTO(sigset_t * unewset, size_t sigsetsize), TP_ARGS(unewset, sigsetsize), @@ -332,7 +333,7 @@ SC_TRACE_EVENT(sys_rt_sigsuspend, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utime +#ifndef OVERRIDE_64_sys_utime SC_TRACE_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), @@ -341,7 +342,7 @@ SC_TRACE_EVENT(sys_utime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ustat +#ifndef OVERRIDE_64_sys_ustat SC_TRACE_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), @@ -350,7 +351,7 @@ SC_TRACE_EVENT(sys_ustat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_statfs +#ifndef OVERRIDE_64_sys_statfs SC_TRACE_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), @@ -359,7 +360,7 @@ SC_TRACE_EVENT(sys_statfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fstatfs +#ifndef OVERRIDE_64_sys_fstatfs SC_TRACE_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), @@ -368,7 +369,7 @@ SC_TRACE_EVENT(sys_fstatfs, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setparam +#ifndef OVERRIDE_64_sys_sched_setparam SC_TRACE_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), @@ -377,7 +378,7 @@ SC_TRACE_EVENT(sys_sched_setparam, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getparam +#ifndef OVERRIDE_64_sys_sched_getparam SC_TRACE_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), @@ -386,7 +387,7 @@ SC_TRACE_EVENT(sys_sched_getparam, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_rr_get_interval +#ifndef OVERRIDE_64_sys_sched_rr_get_interval SC_TRACE_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), @@ -395,7 +396,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pivot_root +#ifndef OVERRIDE_64_sys_pivot_root SC_TRACE_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), @@ -404,7 +405,7 @@ SC_TRACE_EVENT(sys_pivot_root, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setrlimit +#ifndef OVERRIDE_64_sys_setrlimit SC_TRACE_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), @@ -413,7 +414,7 @@ SC_TRACE_EVENT(sys_setrlimit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_settimeofday +#ifndef OVERRIDE_64_sys_settimeofday SC_TRACE_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), @@ -422,7 +423,7 @@ SC_TRACE_EVENT(sys_settimeofday, TP_printk() ) #endif -#ifndef OVERRIDE_sys_umount +#ifndef OVERRIDE_64_sys_umount SC_TRACE_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), @@ -431,7 +432,7 @@ SC_TRACE_EVENT(sys_umount, TP_printk() ) #endif -#ifndef OVERRIDE_sys_swapon +#ifndef OVERRIDE_64_sys_swapon SC_TRACE_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), @@ -440,7 +441,7 @@ SC_TRACE_EVENT(sys_swapon, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sethostname +#ifndef OVERRIDE_64_sys_sethostname SC_TRACE_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), @@ -449,7 +450,7 @@ SC_TRACE_EVENT(sys_sethostname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setdomainname +#ifndef OVERRIDE_64_sys_setdomainname SC_TRACE_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), @@ -458,7 +459,7 @@ SC_TRACE_EVENT(sys_setdomainname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_delete_module +#ifndef OVERRIDE_64_sys_delete_module SC_TRACE_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), @@ -467,7 +468,7 @@ SC_TRACE_EVENT(sys_delete_module, TP_printk() ) #endif -#ifndef OVERRIDE_sys_removexattr +#ifndef OVERRIDE_64_sys_removexattr SC_TRACE_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), @@ -476,7 +477,7 @@ SC_TRACE_EVENT(sys_removexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lremovexattr +#ifndef OVERRIDE_64_sys_lremovexattr SC_TRACE_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), @@ -485,7 +486,7 @@ SC_TRACE_EVENT(sys_lremovexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fremovexattr +#ifndef OVERRIDE_64_sys_fremovexattr SC_TRACE_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), @@ -494,7 +495,7 @@ SC_TRACE_EVENT(sys_fremovexattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_setup +#ifndef OVERRIDE_64_sys_io_setup SC_TRACE_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), @@ -503,7 +504,7 @@ SC_TRACE_EVENT(sys_io_setup, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_gettime +#ifndef OVERRIDE_64_sys_timer_gettime SC_TRACE_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), @@ -512,7 +513,7 @@ SC_TRACE_EVENT(sys_timer_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_settime +#ifndef OVERRIDE_64_sys_clock_settime SC_TRACE_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), @@ -521,7 +522,7 @@ SC_TRACE_EVENT(sys_clock_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_gettime +#ifndef OVERRIDE_64_sys_clock_gettime SC_TRACE_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), @@ -530,7 +531,7 @@ SC_TRACE_EVENT(sys_clock_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_getres +#ifndef OVERRIDE_64_sys_clock_getres SC_TRACE_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), @@ -539,7 +540,7 @@ SC_TRACE_EVENT(sys_clock_getres, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utimes +#ifndef OVERRIDE_64_sys_utimes SC_TRACE_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), @@ -548,7 +549,7 @@ SC_TRACE_EVENT(sys_utimes, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_notify +#ifndef OVERRIDE_64_sys_mq_notify SC_TRACE_EVENT(sys_mq_notify, TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(mqdes, u_notification), @@ -557,7 +558,7 @@ SC_TRACE_EVENT(sys_mq_notify, TP_printk() ) #endif -#ifndef OVERRIDE_sys_set_robust_list +#ifndef OVERRIDE_64_sys_set_robust_list SC_TRACE_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), @@ -566,7 +567,7 @@ SC_TRACE_EVENT(sys_set_robust_list, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_gettime +#ifndef OVERRIDE_64_sys_timerfd_gettime SC_TRACE_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), @@ -575,7 +576,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pipe2 +#ifndef OVERRIDE_64_sys_pipe2 SC_TRACE_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), @@ -584,7 +585,7 @@ SC_TRACE_EVENT(sys_pipe2, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_adjtime +#ifndef OVERRIDE_64_sys_clock_adjtime SC_TRACE_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), @@ -593,7 +594,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_read +#ifndef OVERRIDE_64_sys_read SC_TRACE_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), @@ -602,7 +603,7 @@ SC_TRACE_EVENT(sys_read, TP_printk() ) #endif -#ifndef OVERRIDE_sys_write +#ifndef OVERRIDE_64_sys_write SC_TRACE_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), @@ -611,7 +612,7 @@ SC_TRACE_EVENT(sys_write, TP_printk() ) #endif -#ifndef OVERRIDE_sys_open +#ifndef OVERRIDE_64_sys_open SC_TRACE_EVENT(sys_open, TP_PROTO(const char * filename, int flags, int mode), TP_ARGS(filename, flags, mode), @@ -620,7 +621,7 @@ SC_TRACE_EVENT(sys_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_poll +#ifndef OVERRIDE_64_sys_poll SC_TRACE_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, long timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), @@ -629,7 +630,7 @@ SC_TRACE_EVENT(sys_poll, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readv +#ifndef OVERRIDE_64_sys_readv SC_TRACE_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), @@ -638,7 +639,7 @@ SC_TRACE_EVENT(sys_readv, TP_printk() ) #endif -#ifndef OVERRIDE_sys_writev +#ifndef OVERRIDE_64_sys_writev SC_TRACE_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), @@ -647,7 +648,7 @@ SC_TRACE_EVENT(sys_writev, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mincore +#ifndef OVERRIDE_64_sys_mincore SC_TRACE_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), @@ -656,7 +657,7 @@ SC_TRACE_EVENT(sys_mincore, TP_printk() ) #endif -#ifndef OVERRIDE_sys_shmat +#ifndef OVERRIDE_64_sys_shmat SC_TRACE_EVENT(sys_shmat, TP_PROTO(int shmid, char * shmaddr, int shmflg), TP_ARGS(shmid, shmaddr, shmflg), @@ -665,7 +666,7 @@ SC_TRACE_EVENT(sys_shmat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_shmctl +#ifndef OVERRIDE_64_sys_shmctl SC_TRACE_EVENT(sys_shmctl, TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), TP_ARGS(shmid, cmd, buf), @@ -674,7 +675,7 @@ SC_TRACE_EVENT(sys_shmctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setitimer +#ifndef OVERRIDE_64_sys_setitimer SC_TRACE_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), @@ -683,7 +684,7 @@ SC_TRACE_EVENT(sys_setitimer, TP_printk() ) #endif -#ifndef OVERRIDE_sys_connect +#ifndef OVERRIDE_64_sys_connect SC_TRACE_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), @@ -692,7 +693,7 @@ SC_TRACE_EVENT(sys_connect, TP_printk() ) #endif -#ifndef OVERRIDE_sys_accept +#ifndef OVERRIDE_64_sys_accept SC_TRACE_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), @@ -701,7 +702,7 @@ SC_TRACE_EVENT(sys_accept, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendmsg +#ifndef OVERRIDE_64_sys_sendmsg SC_TRACE_EVENT(sys_sendmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned flags), TP_ARGS(fd, msg, flags), @@ -710,7 +711,7 @@ SC_TRACE_EVENT(sys_sendmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_recvmsg +#ifndef OVERRIDE_64_sys_recvmsg SC_TRACE_EVENT(sys_recvmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), @@ -719,7 +720,7 @@ SC_TRACE_EVENT(sys_recvmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_bind +#ifndef OVERRIDE_64_sys_bind SC_TRACE_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), @@ -728,7 +729,7 @@ SC_TRACE_EVENT(sys_bind, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getsockname +#ifndef OVERRIDE_64_sys_getsockname SC_TRACE_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), @@ -737,7 +738,7 @@ SC_TRACE_EVENT(sys_getsockname, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getpeername +#ifndef OVERRIDE_64_sys_getpeername SC_TRACE_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), @@ -746,7 +747,7 @@ SC_TRACE_EVENT(sys_getpeername, TP_printk() ) #endif -#ifndef OVERRIDE_sys_semop +#ifndef OVERRIDE_64_sys_semop SC_TRACE_EVENT(sys_semop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), TP_ARGS(semid, tsops, nsops), @@ -755,7 +756,7 @@ SC_TRACE_EVENT(sys_semop, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msgctl +#ifndef OVERRIDE_64_sys_msgctl SC_TRACE_EVENT(sys_msgctl, TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), TP_ARGS(msqid, cmd, buf), @@ -764,7 +765,7 @@ SC_TRACE_EVENT(sys_msgctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getdents +#ifndef OVERRIDE_64_sys_getdents SC_TRACE_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), @@ -773,7 +774,7 @@ SC_TRACE_EVENT(sys_getdents, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readlink +#ifndef OVERRIDE_64_sys_readlink SC_TRACE_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), @@ -782,7 +783,7 @@ SC_TRACE_EVENT(sys_readlink, TP_printk() ) #endif -#ifndef OVERRIDE_sys_chown +#ifndef OVERRIDE_64_sys_chown SC_TRACE_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), @@ -791,7 +792,7 @@ SC_TRACE_EVENT(sys_chown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lchown +#ifndef OVERRIDE_64_sys_lchown SC_TRACE_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), @@ -800,7 +801,7 @@ SC_TRACE_EVENT(sys_lchown, TP_printk() ) #endif -#ifndef OVERRIDE_sys_syslog +#ifndef OVERRIDE_64_sys_syslog SC_TRACE_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), @@ -809,7 +810,7 @@ SC_TRACE_EVENT(sys_syslog, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresuid +#ifndef OVERRIDE_64_sys_getresuid SC_TRACE_EVENT(sys_getresuid, TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), TP_ARGS(ruid, euid, suid), @@ -818,7 +819,7 @@ SC_TRACE_EVENT(sys_getresuid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getresgid +#ifndef OVERRIDE_64_sys_getresgid SC_TRACE_EVENT(sys_getresgid, TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), TP_ARGS(rgid, egid, sgid), @@ -827,7 +828,7 @@ SC_TRACE_EVENT(sys_getresgid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_64_sys_rt_sigqueueinfo SC_TRACE_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), @@ -836,7 +837,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mknod +#ifndef OVERRIDE_64_sys_mknod SC_TRACE_EVENT(sys_mknod, TP_PROTO(const char * filename, int mode, unsigned dev), TP_ARGS(filename, mode, dev), @@ -845,7 +846,7 @@ SC_TRACE_EVENT(sys_mknod, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setscheduler +#ifndef OVERRIDE_64_sys_sched_setscheduler SC_TRACE_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), @@ -854,7 +855,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, TP_printk() ) #endif -#ifndef OVERRIDE_sys_init_module +#ifndef OVERRIDE_64_sys_init_module SC_TRACE_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), @@ -863,7 +864,7 @@ SC_TRACE_EVENT(sys_init_module, TP_printk() ) #endif -#ifndef OVERRIDE_sys_nfsservctl +#ifndef OVERRIDE_64_sys_nfsservctl SC_TRACE_EVENT(sys_nfsservctl, TP_PROTO(int cmd, struct nfsctl_arg * arg, void * res), TP_ARGS(cmd, arg, res), @@ -872,7 +873,7 @@ SC_TRACE_EVENT(sys_nfsservctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_listxattr +#ifndef OVERRIDE_64_sys_listxattr SC_TRACE_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), @@ -881,7 +882,7 @@ SC_TRACE_EVENT(sys_listxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_llistxattr +#ifndef OVERRIDE_64_sys_llistxattr SC_TRACE_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), @@ -890,7 +891,7 @@ SC_TRACE_EVENT(sys_llistxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_flistxattr +#ifndef OVERRIDE_64_sys_flistxattr SC_TRACE_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), @@ -899,7 +900,7 @@ SC_TRACE_EVENT(sys_flistxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_setaffinity +#ifndef OVERRIDE_64_sys_sched_setaffinity SC_TRACE_EVENT(sys_sched_setaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), @@ -908,7 +909,7 @@ SC_TRACE_EVENT(sys_sched_setaffinity, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sched_getaffinity +#ifndef OVERRIDE_64_sys_sched_getaffinity SC_TRACE_EVENT(sys_sched_getaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), @@ -917,7 +918,7 @@ SC_TRACE_EVENT(sys_sched_getaffinity, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_submit +#ifndef OVERRIDE_64_sys_io_submit SC_TRACE_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), @@ -926,7 +927,7 @@ SC_TRACE_EVENT(sys_io_submit, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_cancel +#ifndef OVERRIDE_64_sys_io_cancel SC_TRACE_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), @@ -935,7 +936,7 @@ SC_TRACE_EVENT(sys_io_cancel, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getdents64 +#ifndef OVERRIDE_64_sys_getdents64 SC_TRACE_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), @@ -944,7 +945,7 @@ SC_TRACE_EVENT(sys_getdents64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_create +#ifndef OVERRIDE_64_sys_timer_create SC_TRACE_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), @@ -953,7 +954,7 @@ SC_TRACE_EVENT(sys_timer_create, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_getsetattr +#ifndef OVERRIDE_64_sys_mq_getsetattr SC_TRACE_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), @@ -962,7 +963,7 @@ SC_TRACE_EVENT(sys_mq_getsetattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_inotify_add_watch +#ifndef OVERRIDE_64_sys_inotify_add_watch SC_TRACE_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), @@ -971,7 +972,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mkdirat +#ifndef OVERRIDE_64_sys_mkdirat SC_TRACE_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, int mode), TP_ARGS(dfd, pathname, mode), @@ -980,7 +981,7 @@ SC_TRACE_EVENT(sys_mkdirat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_futimesat +#ifndef OVERRIDE_64_sys_futimesat SC_TRACE_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), @@ -989,7 +990,7 @@ SC_TRACE_EVENT(sys_futimesat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_unlinkat +#ifndef OVERRIDE_64_sys_unlinkat SC_TRACE_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), @@ -998,7 +999,7 @@ SC_TRACE_EVENT(sys_unlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_symlinkat +#ifndef OVERRIDE_64_sys_symlinkat SC_TRACE_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), @@ -1007,7 +1008,7 @@ SC_TRACE_EVENT(sys_symlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchmodat +#ifndef OVERRIDE_64_sys_fchmodat SC_TRACE_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, mode_t mode), TP_ARGS(dfd, filename, mode), @@ -1016,7 +1017,7 @@ SC_TRACE_EVENT(sys_fchmodat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_faccessat +#ifndef OVERRIDE_64_sys_faccessat SC_TRACE_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), @@ -1025,7 +1026,7 @@ SC_TRACE_EVENT(sys_faccessat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_get_robust_list +#ifndef OVERRIDE_64_sys_get_robust_list SC_TRACE_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), @@ -1034,7 +1035,7 @@ SC_TRACE_EVENT(sys_get_robust_list, TP_printk() ) #endif -#ifndef OVERRIDE_sys_signalfd +#ifndef OVERRIDE_64_sys_signalfd SC_TRACE_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), @@ -1043,7 +1044,7 @@ SC_TRACE_EVENT(sys_signalfd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigaction +#ifndef OVERRIDE_64_sys_rt_sigaction SC_TRACE_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), @@ -1052,7 +1053,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigprocmask +#ifndef OVERRIDE_64_sys_rt_sigprocmask SC_TRACE_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), @@ -1061,7 +1062,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendfile64 +#ifndef OVERRIDE_64_sys_sendfile64 SC_TRACE_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), @@ -1070,7 +1071,7 @@ SC_TRACE_EVENT(sys_sendfile64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_socketpair +#ifndef OVERRIDE_64_sys_socketpair SC_TRACE_EVENT(sys_socketpair, TP_PROTO(int family, int type, int protocol, int * usockvec), TP_ARGS(family, type, protocol, usockvec), @@ -1079,7 +1080,7 @@ SC_TRACE_EVENT(sys_socketpair, TP_printk() ) #endif -#ifndef OVERRIDE_sys_wait4 +#ifndef OVERRIDE_64_sys_wait4 SC_TRACE_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), @@ -1088,7 +1089,7 @@ SC_TRACE_EVENT(sys_wait4, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msgsnd +#ifndef OVERRIDE_64_sys_msgsnd SC_TRACE_EVENT(sys_msgsnd, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgflg), @@ -1097,7 +1098,7 @@ SC_TRACE_EVENT(sys_msgsnd, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_sigtimedwait +#ifndef OVERRIDE_64_sys_rt_sigtimedwait SC_TRACE_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), @@ -1106,7 +1107,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, TP_printk() ) #endif -#ifndef OVERRIDE_sys_reboot +#ifndef OVERRIDE_64_sys_reboot SC_TRACE_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), @@ -1115,7 +1116,7 @@ SC_TRACE_EVENT(sys_reboot, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getxattr +#ifndef OVERRIDE_64_sys_getxattr SC_TRACE_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), @@ -1124,7 +1125,7 @@ SC_TRACE_EVENT(sys_getxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lgetxattr +#ifndef OVERRIDE_64_sys_lgetxattr SC_TRACE_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), @@ -1133,7 +1134,7 @@ SC_TRACE_EVENT(sys_lgetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fgetxattr +#ifndef OVERRIDE_64_sys_fgetxattr SC_TRACE_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), @@ -1142,7 +1143,7 @@ SC_TRACE_EVENT(sys_fgetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_semtimedop +#ifndef OVERRIDE_64_sys_semtimedop SC_TRACE_EVENT(sys_semtimedop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), TP_ARGS(semid, tsops, nsops, timeout), @@ -1151,7 +1152,7 @@ SC_TRACE_EVENT(sys_semtimedop, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timer_settime +#ifndef OVERRIDE_64_sys_timer_settime SC_TRACE_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), @@ -1160,7 +1161,7 @@ SC_TRACE_EVENT(sys_timer_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_clock_nanosleep +#ifndef OVERRIDE_64_sys_clock_nanosleep SC_TRACE_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), @@ -1169,7 +1170,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_wait +#ifndef OVERRIDE_64_sys_epoll_wait SC_TRACE_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), @@ -1178,7 +1179,7 @@ SC_TRACE_EVENT(sys_epoll_wait, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_ctl +#ifndef OVERRIDE_64_sys_epoll_ctl SC_TRACE_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), @@ -1187,7 +1188,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_open +#ifndef OVERRIDE_64_sys_mq_open SC_TRACE_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), @@ -1196,7 +1197,7 @@ SC_TRACE_EVENT(sys_mq_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_kexec_load +#ifndef OVERRIDE_64_sys_kexec_load SC_TRACE_EVENT(sys_kexec_load, TP_PROTO(unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), TP_ARGS(entry, nr_segments, segments, flags), @@ -1205,7 +1206,7 @@ SC_TRACE_EVENT(sys_kexec_load, TP_printk() ) #endif -#ifndef OVERRIDE_sys_openat +#ifndef OVERRIDE_64_sys_openat SC_TRACE_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, int mode), TP_ARGS(dfd, filename, flags, mode), @@ -1214,7 +1215,7 @@ SC_TRACE_EVENT(sys_openat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mknodat +#ifndef OVERRIDE_64_sys_mknodat SC_TRACE_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, int mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), @@ -1223,7 +1224,7 @@ SC_TRACE_EVENT(sys_mknodat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_newfstatat +#ifndef OVERRIDE_64_sys_newfstatat SC_TRACE_EVENT(sys_newfstatat, TP_PROTO(int dfd, const char * filename, struct stat * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), @@ -1232,7 +1233,7 @@ SC_TRACE_EVENT(sys_newfstatat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_renameat +#ifndef OVERRIDE_64_sys_renameat SC_TRACE_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), @@ -1241,7 +1242,7 @@ SC_TRACE_EVENT(sys_renameat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_readlinkat +#ifndef OVERRIDE_64_sys_readlinkat SC_TRACE_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), @@ -1250,7 +1251,7 @@ SC_TRACE_EVENT(sys_readlinkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_vmsplice +#ifndef OVERRIDE_64_sys_vmsplice SC_TRACE_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), @@ -1259,7 +1260,7 @@ SC_TRACE_EVENT(sys_vmsplice, TP_printk() ) #endif -#ifndef OVERRIDE_sys_utimensat +#ifndef OVERRIDE_64_sys_utimensat SC_TRACE_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), @@ -1268,7 +1269,7 @@ SC_TRACE_EVENT(sys_utimensat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_timerfd_settime +#ifndef OVERRIDE_64_sys_timerfd_settime SC_TRACE_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), @@ -1277,7 +1278,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, TP_printk() ) #endif -#ifndef OVERRIDE_sys_accept4 +#ifndef OVERRIDE_64_sys_accept4 SC_TRACE_EVENT(sys_accept4, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), @@ -1286,7 +1287,7 @@ SC_TRACE_EVENT(sys_accept4, TP_printk() ) #endif -#ifndef OVERRIDE_sys_signalfd4 +#ifndef OVERRIDE_64_sys_signalfd4 SC_TRACE_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), @@ -1295,7 +1296,7 @@ SC_TRACE_EVENT(sys_signalfd4, TP_printk() ) #endif -#ifndef OVERRIDE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_64_sys_rt_tgsigqueueinfo SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), @@ -1304,7 +1305,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, TP_printk() ) #endif -#ifndef OVERRIDE_sys_prlimit64 +#ifndef OVERRIDE_64_sys_prlimit64 SC_TRACE_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), @@ -1313,7 +1314,7 @@ SC_TRACE_EVENT(sys_prlimit64, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendmmsg +#ifndef OVERRIDE_64_sys_sendmmsg SC_TRACE_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), @@ -1322,7 +1323,7 @@ SC_TRACE_EVENT(sys_sendmmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_select +#ifndef OVERRIDE_64_sys_select SC_TRACE_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), @@ -1331,7 +1332,7 @@ SC_TRACE_EVENT(sys_select, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setsockopt +#ifndef OVERRIDE_64_sys_setsockopt SC_TRACE_EVENT(sys_setsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int optlen), TP_ARGS(fd, level, optname, optval, optlen), @@ -1340,7 +1341,7 @@ SC_TRACE_EVENT(sys_setsockopt, TP_printk() ) #endif -#ifndef OVERRIDE_sys_getsockopt +#ifndef OVERRIDE_64_sys_getsockopt SC_TRACE_EVENT(sys_getsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(fd, level, optname, optval, optlen), @@ -1349,7 +1350,7 @@ SC_TRACE_EVENT(sys_getsockopt, TP_printk() ) #endif -#ifndef OVERRIDE_sys_msgrcv +#ifndef OVERRIDE_64_sys_msgrcv SC_TRACE_EVENT(sys_msgrcv, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), @@ -1358,7 +1359,7 @@ SC_TRACE_EVENT(sys_msgrcv, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mount +#ifndef OVERRIDE_64_sys_mount SC_TRACE_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), @@ -1367,7 +1368,7 @@ SC_TRACE_EVENT(sys_mount, TP_printk() ) #endif -#ifndef OVERRIDE_sys_setxattr +#ifndef OVERRIDE_64_sys_setxattr SC_TRACE_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), @@ -1376,7 +1377,7 @@ SC_TRACE_EVENT(sys_setxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_lsetxattr +#ifndef OVERRIDE_64_sys_lsetxattr SC_TRACE_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), @@ -1385,7 +1386,7 @@ SC_TRACE_EVENT(sys_lsetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fsetxattr +#ifndef OVERRIDE_64_sys_fsetxattr SC_TRACE_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), @@ -1394,7 +1395,7 @@ SC_TRACE_EVENT(sys_fsetxattr, TP_printk() ) #endif -#ifndef OVERRIDE_sys_io_getevents +#ifndef OVERRIDE_64_sys_io_getevents SC_TRACE_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), @@ -1403,7 +1404,7 @@ SC_TRACE_EVENT(sys_io_getevents, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_timedsend +#ifndef OVERRIDE_64_sys_mq_timedsend SC_TRACE_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), @@ -1412,7 +1413,7 @@ SC_TRACE_EVENT(sys_mq_timedsend, TP_printk() ) #endif -#ifndef OVERRIDE_sys_mq_timedreceive +#ifndef OVERRIDE_64_sys_mq_timedreceive SC_TRACE_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), @@ -1421,7 +1422,7 @@ SC_TRACE_EVENT(sys_mq_timedreceive, TP_printk() ) #endif -#ifndef OVERRIDE_sys_waitid +#ifndef OVERRIDE_64_sys_waitid SC_TRACE_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), @@ -1430,7 +1431,7 @@ SC_TRACE_EVENT(sys_waitid, TP_printk() ) #endif -#ifndef OVERRIDE_sys_fchownat +#ifndef OVERRIDE_64_sys_fchownat SC_TRACE_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), @@ -1439,7 +1440,7 @@ SC_TRACE_EVENT(sys_fchownat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_linkat +#ifndef OVERRIDE_64_sys_linkat SC_TRACE_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), @@ -1448,7 +1449,7 @@ SC_TRACE_EVENT(sys_linkat, TP_printk() ) #endif -#ifndef OVERRIDE_sys_ppoll +#ifndef OVERRIDE_64_sys_ppoll SC_TRACE_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), @@ -1457,7 +1458,7 @@ SC_TRACE_EVENT(sys_ppoll, TP_printk() ) #endif -#ifndef OVERRIDE_sys_preadv +#ifndef OVERRIDE_64_sys_preadv SC_TRACE_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), @@ -1466,7 +1467,7 @@ SC_TRACE_EVENT(sys_preadv, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pwritev +#ifndef OVERRIDE_64_sys_pwritev SC_TRACE_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), @@ -1475,7 +1476,7 @@ SC_TRACE_EVENT(sys_pwritev, TP_printk() ) #endif -#ifndef OVERRIDE_sys_perf_event_open +#ifndef OVERRIDE_64_sys_perf_event_open SC_TRACE_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), @@ -1484,7 +1485,7 @@ SC_TRACE_EVENT(sys_perf_event_open, TP_printk() ) #endif -#ifndef OVERRIDE_sys_recvmmsg +#ifndef OVERRIDE_64_sys_recvmmsg SC_TRACE_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), @@ -1493,7 +1494,7 @@ SC_TRACE_EVENT(sys_recvmmsg, TP_printk() ) #endif -#ifndef OVERRIDE_sys_sendto +#ifndef OVERRIDE_64_sys_sendto SC_TRACE_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), @@ -1502,7 +1503,7 @@ SC_TRACE_EVENT(sys_sendto, TP_printk() ) #endif -#ifndef OVERRIDE_sys_recvfrom +#ifndef OVERRIDE_64_sys_recvfrom SC_TRACE_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), @@ -1511,7 +1512,7 @@ SC_TRACE_EVENT(sys_recvfrom, TP_printk() ) #endif -#ifndef OVERRIDE_sys_futex +#ifndef OVERRIDE_64_sys_futex SC_TRACE_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), @@ -1520,7 +1521,7 @@ SC_TRACE_EVENT(sys_futex, TP_printk() ) #endif -#ifndef OVERRIDE_sys_pselect6 +#ifndef OVERRIDE_64_sys_pselect6 SC_TRACE_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), @@ -1529,7 +1530,7 @@ SC_TRACE_EVENT(sys_pselect6, TP_printk() ) #endif -#ifndef OVERRIDE_sys_splice +#ifndef OVERRIDE_64_sys_splice SC_TRACE_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), @@ -1538,7 +1539,7 @@ SC_TRACE_EVENT(sys_splice, TP_printk() ) #endif -#ifndef OVERRIDE_sys_epoll_pwait +#ifndef OVERRIDE_64_sys_epoll_pwait SC_TRACE_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), @@ -1556,518 +1557,519 @@ SC_TRACE_EVENT(sys_epoll_pwait, #else /* CREATE_SYSCALL_TABLE */ #include "x86-64-syscalls-3.0.4_pointers_override.h" +#include "syscalls_pointers_override.h" -#ifndef OVERRIDE_TABLE_sys_read +#ifndef OVERRIDE_TABLE_64_sys_read TRACE_SYSCALL_TABLE(sys_read, sys_read, 0, 3) #endif -#ifndef OVERRIDE_TABLE_sys_write +#ifndef OVERRIDE_TABLE_64_sys_write TRACE_SYSCALL_TABLE(sys_write, sys_write, 1, 3) #endif -#ifndef OVERRIDE_TABLE_sys_open +#ifndef OVERRIDE_TABLE_64_sys_open TRACE_SYSCALL_TABLE(sys_open, sys_open, 2, 3) #endif -#ifndef OVERRIDE_TABLE_sys_newstat +#ifndef OVERRIDE_TABLE_64_sys_newstat TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newfstat +#ifndef OVERRIDE_TABLE_64_sys_newfstat TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 5, 2) #endif -#ifndef OVERRIDE_TABLE_sys_newlstat +#ifndef OVERRIDE_TABLE_64_sys_newlstat TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 6, 2) #endif -#ifndef OVERRIDE_TABLE_sys_poll +#ifndef OVERRIDE_TABLE_64_sys_poll TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 7, 3) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigaction +#ifndef OVERRIDE_TABLE_64_sys_rt_sigaction TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 13, 4) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigprocmask +#ifndef OVERRIDE_TABLE_64_sys_rt_sigprocmask TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 14, 4) #endif -#ifndef OVERRIDE_TABLE_sys_readv +#ifndef OVERRIDE_TABLE_64_sys_readv TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 19, 3) #endif -#ifndef OVERRIDE_TABLE_sys_writev +#ifndef OVERRIDE_TABLE_64_sys_writev TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 20, 3) #endif -#ifndef OVERRIDE_TABLE_sys_access +#ifndef OVERRIDE_TABLE_64_sys_access TRACE_SYSCALL_TABLE(sys_access, sys_access, 21, 2) #endif -#ifndef OVERRIDE_TABLE_sys_pipe +#ifndef OVERRIDE_TABLE_64_sys_pipe TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 22, 1) #endif -#ifndef OVERRIDE_TABLE_sys_select +#ifndef OVERRIDE_TABLE_64_sys_select TRACE_SYSCALL_TABLE(sys_select, sys_select, 23, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mincore +#ifndef OVERRIDE_TABLE_64_sys_mincore TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 27, 3) #endif -#ifndef OVERRIDE_TABLE_sys_shmat +#ifndef OVERRIDE_TABLE_64_sys_shmat TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 30, 3) #endif -#ifndef OVERRIDE_TABLE_sys_shmctl +#ifndef OVERRIDE_TABLE_64_sys_shmctl TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 31, 3) #endif -#ifndef OVERRIDE_TABLE_sys_nanosleep +#ifndef OVERRIDE_TABLE_64_sys_nanosleep TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 35, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getitimer +#ifndef OVERRIDE_TABLE_64_sys_getitimer TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 36, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setitimer +#ifndef OVERRIDE_TABLE_64_sys_setitimer TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 38, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sendfile64 +#ifndef OVERRIDE_TABLE_64_sys_sendfile64 TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 40, 4) #endif -#ifndef OVERRIDE_TABLE_sys_connect +#ifndef OVERRIDE_TABLE_64_sys_connect TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 42, 3) #endif -#ifndef OVERRIDE_TABLE_sys_accept +#ifndef OVERRIDE_TABLE_64_sys_accept TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 43, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sendto +#ifndef OVERRIDE_TABLE_64_sys_sendto TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 44, 6) #endif -#ifndef OVERRIDE_TABLE_sys_recvfrom +#ifndef OVERRIDE_TABLE_64_sys_recvfrom TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 45, 6) #endif -#ifndef OVERRIDE_TABLE_sys_sendmsg +#ifndef OVERRIDE_TABLE_64_sys_sendmsg TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 46, 3) #endif -#ifndef OVERRIDE_TABLE_sys_recvmsg +#ifndef OVERRIDE_TABLE_64_sys_recvmsg TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 47, 3) #endif -#ifndef OVERRIDE_TABLE_sys_bind +#ifndef OVERRIDE_TABLE_64_sys_bind TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 49, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getsockname +#ifndef OVERRIDE_TABLE_64_sys_getsockname TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 51, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getpeername +#ifndef OVERRIDE_TABLE_64_sys_getpeername TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 52, 3) #endif -#ifndef OVERRIDE_TABLE_sys_socketpair +#ifndef OVERRIDE_TABLE_64_sys_socketpair TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 53, 4) #endif -#ifndef OVERRIDE_TABLE_sys_setsockopt +#ifndef OVERRIDE_TABLE_64_sys_setsockopt TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 54, 5) #endif -#ifndef OVERRIDE_TABLE_sys_getsockopt +#ifndef OVERRIDE_TABLE_64_sys_getsockopt TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 55, 5) #endif -#ifndef OVERRIDE_TABLE_sys_wait4 +#ifndef OVERRIDE_TABLE_64_sys_wait4 TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 61, 4) #endif -#ifndef OVERRIDE_TABLE_sys_newuname +#ifndef OVERRIDE_TABLE_64_sys_newuname TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 63, 1) #endif -#ifndef OVERRIDE_TABLE_sys_semop +#ifndef OVERRIDE_TABLE_64_sys_semop TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 65, 3) #endif -#ifndef OVERRIDE_TABLE_sys_shmdt +#ifndef OVERRIDE_TABLE_64_sys_shmdt TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 67, 1) #endif -#ifndef OVERRIDE_TABLE_sys_msgsnd +#ifndef OVERRIDE_TABLE_64_sys_msgsnd TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 69, 4) #endif -#ifndef OVERRIDE_TABLE_sys_msgrcv +#ifndef OVERRIDE_TABLE_64_sys_msgrcv TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 70, 5) #endif -#ifndef OVERRIDE_TABLE_sys_msgctl +#ifndef OVERRIDE_TABLE_64_sys_msgctl TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 71, 3) #endif -#ifndef OVERRIDE_TABLE_sys_truncate +#ifndef OVERRIDE_TABLE_64_sys_truncate TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 76, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getdents +#ifndef OVERRIDE_TABLE_64_sys_getdents TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 78, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getcwd +#ifndef OVERRIDE_TABLE_64_sys_getcwd TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 79, 2) #endif -#ifndef OVERRIDE_TABLE_sys_chdir +#ifndef OVERRIDE_TABLE_64_sys_chdir TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 80, 1) #endif -#ifndef OVERRIDE_TABLE_sys_rename +#ifndef OVERRIDE_TABLE_64_sys_rename TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 82, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mkdir +#ifndef OVERRIDE_TABLE_64_sys_mkdir TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 83, 2) #endif -#ifndef OVERRIDE_TABLE_sys_rmdir +#ifndef OVERRIDE_TABLE_64_sys_rmdir TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 84, 1) #endif -#ifndef OVERRIDE_TABLE_sys_creat +#ifndef OVERRIDE_TABLE_64_sys_creat TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 85, 2) #endif -#ifndef OVERRIDE_TABLE_sys_link +#ifndef OVERRIDE_TABLE_64_sys_link TRACE_SYSCALL_TABLE(sys_link, sys_link, 86, 2) #endif -#ifndef OVERRIDE_TABLE_sys_unlink +#ifndef OVERRIDE_TABLE_64_sys_unlink TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 87, 1) #endif -#ifndef OVERRIDE_TABLE_sys_symlink +#ifndef OVERRIDE_TABLE_64_sys_symlink TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 88, 2) #endif -#ifndef OVERRIDE_TABLE_sys_readlink +#ifndef OVERRIDE_TABLE_64_sys_readlink TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 89, 3) #endif -#ifndef OVERRIDE_TABLE_sys_chmod +#ifndef OVERRIDE_TABLE_64_sys_chmod TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 90, 2) #endif -#ifndef OVERRIDE_TABLE_sys_chown +#ifndef OVERRIDE_TABLE_64_sys_chown TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 92, 3) #endif -#ifndef OVERRIDE_TABLE_sys_lchown +#ifndef OVERRIDE_TABLE_64_sys_lchown TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 94, 3) #endif -#ifndef OVERRIDE_TABLE_sys_gettimeofday +#ifndef OVERRIDE_TABLE_64_sys_gettimeofday TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 96, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getrlimit +#ifndef OVERRIDE_TABLE_64_sys_getrlimit TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 97, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getrusage +#ifndef OVERRIDE_TABLE_64_sys_getrusage TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 98, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sysinfo +#ifndef OVERRIDE_TABLE_64_sys_sysinfo TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 99, 1) #endif -#ifndef OVERRIDE_TABLE_sys_times +#ifndef OVERRIDE_TABLE_64_sys_times TRACE_SYSCALL_TABLE(sys_times, sys_times, 100, 1) #endif -#ifndef OVERRIDE_TABLE_sys_syslog +#ifndef OVERRIDE_TABLE_64_sys_syslog TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getgroups +#ifndef OVERRIDE_TABLE_64_sys_getgroups TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 115, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setgroups +#ifndef OVERRIDE_TABLE_64_sys_setgroups TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 116, 2) #endif -#ifndef OVERRIDE_TABLE_sys_getresuid +#ifndef OVERRIDE_TABLE_64_sys_getresuid TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 118, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getresgid +#ifndef OVERRIDE_TABLE_64_sys_getresgid TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 120, 3) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigpending +#ifndef OVERRIDE_TABLE_64_sys_rt_sigpending TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 127, 2) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigtimedwait +#ifndef OVERRIDE_TABLE_64_sys_rt_sigtimedwait TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 128, 4) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_TABLE_64_sys_rt_sigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 129, 3) #endif -#ifndef OVERRIDE_TABLE_sys_rt_sigsuspend +#ifndef OVERRIDE_TABLE_64_sys_rt_sigsuspend TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 130, 2) #endif -#ifndef OVERRIDE_TABLE_sys_utime +#ifndef OVERRIDE_TABLE_64_sys_utime TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 132, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mknod +#ifndef OVERRIDE_TABLE_64_sys_mknod TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 133, 3) #endif -#ifndef OVERRIDE_TABLE_sys_ustat +#ifndef OVERRIDE_TABLE_64_sys_ustat TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 136, 2) #endif -#ifndef OVERRIDE_TABLE_sys_statfs +#ifndef OVERRIDE_TABLE_64_sys_statfs TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 137, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fstatfs +#ifndef OVERRIDE_TABLE_64_sys_fstatfs TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 138, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setparam +#ifndef OVERRIDE_TABLE_64_sys_sched_setparam TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 142, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getparam +#ifndef OVERRIDE_TABLE_64_sys_sched_getparam TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 143, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setscheduler +#ifndef OVERRIDE_TABLE_64_sys_sched_setscheduler TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 144, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sched_rr_get_interval +#ifndef OVERRIDE_TABLE_64_sys_sched_rr_get_interval TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 148, 2) #endif -#ifndef OVERRIDE_TABLE_sys_pivot_root +#ifndef OVERRIDE_TABLE_64_sys_pivot_root TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 155, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sysctl +#ifndef OVERRIDE_TABLE_64_sys_sysctl TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 156, 1) #endif -#ifndef OVERRIDE_TABLE_sys_adjtimex +#ifndef OVERRIDE_TABLE_64_sys_adjtimex TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 159, 1) #endif -#ifndef OVERRIDE_TABLE_sys_setrlimit +#ifndef OVERRIDE_TABLE_64_sys_setrlimit TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 160, 2) #endif -#ifndef OVERRIDE_TABLE_sys_chroot +#ifndef OVERRIDE_TABLE_64_sys_chroot TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 161, 1) #endif -#ifndef OVERRIDE_TABLE_sys_settimeofday +#ifndef OVERRIDE_TABLE_64_sys_settimeofday TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 164, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mount +#ifndef OVERRIDE_TABLE_64_sys_mount TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 165, 5) #endif -#ifndef OVERRIDE_TABLE_sys_umount +#ifndef OVERRIDE_TABLE_64_sys_umount TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 166, 2) #endif -#ifndef OVERRIDE_TABLE_sys_swapon +#ifndef OVERRIDE_TABLE_64_sys_swapon TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 167, 2) #endif -#ifndef OVERRIDE_TABLE_sys_swapoff +#ifndef OVERRIDE_TABLE_64_sys_swapoff TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 168, 1) #endif -#ifndef OVERRIDE_TABLE_sys_reboot +#ifndef OVERRIDE_TABLE_64_sys_reboot TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 169, 4) #endif -#ifndef OVERRIDE_TABLE_sys_sethostname +#ifndef OVERRIDE_TABLE_64_sys_sethostname TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 170, 2) #endif -#ifndef OVERRIDE_TABLE_sys_setdomainname +#ifndef OVERRIDE_TABLE_64_sys_setdomainname TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 171, 2) #endif -#ifndef OVERRIDE_TABLE_sys_init_module +#ifndef OVERRIDE_TABLE_64_sys_init_module TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 175, 3) #endif -#ifndef OVERRIDE_TABLE_sys_delete_module +#ifndef OVERRIDE_TABLE_64_sys_delete_module TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 176, 2) #endif -#ifndef OVERRIDE_TABLE_sys_nfsservctl +#ifndef OVERRIDE_TABLE_64_sys_nfsservctl TRACE_SYSCALL_TABLE(sys_nfsservctl, sys_nfsservctl, 180, 3) #endif -#ifndef OVERRIDE_TABLE_sys_setxattr +#ifndef OVERRIDE_TABLE_64_sys_setxattr TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 188, 5) #endif -#ifndef OVERRIDE_TABLE_sys_lsetxattr +#ifndef OVERRIDE_TABLE_64_sys_lsetxattr TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 189, 5) #endif -#ifndef OVERRIDE_TABLE_sys_fsetxattr +#ifndef OVERRIDE_TABLE_64_sys_fsetxattr TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 190, 5) #endif -#ifndef OVERRIDE_TABLE_sys_getxattr +#ifndef OVERRIDE_TABLE_64_sys_getxattr TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 191, 4) #endif -#ifndef OVERRIDE_TABLE_sys_lgetxattr +#ifndef OVERRIDE_TABLE_64_sys_lgetxattr TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 192, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fgetxattr +#ifndef OVERRIDE_TABLE_64_sys_fgetxattr TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 193, 4) #endif -#ifndef OVERRIDE_TABLE_sys_listxattr +#ifndef OVERRIDE_TABLE_64_sys_listxattr TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 194, 3) #endif -#ifndef OVERRIDE_TABLE_sys_llistxattr +#ifndef OVERRIDE_TABLE_64_sys_llistxattr TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 195, 3) #endif -#ifndef OVERRIDE_TABLE_sys_flistxattr +#ifndef OVERRIDE_TABLE_64_sys_flistxattr TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 196, 3) #endif -#ifndef OVERRIDE_TABLE_sys_removexattr +#ifndef OVERRIDE_TABLE_64_sys_removexattr TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 197, 2) #endif -#ifndef OVERRIDE_TABLE_sys_lremovexattr +#ifndef OVERRIDE_TABLE_64_sys_lremovexattr TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 198, 2) #endif -#ifndef OVERRIDE_TABLE_sys_fremovexattr +#ifndef OVERRIDE_TABLE_64_sys_fremovexattr TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 199, 2) #endif -#ifndef OVERRIDE_TABLE_sys_time +#ifndef OVERRIDE_TABLE_64_sys_time TRACE_SYSCALL_TABLE(sys_time, sys_time, 201, 1) #endif -#ifndef OVERRIDE_TABLE_sys_futex +#ifndef OVERRIDE_TABLE_64_sys_futex TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 202, 6) #endif -#ifndef OVERRIDE_TABLE_sys_sched_setaffinity +#ifndef OVERRIDE_TABLE_64_sys_sched_setaffinity TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 203, 3) #endif -#ifndef OVERRIDE_TABLE_sys_sched_getaffinity +#ifndef OVERRIDE_TABLE_64_sys_sched_getaffinity TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 204, 3) #endif -#ifndef OVERRIDE_TABLE_sys_io_setup +#ifndef OVERRIDE_TABLE_64_sys_io_setup TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 206, 2) #endif -#ifndef OVERRIDE_TABLE_sys_io_getevents +#ifndef OVERRIDE_TABLE_64_sys_io_getevents TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 208, 5) #endif -#ifndef OVERRIDE_TABLE_sys_io_submit +#ifndef OVERRIDE_TABLE_64_sys_io_submit TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 209, 3) #endif -#ifndef OVERRIDE_TABLE_sys_io_cancel +#ifndef OVERRIDE_TABLE_64_sys_io_cancel TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 210, 3) #endif -#ifndef OVERRIDE_TABLE_sys_getdents64 +#ifndef OVERRIDE_TABLE_64_sys_getdents64 TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 217, 3) #endif -#ifndef OVERRIDE_TABLE_sys_set_tid_address +#ifndef OVERRIDE_TABLE_64_sys_set_tid_address TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 218, 1) #endif -#ifndef OVERRIDE_TABLE_sys_semtimedop +#ifndef OVERRIDE_TABLE_64_sys_semtimedop TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 220, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timer_create +#ifndef OVERRIDE_TABLE_64_sys_timer_create TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 222, 3) #endif -#ifndef OVERRIDE_TABLE_sys_timer_settime +#ifndef OVERRIDE_TABLE_64_sys_timer_settime TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 223, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timer_gettime +#ifndef OVERRIDE_TABLE_64_sys_timer_gettime TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 224, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_settime +#ifndef OVERRIDE_TABLE_64_sys_clock_settime TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 227, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_gettime +#ifndef OVERRIDE_TABLE_64_sys_clock_gettime TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 228, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_getres +#ifndef OVERRIDE_TABLE_64_sys_clock_getres TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 229, 2) #endif -#ifndef OVERRIDE_TABLE_sys_clock_nanosleep +#ifndef OVERRIDE_TABLE_64_sys_clock_nanosleep TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 230, 4) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_wait +#ifndef OVERRIDE_TABLE_64_sys_epoll_wait TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 232, 4) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_ctl +#ifndef OVERRIDE_TABLE_64_sys_epoll_ctl TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 233, 4) #endif -#ifndef OVERRIDE_TABLE_sys_utimes +#ifndef OVERRIDE_TABLE_64_sys_utimes TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 235, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mq_open +#ifndef OVERRIDE_TABLE_64_sys_mq_open TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 240, 4) #endif -#ifndef OVERRIDE_TABLE_sys_mq_unlink +#ifndef OVERRIDE_TABLE_64_sys_mq_unlink TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 241, 1) #endif -#ifndef OVERRIDE_TABLE_sys_mq_timedsend +#ifndef OVERRIDE_TABLE_64_sys_mq_timedsend TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 242, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mq_timedreceive +#ifndef OVERRIDE_TABLE_64_sys_mq_timedreceive TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 243, 5) #endif -#ifndef OVERRIDE_TABLE_sys_mq_notify +#ifndef OVERRIDE_TABLE_64_sys_mq_notify TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 244, 2) #endif -#ifndef OVERRIDE_TABLE_sys_mq_getsetattr +#ifndef OVERRIDE_TABLE_64_sys_mq_getsetattr TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 245, 3) #endif -#ifndef OVERRIDE_TABLE_sys_kexec_load +#ifndef OVERRIDE_TABLE_64_sys_kexec_load TRACE_SYSCALL_TABLE(sys_kexec_load, sys_kexec_load, 246, 4) #endif -#ifndef OVERRIDE_TABLE_sys_waitid +#ifndef OVERRIDE_TABLE_64_sys_waitid TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 247, 5) #endif -#ifndef OVERRIDE_TABLE_sys_inotify_add_watch +#ifndef OVERRIDE_TABLE_64_sys_inotify_add_watch TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 254, 3) #endif -#ifndef OVERRIDE_TABLE_sys_openat +#ifndef OVERRIDE_TABLE_64_sys_openat TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 257, 4) #endif -#ifndef OVERRIDE_TABLE_sys_mkdirat +#ifndef OVERRIDE_TABLE_64_sys_mkdirat TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 258, 3) #endif -#ifndef OVERRIDE_TABLE_sys_mknodat +#ifndef OVERRIDE_TABLE_64_sys_mknodat TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 259, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fchownat +#ifndef OVERRIDE_TABLE_64_sys_fchownat TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 260, 5) #endif -#ifndef OVERRIDE_TABLE_sys_futimesat +#ifndef OVERRIDE_TABLE_64_sys_futimesat TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 261, 3) #endif -#ifndef OVERRIDE_TABLE_sys_newfstatat +#ifndef OVERRIDE_TABLE_64_sys_newfstatat TRACE_SYSCALL_TABLE(sys_newfstatat, sys_newfstatat, 262, 4) #endif -#ifndef OVERRIDE_TABLE_sys_unlinkat +#ifndef OVERRIDE_TABLE_64_sys_unlinkat TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 263, 3) #endif -#ifndef OVERRIDE_TABLE_sys_renameat +#ifndef OVERRIDE_TABLE_64_sys_renameat TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 264, 4) #endif -#ifndef OVERRIDE_TABLE_sys_linkat +#ifndef OVERRIDE_TABLE_64_sys_linkat TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 265, 5) #endif -#ifndef OVERRIDE_TABLE_sys_symlinkat +#ifndef OVERRIDE_TABLE_64_sys_symlinkat TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 266, 3) #endif -#ifndef OVERRIDE_TABLE_sys_readlinkat +#ifndef OVERRIDE_TABLE_64_sys_readlinkat TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 267, 4) #endif -#ifndef OVERRIDE_TABLE_sys_fchmodat +#ifndef OVERRIDE_TABLE_64_sys_fchmodat TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 268, 3) #endif -#ifndef OVERRIDE_TABLE_sys_faccessat +#ifndef OVERRIDE_TABLE_64_sys_faccessat TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 269, 3) #endif -#ifndef OVERRIDE_TABLE_sys_pselect6 +#ifndef OVERRIDE_TABLE_64_sys_pselect6 TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 270, 6) #endif -#ifndef OVERRIDE_TABLE_sys_ppoll +#ifndef OVERRIDE_TABLE_64_sys_ppoll TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 271, 5) #endif -#ifndef OVERRIDE_TABLE_sys_set_robust_list +#ifndef OVERRIDE_TABLE_64_sys_set_robust_list TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 273, 2) #endif -#ifndef OVERRIDE_TABLE_sys_get_robust_list +#ifndef OVERRIDE_TABLE_64_sys_get_robust_list TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 274, 3) #endif -#ifndef OVERRIDE_TABLE_sys_splice +#ifndef OVERRIDE_TABLE_64_sys_splice TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 275, 6) #endif -#ifndef OVERRIDE_TABLE_sys_vmsplice +#ifndef OVERRIDE_TABLE_64_sys_vmsplice TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 278, 4) #endif -#ifndef OVERRIDE_TABLE_sys_utimensat +#ifndef OVERRIDE_TABLE_64_sys_utimensat TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 280, 4) #endif -#ifndef OVERRIDE_TABLE_sys_epoll_pwait +#ifndef OVERRIDE_TABLE_64_sys_epoll_pwait TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 281, 6) #endif -#ifndef OVERRIDE_TABLE_sys_signalfd +#ifndef OVERRIDE_TABLE_64_sys_signalfd TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 282, 3) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_settime +#ifndef OVERRIDE_TABLE_64_sys_timerfd_settime TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 286, 4) #endif -#ifndef OVERRIDE_TABLE_sys_timerfd_gettime +#ifndef OVERRIDE_TABLE_64_sys_timerfd_gettime TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 287, 2) #endif -#ifndef OVERRIDE_TABLE_sys_accept4 +#ifndef OVERRIDE_TABLE_64_sys_accept4 TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 288, 4) #endif -#ifndef OVERRIDE_TABLE_sys_signalfd4 +#ifndef OVERRIDE_TABLE_64_sys_signalfd4 TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 289, 4) #endif -#ifndef OVERRIDE_TABLE_sys_pipe2 +#ifndef OVERRIDE_TABLE_64_sys_pipe2 TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 293, 2) #endif -#ifndef OVERRIDE_TABLE_sys_preadv +#ifndef OVERRIDE_TABLE_64_sys_preadv TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 295, 5) #endif -#ifndef OVERRIDE_TABLE_sys_pwritev +#ifndef OVERRIDE_TABLE_64_sys_pwritev TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 296, 5) #endif -#ifndef OVERRIDE_TABLE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_TABLE_64_sys_rt_tgsigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 297, 4) #endif -#ifndef OVERRIDE_TABLE_sys_perf_event_open +#ifndef OVERRIDE_TABLE_64_sys_perf_event_open TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 298, 5) #endif -#ifndef OVERRIDE_TABLE_sys_recvmmsg +#ifndef OVERRIDE_TABLE_64_sys_recvmmsg TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 299, 5) #endif -#ifndef OVERRIDE_TABLE_sys_prlimit64 +#ifndef OVERRIDE_TABLE_64_sys_prlimit64 TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 302, 4) #endif -#ifndef OVERRIDE_TABLE_sys_clock_adjtime +#ifndef OVERRIDE_TABLE_64_sys_clock_adjtime TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 305, 2) #endif -#ifndef OVERRIDE_TABLE_sys_sendmmsg +#ifndef OVERRIDE_TABLE_64_sys_sendmmsg TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 307, 4) #endif diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/Makefile b/instrumentation/syscalls/lttng-syscalls-extractor/Makefile index 07f09d46..4beb88c0 100644 --- a/instrumentation/syscalls/lttng-syscalls-extractor/Makefile +++ b/instrumentation/syscalls/lttng-syscalls-extractor/Makefile @@ -1,23 +1 @@ -ifneq ($(KERNELRELEASE),) -ifneq ($(CONFIG_TRACEPOINTS),) - obj-m += lttng-syscalls-extractor.o - -endif - -else - KERNELDIR ?= /lib/modules/$(shell uname -r)/build - PWD := $(shell pwd) - CFLAGS = $(EXTCFLAGS) - -default: - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules - -modules_install: - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install - /sbin/depmod -a - -clean: - $(MAKE) -C $(KERNELDIR) M=$(PWD) clean - -endif diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index c6636e76..5eddb274 100644 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -3,12 +3,13 @@ # Generate system call probe description macros from syscall metadata dump file. # example usage: # -# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 -# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 +# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 64 +# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 64 CLASS=$1 INPUTDIR=$2 INPUTFILE=$3 +BITNESS=$4 INPUT=${INPUTDIR}/${INPUTFILE} SRCFILE=gen.tmp.0 TMPFILE=gen.tmp.1 @@ -51,6 +52,7 @@ echo \ #include #include #include \"${INPUTFILE}_${CLASS}_override.h\" +#include \"syscalls_${CLASS}_override.h\" " >> ${HEADER} if [ "$CLASS" = integers ]; then @@ -69,7 +71,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^)]*)\) '\ 'args: \(([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_$1)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} @@ -85,7 +87,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^)]*)\) '\ 'args: \(([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $5),\n'\ ' TP_ARGS($5),\n'\ @@ -104,7 +106,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $6, $5 $7),\n'\ ' TP_ARGS($6, $7),\n'\ @@ -123,7 +125,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $7, $5 $8, $6 $9),\n'\ ' TP_ARGS($7, $8, $9),\n'\ @@ -143,7 +145,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $8, $5 $9, $6 $10, $7 $11),\n'\ ' TP_ARGS($8, $9, $10, $11),\n'\ @@ -162,7 +164,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $9, $5 $10, $6 $11, $7 $12, $8 $13),\n'\ ' TP_ARGS($9, $10, $11, $12, $13),\n'\ @@ -182,7 +184,7 @@ grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\)/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_'"${BITNESS}"'_sys_$1\n'\ 'SC_TRACE_EVENT(sys_$1,\n'\ ' TP_PROTO($4 $10, $5 $11, $6 $12, $7 $13, $8 $14, $9 $15),\n'\ ' TP_ARGS($10, $11, $12, $13, $14, $15),\n'\ @@ -210,6 +212,7 @@ echo \ #else /* CREATE_SYSCALL_TABLE */ #include \"${INPUTFILE}_${CLASS}_override.h\" +#include \"syscalls_${CLASS}_override.h\" " >> ${HEADER} NRARGS=0 @@ -218,7 +221,7 @@ if [ "$CLASS" = integers ]; then #noargs grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_TABLE_sys_$1\n'\ +'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_sys_$1\n'\ 'TRACE_SYSCALL_TABLE\(syscalls_noargs, sys_$1, $2, $3\)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} @@ -227,7 +230,7 @@ fi #others. grep -v "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_TABLE_sys_$1\n'\ +'#ifndef OVERRIDE_TABLE_'"${BITNESS}"'_sys_$1\n'\ 'TRACE_SYSCALL_TABLE(sys_$1, sys_$1, $2, $3)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} -- 2.34.1