From 7e42c4ec17806634672405848eaacc4815840281 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 27 Sep 2011 18:47:38 -0400 Subject: [PATCH] Create common override file for all architectures Signed-off-by: Mathieu Desnoyers --- .../syscalls/headers/syscalls_integers.h | 2 + .../headers/syscalls_integers_override.h | 13 + .../syscalls/headers/syscalls_pointers.h | 2 + .../headers/syscalls_pointers_override.h | 0 .../x86-32-syscalls-3.1.0-rc6_integers.h | 210 +++++----- .../x86-32-syscalls-3.1.0-rc6_pointers.h | 368 +++++++++--------- .../headers/x86-64-syscalls-3.0.4_integers.h | 180 ++++----- .../x86-64-syscalls-3.0.4_integers_override.h | 21 - .../headers/x86-64-syscalls-3.0.4_pointers.h | 342 ++++++++-------- .../lttng-syscalls-generate-headers.sh | 4 +- 10 files changed, 569 insertions(+), 573 deletions(-) create mode 100644 instrumentation/syscalls/headers/syscalls_integers_override.h create mode 100644 instrumentation/syscalls/headers/syscalls_pointers_override.h diff --git a/instrumentation/syscalls/headers/syscalls_integers.h b/instrumentation/syscalls/headers/syscalls_integers.h index 41db9161..a4a3b379 100644 --- a/instrumentation/syscalls/headers/syscalls_integers.h +++ b/instrumentation/syscalls/headers/syscalls_integers.h @@ -1,3 +1,5 @@ +#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 new file mode 100644 index 00000000..2d358bb2 --- /dev/null +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -0,0 +1,13 @@ +#define OVERRIDE_sys_mmap + +#ifndef CREATE_SYSCALL_TABLE + +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), + TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len) __field(int, prot) __field(int, flags) __field(int, fd) __field(off_t, offset)), + TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, off)), + TP_printk() +) + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/syscalls_pointers.h b/instrumentation/syscalls/headers/syscalls_pointers.h index 32238902..5f18034c 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers.h +++ b/instrumentation/syscalls/headers/syscalls_pointers.h @@ -1,3 +1,5 @@ +#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 new file mode 100644 index 00000000..e69de29b 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 d01611a9..4825562b 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 @@ -842,319 +842,319 @@ SC_TRACE_EVENT(sys_mmap_pgoff, #include "x86-32-syscalls-3.1.0-rc6_integers_override.h" -#ifndef OVERRIDE_sys_restart_syscall +#ifndef OVERRIDE_TABLE_sys_restart_syscall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 0, 0) #endif -#ifndef OVERRIDE_sys_getpid +#ifndef OVERRIDE_TABLE_sys_getpid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 20, 0) #endif -#ifndef OVERRIDE_sys_getuid16 +#ifndef OVERRIDE_TABLE_sys_getuid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid16, 24, 0) #endif -#ifndef OVERRIDE_sys_pause +#ifndef OVERRIDE_TABLE_sys_pause TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 29, 0) #endif -#ifndef OVERRIDE_sys_sync +#ifndef OVERRIDE_TABLE_sys_sync TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 36, 0) #endif -#ifndef OVERRIDE_sys_getgid16 +#ifndef OVERRIDE_TABLE_sys_getgid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid16, 47, 0) #endif -#ifndef OVERRIDE_sys_geteuid16 +#ifndef OVERRIDE_TABLE_sys_geteuid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid16, 49, 0) #endif -#ifndef OVERRIDE_sys_getegid16 +#ifndef OVERRIDE_TABLE_sys_getegid16 TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid16, 50, 0) #endif -#ifndef OVERRIDE_sys_getppid +#ifndef OVERRIDE_TABLE_sys_getppid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 64, 0) #endif -#ifndef OVERRIDE_sys_getpgrp +#ifndef OVERRIDE_TABLE_sys_getpgrp TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 65, 0) #endif -#ifndef OVERRIDE_sys_setsid +#ifndef OVERRIDE_TABLE_sys_setsid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 66, 0) #endif -#ifndef OVERRIDE_sys_sgetmask +#ifndef OVERRIDE_TABLE_sys_sgetmask TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 68, 0) #endif -#ifndef OVERRIDE_sys_vhangup +#ifndef OVERRIDE_TABLE_sys_vhangup TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 111, 0) #endif -#ifndef OVERRIDE_sys_munlockall +#ifndef OVERRIDE_TABLE_sys_munlockall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 153, 0) #endif -#ifndef OVERRIDE_sys_sched_yield +#ifndef OVERRIDE_TABLE_sys_sched_yield TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 158, 0) #endif -#ifndef OVERRIDE_sys_getuid +#ifndef OVERRIDE_TABLE_sys_getuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 199, 0) #endif -#ifndef OVERRIDE_sys_getgid +#ifndef OVERRIDE_TABLE_sys_getgid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 200, 0) #endif -#ifndef OVERRIDE_sys_geteuid +#ifndef OVERRIDE_TABLE_sys_geteuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 201, 0) #endif -#ifndef OVERRIDE_sys_getegid +#ifndef OVERRIDE_TABLE_sys_getegid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 202, 0) #endif -#ifndef OVERRIDE_sys_gettid +#ifndef OVERRIDE_TABLE_sys_gettid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 224, 0) #endif -#ifndef OVERRIDE_sys_inotify_init +#ifndef OVERRIDE_TABLE_sys_inotify_init TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 291, 0) #endif -#ifndef OVERRIDE_sys_exit +#ifndef OVERRIDE_TABLE_sys_exit TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 1, 1) #endif -#ifndef OVERRIDE_sys_close +#ifndef OVERRIDE_TABLE_sys_close TRACE_SYSCALL_TABLE(sys_close, sys_close, 6, 1) #endif -#ifndef OVERRIDE_sys_lseek +#ifndef OVERRIDE_TABLE_sys_lseek TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 19, 3) #endif -#ifndef OVERRIDE_sys_setuid16 +#ifndef OVERRIDE_TABLE_sys_setuid16 TRACE_SYSCALL_TABLE(sys_setuid16, sys_setuid16, 23, 1) #endif -#ifndef OVERRIDE_sys_ptrace +#ifndef OVERRIDE_TABLE_sys_ptrace TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 26, 4) #endif -#ifndef OVERRIDE_sys_alarm +#ifndef OVERRIDE_TABLE_sys_alarm TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 27, 1) #endif -#ifndef OVERRIDE_sys_nice +#ifndef OVERRIDE_TABLE_sys_nice TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 34, 1) #endif -#ifndef OVERRIDE_sys_kill +#ifndef OVERRIDE_TABLE_sys_kill TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 37, 2) #endif -#ifndef OVERRIDE_sys_dup +#ifndef OVERRIDE_TABLE_sys_dup TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 41, 1) #endif -#ifndef OVERRIDE_sys_brk +#ifndef OVERRIDE_TABLE_sys_brk TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 45, 1) #endif -#ifndef OVERRIDE_sys_setgid16 +#ifndef OVERRIDE_TABLE_sys_setgid16 TRACE_SYSCALL_TABLE(sys_setgid16, sys_setgid16, 46, 1) #endif -#ifndef OVERRIDE_sys_signal +#ifndef OVERRIDE_TABLE_sys_signal TRACE_SYSCALL_TABLE(sys_signal, sys_signal, 48, 2) #endif -#ifndef OVERRIDE_sys_ioctl +#ifndef OVERRIDE_TABLE_sys_ioctl TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 54, 3) #endif -#ifndef OVERRIDE_sys_fcntl +#ifndef OVERRIDE_TABLE_sys_fcntl TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 55, 3) #endif -#ifndef OVERRIDE_sys_setpgid +#ifndef OVERRIDE_TABLE_sys_setpgid TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 57, 2) #endif -#ifndef OVERRIDE_sys_umask +#ifndef OVERRIDE_TABLE_sys_umask TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 60, 1) #endif -#ifndef OVERRIDE_sys_dup2 +#ifndef OVERRIDE_TABLE_sys_dup2 TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 63, 2) #endif -#ifndef OVERRIDE_sys_ssetmask +#ifndef OVERRIDE_TABLE_sys_ssetmask TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 69, 1) #endif -#ifndef OVERRIDE_sys_setreuid16 +#ifndef OVERRIDE_TABLE_sys_setreuid16 TRACE_SYSCALL_TABLE(sys_setreuid16, sys_setreuid16, 70, 2) #endif -#ifndef OVERRIDE_sys_setregid16 +#ifndef OVERRIDE_TABLE_sys_setregid16 TRACE_SYSCALL_TABLE(sys_setregid16, sys_setregid16, 71, 2) #endif -#ifndef OVERRIDE_sys_munmap +#ifndef OVERRIDE_TABLE_sys_munmap TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 91, 2) #endif -#ifndef OVERRIDE_sys_ftruncate +#ifndef OVERRIDE_TABLE_sys_ftruncate TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 93, 2) #endif -#ifndef OVERRIDE_sys_fchmod +#ifndef OVERRIDE_TABLE_sys_fchmod TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 94, 2) #endif -#ifndef OVERRIDE_sys_fchown16 +#ifndef OVERRIDE_TABLE_sys_fchown16 TRACE_SYSCALL_TABLE(sys_fchown16, sys_fchown16, 95, 3) #endif -#ifndef OVERRIDE_sys_getpriority +#ifndef OVERRIDE_TABLE_sys_getpriority TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 96, 2) #endif -#ifndef OVERRIDE_sys_setpriority +#ifndef OVERRIDE_TABLE_sys_setpriority TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 97, 3) #endif -#ifndef OVERRIDE_sys_fsync +#ifndef OVERRIDE_TABLE_sys_fsync TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 118, 1) #endif -#ifndef OVERRIDE_sys_mprotect +#ifndef OVERRIDE_TABLE_sys_mprotect TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 125, 3) #endif -#ifndef OVERRIDE_sys_getpgid +#ifndef OVERRIDE_TABLE_sys_getpgid TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 132, 1) #endif -#ifndef OVERRIDE_sys_fchdir +#ifndef OVERRIDE_TABLE_sys_fchdir TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 133, 1) #endif -#ifndef OVERRIDE_sys_bdflush +#ifndef OVERRIDE_TABLE_sys_bdflush TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 134, 2) #endif -#ifndef OVERRIDE_sys_sysfs +#ifndef OVERRIDE_TABLE_sys_sysfs TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 135, 3) #endif -#ifndef OVERRIDE_sys_personality +#ifndef OVERRIDE_TABLE_sys_personality TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 136, 1) #endif -#ifndef OVERRIDE_sys_setfsuid16 +#ifndef OVERRIDE_TABLE_sys_setfsuid16 TRACE_SYSCALL_TABLE(sys_setfsuid16, sys_setfsuid16, 138, 1) #endif -#ifndef OVERRIDE_sys_setfsgid16 +#ifndef OVERRIDE_TABLE_sys_setfsgid16 TRACE_SYSCALL_TABLE(sys_setfsgid16, sys_setfsgid16, 139, 1) #endif -#ifndef OVERRIDE_sys_flock +#ifndef OVERRIDE_TABLE_sys_flock TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 143, 2) #endif -#ifndef OVERRIDE_sys_msync +#ifndef OVERRIDE_TABLE_sys_msync TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 144, 3) #endif -#ifndef OVERRIDE_sys_getsid +#ifndef OVERRIDE_TABLE_sys_getsid TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 147, 1) #endif -#ifndef OVERRIDE_sys_fdatasync +#ifndef OVERRIDE_TABLE_sys_fdatasync TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 148, 1) #endif -#ifndef OVERRIDE_sys_mlock +#ifndef OVERRIDE_TABLE_sys_mlock TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 150, 2) #endif -#ifndef OVERRIDE_sys_munlock +#ifndef OVERRIDE_TABLE_sys_munlock TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 151, 2) #endif -#ifndef OVERRIDE_sys_mlockall +#ifndef OVERRIDE_TABLE_sys_mlockall TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 152, 1) #endif -#ifndef OVERRIDE_sys_sched_getscheduler +#ifndef OVERRIDE_TABLE_sys_sched_getscheduler TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 157, 1) #endif -#ifndef OVERRIDE_sys_sched_get_priority_max +#ifndef OVERRIDE_TABLE_sys_sched_get_priority_max TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 159, 1) #endif -#ifndef OVERRIDE_sys_sched_get_priority_min +#ifndef OVERRIDE_TABLE_sys_sched_get_priority_min TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 160, 1) #endif -#ifndef OVERRIDE_sys_mremap +#ifndef OVERRIDE_TABLE_sys_mremap TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 163, 5) #endif -#ifndef OVERRIDE_sys_setresuid16 +#ifndef OVERRIDE_TABLE_sys_setresuid16 TRACE_SYSCALL_TABLE(sys_setresuid16, sys_setresuid16, 164, 3) #endif -#ifndef OVERRIDE_sys_setresgid16 +#ifndef OVERRIDE_TABLE_sys_setresgid16 TRACE_SYSCALL_TABLE(sys_setresgid16, sys_setresgid16, 170, 3) #endif -#ifndef OVERRIDE_sys_prctl +#ifndef OVERRIDE_TABLE_sys_prctl TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 172, 5) #endif -#ifndef OVERRIDE_sys_mmap_pgoff +#ifndef OVERRIDE_TABLE_sys_mmap_pgoff TRACE_SYSCALL_TABLE(sys_mmap_pgoff, sys_mmap_pgoff, 192, 6) #endif -#ifndef OVERRIDE_sys_setreuid +#ifndef OVERRIDE_TABLE_sys_setreuid TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 203, 2) #endif -#ifndef OVERRIDE_sys_setregid +#ifndef OVERRIDE_TABLE_sys_setregid TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 204, 2) #endif -#ifndef OVERRIDE_sys_fchown +#ifndef OVERRIDE_TABLE_sys_fchown TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 207, 3) #endif -#ifndef OVERRIDE_sys_setresuid +#ifndef OVERRIDE_TABLE_sys_setresuid TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 208, 3) #endif -#ifndef OVERRIDE_sys_setresgid +#ifndef OVERRIDE_TABLE_sys_setresgid TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 210, 3) #endif -#ifndef OVERRIDE_sys_setuid +#ifndef OVERRIDE_TABLE_sys_setuid TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 213, 1) #endif -#ifndef OVERRIDE_sys_setgid +#ifndef OVERRIDE_TABLE_sys_setgid TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 214, 1) #endif -#ifndef OVERRIDE_sys_setfsuid +#ifndef OVERRIDE_TABLE_sys_setfsuid TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 215, 1) #endif -#ifndef OVERRIDE_sys_setfsgid +#ifndef OVERRIDE_TABLE_sys_setfsgid TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 216, 1) #endif -#ifndef OVERRIDE_sys_madvise +#ifndef OVERRIDE_TABLE_sys_madvise TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 219, 3) #endif -#ifndef OVERRIDE_sys_fcntl64 +#ifndef OVERRIDE_TABLE_sys_fcntl64 TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 221, 3) #endif -#ifndef OVERRIDE_sys_tkill +#ifndef OVERRIDE_TABLE_sys_tkill TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 238, 2) #endif -#ifndef OVERRIDE_sys_io_destroy +#ifndef OVERRIDE_TABLE_sys_io_destroy TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 246, 1) #endif -#ifndef OVERRIDE_sys_exit_group +#ifndef OVERRIDE_TABLE_sys_exit_group TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 252, 1) #endif -#ifndef OVERRIDE_sys_epoll_create +#ifndef OVERRIDE_TABLE_sys_epoll_create TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 254, 1) #endif -#ifndef OVERRIDE_sys_remap_file_pages +#ifndef OVERRIDE_TABLE_sys_remap_file_pages TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 257, 5) #endif -#ifndef OVERRIDE_sys_timer_getoverrun +#ifndef OVERRIDE_TABLE_sys_timer_getoverrun TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 262, 1) #endif -#ifndef OVERRIDE_sys_timer_delete +#ifndef OVERRIDE_TABLE_sys_timer_delete TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 263, 1) #endif -#ifndef OVERRIDE_sys_tgkill +#ifndef OVERRIDE_TABLE_sys_tgkill TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 270, 3) #endif -#ifndef OVERRIDE_sys_keyctl +#ifndef OVERRIDE_TABLE_sys_keyctl TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 288, 5) #endif -#ifndef OVERRIDE_sys_ioprio_set +#ifndef OVERRIDE_TABLE_sys_ioprio_set TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 289, 3) #endif -#ifndef OVERRIDE_sys_ioprio_get +#ifndef OVERRIDE_TABLE_sys_ioprio_get TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 290, 2) #endif -#ifndef OVERRIDE_sys_inotify_rm_watch +#ifndef OVERRIDE_TABLE_sys_inotify_rm_watch TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 293, 2) #endif -#ifndef OVERRIDE_sys_unshare +#ifndef OVERRIDE_TABLE_sys_unshare TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 310, 1) #endif -#ifndef OVERRIDE_sys_tee +#ifndef OVERRIDE_TABLE_sys_tee TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 315, 4) #endif -#ifndef OVERRIDE_sys_timerfd_create +#ifndef OVERRIDE_TABLE_sys_timerfd_create TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 322, 2) #endif -#ifndef OVERRIDE_sys_eventfd +#ifndef OVERRIDE_TABLE_sys_eventfd TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 323, 1) #endif -#ifndef OVERRIDE_sys_eventfd2 +#ifndef OVERRIDE_TABLE_sys_eventfd2 TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 328, 2) #endif -#ifndef OVERRIDE_sys_epoll_create1 +#ifndef OVERRIDE_TABLE_sys_epoll_create1 TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 329, 1) #endif -#ifndef OVERRIDE_sys_dup3 +#ifndef OVERRIDE_TABLE_sys_dup3 TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 330, 3) #endif -#ifndef OVERRIDE_sys_inotify_init1 +#ifndef OVERRIDE_TABLE_sys_inotify_init1 TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 332, 1) #endif -#ifndef OVERRIDE_sys_fanotify_init +#ifndef OVERRIDE_TABLE_sys_fanotify_init TRACE_SYSCALL_TABLE(sys_fanotify_init, sys_fanotify_init, 338, 2) #endif -#ifndef OVERRIDE_sys_syncfs +#ifndef OVERRIDE_TABLE_sys_syncfs TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 344, 1) #endif -#ifndef OVERRIDE_sys_setns +#ifndef OVERRIDE_TABLE_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_pointers.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h index 4fa75ac4..5d11b194 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 @@ -1674,556 +1674,556 @@ SC_TRACE_EVENT(sys_epoll_pwait, #include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" -#ifndef OVERRIDE_sys_read +#ifndef OVERRIDE_TABLE_sys_read TRACE_SYSCALL_TABLE(sys_read, sys_read, 3, 3) #endif -#ifndef OVERRIDE_sys_write +#ifndef OVERRIDE_TABLE_sys_write TRACE_SYSCALL_TABLE(sys_write, sys_write, 4, 3) #endif -#ifndef OVERRIDE_sys_open +#ifndef OVERRIDE_TABLE_sys_open TRACE_SYSCALL_TABLE(sys_open, sys_open, 5, 3) #endif -#ifndef OVERRIDE_sys_waitpid +#ifndef OVERRIDE_TABLE_sys_waitpid TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 7, 3) #endif -#ifndef OVERRIDE_sys_creat +#ifndef OVERRIDE_TABLE_sys_creat TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 8, 2) #endif -#ifndef OVERRIDE_sys_link +#ifndef OVERRIDE_TABLE_sys_link TRACE_SYSCALL_TABLE(sys_link, sys_link, 9, 2) #endif -#ifndef OVERRIDE_sys_unlink +#ifndef OVERRIDE_TABLE_sys_unlink TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 10, 1) #endif -#ifndef OVERRIDE_sys_chdir +#ifndef OVERRIDE_TABLE_sys_chdir TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 12, 1) #endif -#ifndef OVERRIDE_sys_time +#ifndef OVERRIDE_TABLE_sys_time TRACE_SYSCALL_TABLE(sys_time, sys_time, 13, 1) #endif -#ifndef OVERRIDE_sys_mknod +#ifndef OVERRIDE_TABLE_sys_mknod TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 14, 3) #endif -#ifndef OVERRIDE_sys_chmod +#ifndef OVERRIDE_TABLE_sys_chmod TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 15, 2) #endif -#ifndef OVERRIDE_sys_lchown16 +#ifndef OVERRIDE_TABLE_sys_lchown16 TRACE_SYSCALL_TABLE(sys_lchown16, sys_lchown16, 16, 3) #endif -#ifndef OVERRIDE_sys_stat +#ifndef OVERRIDE_TABLE_sys_stat TRACE_SYSCALL_TABLE(sys_stat, sys_stat, 18, 2) #endif -#ifndef OVERRIDE_sys_mount +#ifndef OVERRIDE_TABLE_sys_mount TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 21, 5) #endif -#ifndef OVERRIDE_sys_oldumount +#ifndef OVERRIDE_TABLE_sys_oldumount TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 22, 1) #endif -#ifndef OVERRIDE_sys_stime +#ifndef OVERRIDE_TABLE_sys_stime TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 25, 1) #endif -#ifndef OVERRIDE_sys_fstat +#ifndef OVERRIDE_TABLE_sys_fstat TRACE_SYSCALL_TABLE(sys_fstat, sys_fstat, 28, 2) #endif -#ifndef OVERRIDE_sys_utime +#ifndef OVERRIDE_TABLE_sys_utime TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 30, 2) #endif -#ifndef OVERRIDE_sys_access +#ifndef OVERRIDE_TABLE_sys_access TRACE_SYSCALL_TABLE(sys_access, sys_access, 33, 2) #endif -#ifndef OVERRIDE_sys_rename +#ifndef OVERRIDE_TABLE_sys_rename TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 38, 2) #endif -#ifndef OVERRIDE_sys_mkdir +#ifndef OVERRIDE_TABLE_sys_mkdir TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 39, 2) #endif -#ifndef OVERRIDE_sys_rmdir +#ifndef OVERRIDE_TABLE_sys_rmdir TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 40, 1) #endif -#ifndef OVERRIDE_sys_pipe +#ifndef OVERRIDE_TABLE_sys_pipe TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 42, 1) #endif -#ifndef OVERRIDE_sys_times +#ifndef OVERRIDE_TABLE_sys_times TRACE_SYSCALL_TABLE(sys_times, sys_times, 43, 1) #endif -#ifndef OVERRIDE_sys_acct +#ifndef OVERRIDE_TABLE_sys_acct TRACE_SYSCALL_TABLE(sys_acct, sys_acct, 51, 1) #endif -#ifndef OVERRIDE_sys_umount +#ifndef OVERRIDE_TABLE_sys_umount TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 52, 2) #endif -#ifndef OVERRIDE_sys_olduname +#ifndef OVERRIDE_TABLE_sys_olduname TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 59, 1) #endif -#ifndef OVERRIDE_sys_chroot +#ifndef OVERRIDE_TABLE_sys_chroot TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 61, 1) #endif -#ifndef OVERRIDE_sys_ustat +#ifndef OVERRIDE_TABLE_sys_ustat TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 62, 2) #endif -#ifndef OVERRIDE_sys_sigpending +#ifndef OVERRIDE_TABLE_sys_sigpending TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 73, 1) #endif -#ifndef OVERRIDE_sys_sethostname +#ifndef OVERRIDE_TABLE_sys_sethostname TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 74, 2) #endif -#ifndef OVERRIDE_sys_setrlimit +#ifndef OVERRIDE_TABLE_sys_setrlimit TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 75, 2) #endif -#ifndef OVERRIDE_sys_old_getrlimit +#ifndef OVERRIDE_TABLE_sys_old_getrlimit TRACE_SYSCALL_TABLE(sys_old_getrlimit, sys_old_getrlimit, 76, 2) #endif -#ifndef OVERRIDE_sys_getrusage +#ifndef OVERRIDE_TABLE_sys_getrusage TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 77, 2) #endif -#ifndef OVERRIDE_sys_gettimeofday +#ifndef OVERRIDE_TABLE_sys_gettimeofday TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 78, 2) #endif -#ifndef OVERRIDE_sys_settimeofday +#ifndef OVERRIDE_TABLE_sys_settimeofday TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 79, 2) #endif -#ifndef OVERRIDE_sys_getgroups16 +#ifndef OVERRIDE_TABLE_sys_getgroups16 TRACE_SYSCALL_TABLE(sys_getgroups16, sys_getgroups16, 80, 2) #endif -#ifndef OVERRIDE_sys_setgroups16 +#ifndef OVERRIDE_TABLE_sys_setgroups16 TRACE_SYSCALL_TABLE(sys_setgroups16, sys_setgroups16, 81, 2) #endif -#ifndef OVERRIDE_sys_old_select +#ifndef OVERRIDE_TABLE_sys_old_select TRACE_SYSCALL_TABLE(sys_old_select, sys_old_select, 82, 1) #endif -#ifndef OVERRIDE_sys_symlink +#ifndef OVERRIDE_TABLE_sys_symlink TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 83, 2) #endif -#ifndef OVERRIDE_sys_lstat +#ifndef OVERRIDE_TABLE_sys_lstat TRACE_SYSCALL_TABLE(sys_lstat, sys_lstat, 84, 2) #endif -#ifndef OVERRIDE_sys_readlink +#ifndef OVERRIDE_TABLE_sys_readlink TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 85, 3) #endif -#ifndef OVERRIDE_sys_uselib +#ifndef OVERRIDE_TABLE_sys_uselib TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 86, 1) #endif -#ifndef OVERRIDE_sys_swapon +#ifndef OVERRIDE_TABLE_sys_swapon TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 87, 2) #endif -#ifndef OVERRIDE_sys_reboot +#ifndef OVERRIDE_TABLE_sys_reboot TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 88, 4) #endif -#ifndef OVERRIDE_sys_old_readdir +#ifndef OVERRIDE_TABLE_sys_old_readdir TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 89, 3) #endif -#ifndef OVERRIDE_sys_old_mmap +#ifndef OVERRIDE_TABLE_sys_old_mmap TRACE_SYSCALL_TABLE(sys_old_mmap, sys_old_mmap, 90, 1) #endif -#ifndef OVERRIDE_sys_truncate +#ifndef OVERRIDE_TABLE_sys_truncate TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 92, 2) #endif -#ifndef OVERRIDE_sys_statfs +#ifndef OVERRIDE_TABLE_sys_statfs TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 99, 2) #endif -#ifndef OVERRIDE_sys_fstatfs +#ifndef OVERRIDE_TABLE_sys_fstatfs TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 100, 2) #endif -#ifndef OVERRIDE_sys_socketcall +#ifndef OVERRIDE_TABLE_sys_socketcall TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 102, 2) #endif -#ifndef OVERRIDE_sys_syslog +#ifndef OVERRIDE_TABLE_sys_syslog TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) #endif -#ifndef OVERRIDE_sys_setitimer +#ifndef OVERRIDE_TABLE_sys_setitimer TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 104, 3) #endif -#ifndef OVERRIDE_sys_getitimer +#ifndef OVERRIDE_TABLE_sys_getitimer TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 105, 2) #endif -#ifndef OVERRIDE_sys_newstat +#ifndef OVERRIDE_TABLE_sys_newstat TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 106, 2) #endif -#ifndef OVERRIDE_sys_newlstat +#ifndef OVERRIDE_TABLE_sys_newlstat TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 107, 2) #endif -#ifndef OVERRIDE_sys_newfstat +#ifndef OVERRIDE_TABLE_sys_newfstat TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 108, 2) #endif -#ifndef OVERRIDE_sys_uname +#ifndef OVERRIDE_TABLE_sys_uname TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 109, 1) #endif -#ifndef OVERRIDE_sys_wait4 +#ifndef OVERRIDE_TABLE_sys_wait4 TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 114, 4) #endif -#ifndef OVERRIDE_sys_swapoff +#ifndef OVERRIDE_TABLE_sys_swapoff TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 115, 1) #endif -#ifndef OVERRIDE_sys_sysinfo +#ifndef OVERRIDE_TABLE_sys_sysinfo TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 116, 1) #endif -#ifndef OVERRIDE_sys_ipc +#ifndef OVERRIDE_TABLE_sys_ipc TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 117, 6) #endif -#ifndef OVERRIDE_sys_setdomainname +#ifndef OVERRIDE_TABLE_sys_setdomainname TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 121, 2) #endif -#ifndef OVERRIDE_sys_newuname +#ifndef OVERRIDE_TABLE_sys_newuname TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 122, 1) #endif -#ifndef OVERRIDE_sys_adjtimex +#ifndef OVERRIDE_TABLE_sys_adjtimex TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 124, 1) #endif -#ifndef OVERRIDE_sys_sigprocmask +#ifndef OVERRIDE_TABLE_sys_sigprocmask TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 126, 3) #endif -#ifndef OVERRIDE_sys_init_module +#ifndef OVERRIDE_TABLE_sys_init_module TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 128, 3) #endif -#ifndef OVERRIDE_sys_delete_module +#ifndef OVERRIDE_TABLE_sys_delete_module TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 129, 2) #endif -#ifndef OVERRIDE_sys_quotactl +#ifndef OVERRIDE_TABLE_sys_quotactl TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 131, 4) #endif -#ifndef OVERRIDE_sys_llseek +#ifndef OVERRIDE_TABLE_sys_llseek TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 140, 5) #endif -#ifndef OVERRIDE_sys_getdents +#ifndef OVERRIDE_TABLE_sys_getdents TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 141, 3) #endif -#ifndef OVERRIDE_sys_select +#ifndef OVERRIDE_TABLE_sys_select TRACE_SYSCALL_TABLE(sys_select, sys_select, 142, 5) #endif -#ifndef OVERRIDE_sys_readv +#ifndef OVERRIDE_TABLE_sys_readv TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 145, 3) #endif -#ifndef OVERRIDE_sys_writev +#ifndef OVERRIDE_TABLE_sys_writev TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 146, 3) #endif -#ifndef OVERRIDE_sys_sysctl +#ifndef OVERRIDE_TABLE_sys_sysctl TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 149, 1) #endif -#ifndef OVERRIDE_sys_sched_setparam +#ifndef OVERRIDE_TABLE_sys_sched_setparam TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 154, 2) #endif -#ifndef OVERRIDE_sys_sched_getparam +#ifndef OVERRIDE_TABLE_sys_sched_getparam TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 155, 2) #endif -#ifndef OVERRIDE_sys_sched_setscheduler +#ifndef OVERRIDE_TABLE_sys_sched_setscheduler TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 156, 3) #endif -#ifndef OVERRIDE_sys_sched_rr_get_interval +#ifndef OVERRIDE_TABLE_sys_sched_rr_get_interval TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 161, 2) #endif -#ifndef OVERRIDE_sys_nanosleep +#ifndef OVERRIDE_TABLE_sys_nanosleep TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 162, 2) #endif -#ifndef OVERRIDE_sys_getresuid16 +#ifndef OVERRIDE_TABLE_sys_getresuid16 TRACE_SYSCALL_TABLE(sys_getresuid16, sys_getresuid16, 165, 3) #endif -#ifndef OVERRIDE_sys_poll +#ifndef OVERRIDE_TABLE_sys_poll TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 168, 3) #endif -#ifndef OVERRIDE_sys_getresgid16 +#ifndef OVERRIDE_TABLE_sys_getresgid16 TRACE_SYSCALL_TABLE(sys_getresgid16, sys_getresgid16, 171, 3) #endif -#ifndef OVERRIDE_sys_rt_sigaction +#ifndef OVERRIDE_TABLE_sys_rt_sigaction TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 174, 4) #endif -#ifndef OVERRIDE_sys_rt_sigprocmask +#ifndef OVERRIDE_TABLE_sys_rt_sigprocmask TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 175, 4) #endif -#ifndef OVERRIDE_sys_rt_sigpending +#ifndef OVERRIDE_TABLE_sys_rt_sigpending TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 176, 2) #endif -#ifndef OVERRIDE_sys_rt_sigtimedwait +#ifndef OVERRIDE_TABLE_sys_rt_sigtimedwait TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 177, 4) #endif -#ifndef OVERRIDE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_TABLE_sys_rt_sigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 178, 3) #endif -#ifndef OVERRIDE_sys_rt_sigsuspend +#ifndef OVERRIDE_TABLE_sys_rt_sigsuspend TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 179, 2) #endif -#ifndef OVERRIDE_sys_chown16 +#ifndef OVERRIDE_TABLE_sys_chown16 TRACE_SYSCALL_TABLE(sys_chown16, sys_chown16, 182, 3) #endif -#ifndef OVERRIDE_sys_getcwd +#ifndef OVERRIDE_TABLE_sys_getcwd TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 183, 2) #endif -#ifndef OVERRIDE_sys_sendfile +#ifndef OVERRIDE_TABLE_sys_sendfile TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 187, 4) #endif -#ifndef OVERRIDE_sys_getrlimit +#ifndef OVERRIDE_TABLE_sys_getrlimit TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 191, 2) #endif -#ifndef OVERRIDE_sys_stat64 +#ifndef OVERRIDE_TABLE_sys_stat64 TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 195, 2) #endif -#ifndef OVERRIDE_sys_lstat64 +#ifndef OVERRIDE_TABLE_sys_lstat64 TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 196, 2) #endif -#ifndef OVERRIDE_sys_fstat64 +#ifndef OVERRIDE_TABLE_sys_fstat64 TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 197, 2) #endif -#ifndef OVERRIDE_sys_lchown +#ifndef OVERRIDE_TABLE_sys_lchown TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 198, 3) #endif -#ifndef OVERRIDE_sys_getgroups +#ifndef OVERRIDE_TABLE_sys_getgroups TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 205, 2) #endif -#ifndef OVERRIDE_sys_setgroups +#ifndef OVERRIDE_TABLE_sys_setgroups TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 206, 2) #endif -#ifndef OVERRIDE_sys_getresuid +#ifndef OVERRIDE_TABLE_sys_getresuid TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 209, 3) #endif -#ifndef OVERRIDE_sys_getresgid +#ifndef OVERRIDE_TABLE_sys_getresgid TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 211, 3) #endif -#ifndef OVERRIDE_sys_chown +#ifndef OVERRIDE_TABLE_sys_chown TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 212, 3) #endif -#ifndef OVERRIDE_sys_pivot_root +#ifndef OVERRIDE_TABLE_sys_pivot_root TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 217, 2) #endif -#ifndef OVERRIDE_sys_mincore +#ifndef OVERRIDE_TABLE_sys_mincore TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 218, 3) #endif -#ifndef OVERRIDE_sys_getdents64 +#ifndef OVERRIDE_TABLE_sys_getdents64 TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 220, 3) #endif -#ifndef OVERRIDE_sys_setxattr +#ifndef OVERRIDE_TABLE_sys_setxattr TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 226, 5) #endif -#ifndef OVERRIDE_sys_lsetxattr +#ifndef OVERRIDE_TABLE_sys_lsetxattr TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 227, 5) #endif -#ifndef OVERRIDE_sys_fsetxattr +#ifndef OVERRIDE_TABLE_sys_fsetxattr TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 228, 5) #endif -#ifndef OVERRIDE_sys_getxattr +#ifndef OVERRIDE_TABLE_sys_getxattr TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 229, 4) #endif -#ifndef OVERRIDE_sys_lgetxattr +#ifndef OVERRIDE_TABLE_sys_lgetxattr TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 230, 4) #endif -#ifndef OVERRIDE_sys_fgetxattr +#ifndef OVERRIDE_TABLE_sys_fgetxattr TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 231, 4) #endif -#ifndef OVERRIDE_sys_listxattr +#ifndef OVERRIDE_TABLE_sys_listxattr TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 232, 3) #endif -#ifndef OVERRIDE_sys_llistxattr +#ifndef OVERRIDE_TABLE_sys_llistxattr TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 233, 3) #endif -#ifndef OVERRIDE_sys_flistxattr +#ifndef OVERRIDE_TABLE_sys_flistxattr TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 234, 3) #endif -#ifndef OVERRIDE_sys_removexattr +#ifndef OVERRIDE_TABLE_sys_removexattr TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 235, 2) #endif -#ifndef OVERRIDE_sys_lremovexattr +#ifndef OVERRIDE_TABLE_sys_lremovexattr TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 236, 2) #endif -#ifndef OVERRIDE_sys_fremovexattr +#ifndef OVERRIDE_TABLE_sys_fremovexattr TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 237, 2) #endif -#ifndef OVERRIDE_sys_sendfile64 +#ifndef OVERRIDE_TABLE_sys_sendfile64 TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 239, 4) #endif -#ifndef OVERRIDE_sys_futex +#ifndef OVERRIDE_TABLE_sys_futex TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 240, 6) #endif -#ifndef OVERRIDE_sys_sched_setaffinity +#ifndef OVERRIDE_TABLE_sys_sched_setaffinity TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 241, 3) #endif -#ifndef OVERRIDE_sys_sched_getaffinity +#ifndef OVERRIDE_TABLE_sys_sched_getaffinity TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 242, 3) #endif -#ifndef OVERRIDE_sys_io_setup +#ifndef OVERRIDE_TABLE_sys_io_setup TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 245, 2) #endif -#ifndef OVERRIDE_sys_io_getevents +#ifndef OVERRIDE_TABLE_sys_io_getevents TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 247, 5) #endif -#ifndef OVERRIDE_sys_io_submit +#ifndef OVERRIDE_TABLE_sys_io_submit TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 248, 3) #endif -#ifndef OVERRIDE_sys_io_cancel +#ifndef OVERRIDE_TABLE_sys_io_cancel TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 249, 3) #endif -#ifndef OVERRIDE_sys_epoll_ctl +#ifndef OVERRIDE_TABLE_sys_epoll_ctl TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 255, 4) #endif -#ifndef OVERRIDE_sys_epoll_wait +#ifndef OVERRIDE_TABLE_sys_epoll_wait TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 256, 4) #endif -#ifndef OVERRIDE_sys_set_tid_address +#ifndef OVERRIDE_TABLE_sys_set_tid_address TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 258, 1) #endif -#ifndef OVERRIDE_sys_timer_create +#ifndef OVERRIDE_TABLE_sys_timer_create TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 259, 3) #endif -#ifndef OVERRIDE_sys_timer_settime +#ifndef OVERRIDE_TABLE_sys_timer_settime TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 260, 4) #endif -#ifndef OVERRIDE_sys_timer_gettime +#ifndef OVERRIDE_TABLE_sys_timer_gettime TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 261, 2) #endif -#ifndef OVERRIDE_sys_clock_settime +#ifndef OVERRIDE_TABLE_sys_clock_settime TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 264, 2) #endif -#ifndef OVERRIDE_sys_clock_gettime +#ifndef OVERRIDE_TABLE_sys_clock_gettime TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 265, 2) #endif -#ifndef OVERRIDE_sys_clock_getres +#ifndef OVERRIDE_TABLE_sys_clock_getres TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 266, 2) #endif -#ifndef OVERRIDE_sys_clock_nanosleep +#ifndef OVERRIDE_TABLE_sys_clock_nanosleep TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 267, 4) #endif -#ifndef OVERRIDE_sys_statfs64 +#ifndef OVERRIDE_TABLE_sys_statfs64 TRACE_SYSCALL_TABLE(sys_statfs64, sys_statfs64, 268, 3) #endif -#ifndef OVERRIDE_sys_fstatfs64 +#ifndef OVERRIDE_TABLE_sys_fstatfs64 TRACE_SYSCALL_TABLE(sys_fstatfs64, sys_fstatfs64, 269, 3) #endif -#ifndef OVERRIDE_sys_utimes +#ifndef OVERRIDE_TABLE_sys_utimes TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 271, 2) #endif -#ifndef OVERRIDE_sys_mq_open +#ifndef OVERRIDE_TABLE_sys_mq_open TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 277, 4) #endif -#ifndef OVERRIDE_sys_mq_unlink +#ifndef OVERRIDE_TABLE_sys_mq_unlink TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 278, 1) #endif -#ifndef OVERRIDE_sys_mq_timedsend +#ifndef OVERRIDE_TABLE_sys_mq_timedsend TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 279, 5) #endif -#ifndef OVERRIDE_sys_mq_timedreceive +#ifndef OVERRIDE_TABLE_sys_mq_timedreceive TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 280, 5) #endif -#ifndef OVERRIDE_sys_mq_notify +#ifndef OVERRIDE_TABLE_sys_mq_notify TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 281, 2) #endif -#ifndef OVERRIDE_sys_mq_getsetattr +#ifndef OVERRIDE_TABLE_sys_mq_getsetattr TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 282, 3) #endif -#ifndef OVERRIDE_sys_kexec_load +#ifndef OVERRIDE_TABLE_sys_kexec_load TRACE_SYSCALL_TABLE(sys_kexec_load, sys_kexec_load, 283, 4) #endif -#ifndef OVERRIDE_sys_waitid +#ifndef OVERRIDE_TABLE_sys_waitid TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 284, 5) #endif -#ifndef OVERRIDE_sys_add_key +#ifndef OVERRIDE_TABLE_sys_add_key TRACE_SYSCALL_TABLE(sys_add_key, sys_add_key, 286, 5) #endif -#ifndef OVERRIDE_sys_request_key +#ifndef OVERRIDE_TABLE_sys_request_key TRACE_SYSCALL_TABLE(sys_request_key, sys_request_key, 287, 4) #endif -#ifndef OVERRIDE_sys_inotify_add_watch +#ifndef OVERRIDE_TABLE_sys_inotify_add_watch TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 292, 3) #endif -#ifndef OVERRIDE_sys_openat +#ifndef OVERRIDE_TABLE_sys_openat TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 295, 4) #endif -#ifndef OVERRIDE_sys_mkdirat +#ifndef OVERRIDE_TABLE_sys_mkdirat TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 296, 3) #endif -#ifndef OVERRIDE_sys_mknodat +#ifndef OVERRIDE_TABLE_sys_mknodat TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 297, 4) #endif -#ifndef OVERRIDE_sys_fchownat +#ifndef OVERRIDE_TABLE_sys_fchownat TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 298, 5) #endif -#ifndef OVERRIDE_sys_futimesat +#ifndef OVERRIDE_TABLE_sys_futimesat TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 299, 3) #endif -#ifndef OVERRIDE_sys_fstatat64 +#ifndef OVERRIDE_TABLE_sys_fstatat64 TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 300, 4) #endif -#ifndef OVERRIDE_sys_unlinkat +#ifndef OVERRIDE_TABLE_sys_unlinkat TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 301, 3) #endif -#ifndef OVERRIDE_sys_renameat +#ifndef OVERRIDE_TABLE_sys_renameat TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 302, 4) #endif -#ifndef OVERRIDE_sys_linkat +#ifndef OVERRIDE_TABLE_sys_linkat TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 303, 5) #endif -#ifndef OVERRIDE_sys_symlinkat +#ifndef OVERRIDE_TABLE_sys_symlinkat TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 304, 3) #endif -#ifndef OVERRIDE_sys_readlinkat +#ifndef OVERRIDE_TABLE_sys_readlinkat TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 305, 4) #endif -#ifndef OVERRIDE_sys_fchmodat +#ifndef OVERRIDE_TABLE_sys_fchmodat TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 306, 3) #endif -#ifndef OVERRIDE_sys_faccessat +#ifndef OVERRIDE_TABLE_sys_faccessat TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 307, 3) #endif -#ifndef OVERRIDE_sys_pselect6 +#ifndef OVERRIDE_TABLE_sys_pselect6 TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 308, 6) #endif -#ifndef OVERRIDE_sys_ppoll +#ifndef OVERRIDE_TABLE_sys_ppoll TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 309, 5) #endif -#ifndef OVERRIDE_sys_set_robust_list +#ifndef OVERRIDE_TABLE_sys_set_robust_list TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 311, 2) #endif -#ifndef OVERRIDE_sys_get_robust_list +#ifndef OVERRIDE_TABLE_sys_get_robust_list TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 312, 3) #endif -#ifndef OVERRIDE_sys_splice +#ifndef OVERRIDE_TABLE_sys_splice TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 313, 6) #endif -#ifndef OVERRIDE_sys_vmsplice +#ifndef OVERRIDE_TABLE_sys_vmsplice TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 316, 4) #endif -#ifndef OVERRIDE_sys_getcpu +#ifndef OVERRIDE_TABLE_sys_getcpu TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 318, 3) #endif -#ifndef OVERRIDE_sys_epoll_pwait +#ifndef OVERRIDE_TABLE_sys_epoll_pwait TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 319, 6) #endif -#ifndef OVERRIDE_sys_utimensat +#ifndef OVERRIDE_TABLE_sys_utimensat TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 320, 4) #endif -#ifndef OVERRIDE_sys_signalfd +#ifndef OVERRIDE_TABLE_sys_signalfd TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 321, 3) #endif -#ifndef OVERRIDE_sys_timerfd_settime +#ifndef OVERRIDE_TABLE_sys_timerfd_settime TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 325, 4) #endif -#ifndef OVERRIDE_sys_timerfd_gettime +#ifndef OVERRIDE_TABLE_sys_timerfd_gettime TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 326, 2) #endif -#ifndef OVERRIDE_sys_signalfd4 +#ifndef OVERRIDE_TABLE_sys_signalfd4 TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 327, 4) #endif -#ifndef OVERRIDE_sys_pipe2 +#ifndef OVERRIDE_TABLE_sys_pipe2 TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 331, 2) #endif -#ifndef OVERRIDE_sys_preadv +#ifndef OVERRIDE_TABLE_sys_preadv TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 333, 5) #endif -#ifndef OVERRIDE_sys_pwritev +#ifndef OVERRIDE_TABLE_sys_pwritev TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 334, 5) #endif -#ifndef OVERRIDE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_TABLE_sys_rt_tgsigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 335, 4) #endif -#ifndef OVERRIDE_sys_perf_event_open +#ifndef OVERRIDE_TABLE_sys_perf_event_open TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 336, 5) #endif -#ifndef OVERRIDE_sys_recvmmsg +#ifndef OVERRIDE_TABLE_sys_recvmmsg TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 337, 5) #endif -#ifndef OVERRIDE_sys_prlimit64 +#ifndef OVERRIDE_TABLE_sys_prlimit64 TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 340, 4) #endif -#ifndef OVERRIDE_sys_clock_adjtime +#ifndef OVERRIDE_TABLE_sys_clock_adjtime TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 343, 2) #endif -#ifndef OVERRIDE_sys_sendmmsg +#ifndef OVERRIDE_TABLE_sys_sendmmsg TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 345, 4) #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 5752f763..ce15b68e 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 @@ -737,274 +737,274 @@ SC_TRACE_EVENT(sys_mmap, #include "x86-64-syscalls-3.0.4_integers_override.h" -#ifndef OVERRIDE_sys_sched_yield +#ifndef OVERRIDE_TABLE_sys_sched_yield TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 24, 0) #endif -#ifndef OVERRIDE_sys_pause +#ifndef OVERRIDE_TABLE_sys_pause TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 34, 0) #endif -#ifndef OVERRIDE_sys_getpid +#ifndef OVERRIDE_TABLE_sys_getpid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 39, 0) #endif -#ifndef OVERRIDE_sys_getuid +#ifndef OVERRIDE_TABLE_sys_getuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 102, 0) #endif -#ifndef OVERRIDE_sys_getgid +#ifndef OVERRIDE_TABLE_sys_getgid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 104, 0) #endif -#ifndef OVERRIDE_sys_geteuid +#ifndef OVERRIDE_TABLE_sys_geteuid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 107, 0) #endif -#ifndef OVERRIDE_sys_getegid +#ifndef OVERRIDE_TABLE_sys_getegid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 108, 0) #endif -#ifndef OVERRIDE_sys_getppid +#ifndef OVERRIDE_TABLE_sys_getppid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 110, 0) #endif -#ifndef OVERRIDE_sys_getpgrp +#ifndef OVERRIDE_TABLE_sys_getpgrp TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 111, 0) #endif -#ifndef OVERRIDE_sys_setsid +#ifndef OVERRIDE_TABLE_sys_setsid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 112, 0) #endif -#ifndef OVERRIDE_sys_munlockall +#ifndef OVERRIDE_TABLE_sys_munlockall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 152, 0) #endif -#ifndef OVERRIDE_sys_vhangup +#ifndef OVERRIDE_TABLE_sys_vhangup TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 153, 0) #endif -#ifndef OVERRIDE_sys_sync +#ifndef OVERRIDE_TABLE_sys_sync TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 162, 0) #endif -#ifndef OVERRIDE_sys_gettid +#ifndef OVERRIDE_TABLE_sys_gettid TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 186, 0) #endif -#ifndef OVERRIDE_sys_restart_syscall +#ifndef OVERRIDE_TABLE_sys_restart_syscall TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 219, 0) #endif -#ifndef OVERRIDE_sys_inotify_init +#ifndef OVERRIDE_TABLE_sys_inotify_init TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 253, 0) #endif -#ifndef OVERRIDE_sys_close +#ifndef OVERRIDE_TABLE_sys_close TRACE_SYSCALL_TABLE(sys_close, sys_close, 3, 1) #endif -#ifndef OVERRIDE_sys_lseek +#ifndef OVERRIDE_TABLE_sys_lseek TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 8, 3) #endif -#ifndef OVERRIDE_sys_mmap +#ifndef OVERRIDE_TABLE_sys_mmap TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 9, 6) #endif -#ifndef OVERRIDE_sys_mprotect +#ifndef OVERRIDE_TABLE_sys_mprotect TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 10, 3) #endif -#ifndef OVERRIDE_sys_munmap +#ifndef OVERRIDE_TABLE_sys_munmap TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 11, 2) #endif -#ifndef OVERRIDE_sys_brk +#ifndef OVERRIDE_TABLE_sys_brk TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 12, 1) #endif -#ifndef OVERRIDE_sys_ioctl +#ifndef OVERRIDE_TABLE_sys_ioctl TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 16, 3) #endif -#ifndef OVERRIDE_sys_mremap +#ifndef OVERRIDE_TABLE_sys_mremap TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 25, 5) #endif -#ifndef OVERRIDE_sys_msync +#ifndef OVERRIDE_TABLE_sys_msync TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 26, 3) #endif -#ifndef OVERRIDE_sys_madvise +#ifndef OVERRIDE_TABLE_sys_madvise TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 28, 3) #endif -#ifndef OVERRIDE_sys_shmget +#ifndef OVERRIDE_TABLE_sys_shmget TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 29, 3) #endif -#ifndef OVERRIDE_sys_dup +#ifndef OVERRIDE_TABLE_sys_dup TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 32, 1) #endif -#ifndef OVERRIDE_sys_dup2 +#ifndef OVERRIDE_TABLE_sys_dup2 TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 33, 2) #endif -#ifndef OVERRIDE_sys_alarm +#ifndef OVERRIDE_TABLE_sys_alarm TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 37, 1) #endif -#ifndef OVERRIDE_sys_socket +#ifndef OVERRIDE_TABLE_sys_socket TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 41, 3) #endif -#ifndef OVERRIDE_sys_shutdown +#ifndef OVERRIDE_TABLE_sys_shutdown TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 48, 2) #endif -#ifndef OVERRIDE_sys_listen +#ifndef OVERRIDE_TABLE_sys_listen TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 50, 2) #endif -#ifndef OVERRIDE_sys_exit +#ifndef OVERRIDE_TABLE_sys_exit TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 60, 1) #endif -#ifndef OVERRIDE_sys_kill +#ifndef OVERRIDE_TABLE_sys_kill TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 62, 2) #endif -#ifndef OVERRIDE_sys_semget +#ifndef OVERRIDE_TABLE_sys_semget TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 64, 3) #endif -#ifndef OVERRIDE_sys_msgget +#ifndef OVERRIDE_TABLE_sys_msgget TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 68, 2) #endif -#ifndef OVERRIDE_sys_fcntl +#ifndef OVERRIDE_TABLE_sys_fcntl TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 72, 3) #endif -#ifndef OVERRIDE_sys_flock +#ifndef OVERRIDE_TABLE_sys_flock TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 73, 2) #endif -#ifndef OVERRIDE_sys_fsync +#ifndef OVERRIDE_TABLE_sys_fsync TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 74, 1) #endif -#ifndef OVERRIDE_sys_fdatasync +#ifndef OVERRIDE_TABLE_sys_fdatasync TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 75, 1) #endif -#ifndef OVERRIDE_sys_ftruncate +#ifndef OVERRIDE_TABLE_sys_ftruncate TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 77, 2) #endif -#ifndef OVERRIDE_sys_fchdir +#ifndef OVERRIDE_TABLE_sys_fchdir TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 81, 1) #endif -#ifndef OVERRIDE_sys_fchmod +#ifndef OVERRIDE_TABLE_sys_fchmod TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 91, 2) #endif -#ifndef OVERRIDE_sys_fchown +#ifndef OVERRIDE_TABLE_sys_fchown TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 93, 3) #endif -#ifndef OVERRIDE_sys_umask +#ifndef OVERRIDE_TABLE_sys_umask TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 95, 1) #endif -#ifndef OVERRIDE_sys_ptrace +#ifndef OVERRIDE_TABLE_sys_ptrace TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 101, 4) #endif -#ifndef OVERRIDE_sys_setuid +#ifndef OVERRIDE_TABLE_sys_setuid TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 105, 1) #endif -#ifndef OVERRIDE_sys_setgid +#ifndef OVERRIDE_TABLE_sys_setgid TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 106, 1) #endif -#ifndef OVERRIDE_sys_setpgid +#ifndef OVERRIDE_TABLE_sys_setpgid TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 109, 2) #endif -#ifndef OVERRIDE_sys_setreuid +#ifndef OVERRIDE_TABLE_sys_setreuid TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 113, 2) #endif -#ifndef OVERRIDE_sys_setregid +#ifndef OVERRIDE_TABLE_sys_setregid TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 114, 2) #endif -#ifndef OVERRIDE_sys_setresuid +#ifndef OVERRIDE_TABLE_sys_setresuid TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 117, 3) #endif -#ifndef OVERRIDE_sys_setresgid +#ifndef OVERRIDE_TABLE_sys_setresgid TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 119, 3) #endif -#ifndef OVERRIDE_sys_getpgid +#ifndef OVERRIDE_TABLE_sys_getpgid TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 121, 1) #endif -#ifndef OVERRIDE_sys_setfsuid +#ifndef OVERRIDE_TABLE_sys_setfsuid TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 122, 1) #endif -#ifndef OVERRIDE_sys_setfsgid +#ifndef OVERRIDE_TABLE_sys_setfsgid TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 123, 1) #endif -#ifndef OVERRIDE_sys_getsid +#ifndef OVERRIDE_TABLE_sys_getsid TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 124, 1) #endif -#ifndef OVERRIDE_sys_personality +#ifndef OVERRIDE_TABLE_sys_personality TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 135, 1) #endif -#ifndef OVERRIDE_sys_sysfs +#ifndef OVERRIDE_TABLE_sys_sysfs TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 139, 3) #endif -#ifndef OVERRIDE_sys_getpriority +#ifndef OVERRIDE_TABLE_sys_getpriority TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 140, 2) #endif -#ifndef OVERRIDE_sys_setpriority +#ifndef OVERRIDE_TABLE_sys_setpriority TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 141, 3) #endif -#ifndef OVERRIDE_sys_sched_getscheduler +#ifndef OVERRIDE_TABLE_sys_sched_getscheduler TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 145, 1) #endif -#ifndef OVERRIDE_sys_sched_get_priority_max +#ifndef OVERRIDE_TABLE_sys_sched_get_priority_max TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 146, 1) #endif -#ifndef OVERRIDE_sys_sched_get_priority_min +#ifndef OVERRIDE_TABLE_sys_sched_get_priority_min TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 147, 1) #endif -#ifndef OVERRIDE_sys_mlock +#ifndef OVERRIDE_TABLE_sys_mlock TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 149, 2) #endif -#ifndef OVERRIDE_sys_munlock +#ifndef OVERRIDE_TABLE_sys_munlock TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 150, 2) #endif -#ifndef OVERRIDE_sys_mlockall +#ifndef OVERRIDE_TABLE_sys_mlockall TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 151, 1) #endif -#ifndef OVERRIDE_sys_prctl +#ifndef OVERRIDE_TABLE_sys_prctl TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 157, 5) #endif -#ifndef OVERRIDE_sys_tkill +#ifndef OVERRIDE_TABLE_sys_tkill TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 200, 2) #endif -#ifndef OVERRIDE_sys_io_destroy +#ifndef OVERRIDE_TABLE_sys_io_destroy TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 207, 1) #endif -#ifndef OVERRIDE_sys_epoll_create +#ifndef OVERRIDE_TABLE_sys_epoll_create TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 213, 1) #endif -#ifndef OVERRIDE_sys_remap_file_pages +#ifndef OVERRIDE_TABLE_sys_remap_file_pages TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 216, 5) #endif -#ifndef OVERRIDE_sys_timer_getoverrun +#ifndef OVERRIDE_TABLE_sys_timer_getoverrun TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 225, 1) #endif -#ifndef OVERRIDE_sys_timer_delete +#ifndef OVERRIDE_TABLE_sys_timer_delete TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 226, 1) #endif -#ifndef OVERRIDE_sys_exit_group +#ifndef OVERRIDE_TABLE_sys_exit_group TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 231, 1) #endif -#ifndef OVERRIDE_sys_tgkill +#ifndef OVERRIDE_TABLE_sys_tgkill TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 234, 3) #endif -#ifndef OVERRIDE_sys_ioprio_set +#ifndef OVERRIDE_TABLE_sys_ioprio_set TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 251, 3) #endif -#ifndef OVERRIDE_sys_ioprio_get +#ifndef OVERRIDE_TABLE_sys_ioprio_get TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 252, 2) #endif -#ifndef OVERRIDE_sys_inotify_rm_watch +#ifndef OVERRIDE_TABLE_sys_inotify_rm_watch TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 255, 2) #endif -#ifndef OVERRIDE_sys_unshare +#ifndef OVERRIDE_TABLE_sys_unshare TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 272, 1) #endif -#ifndef OVERRIDE_sys_tee +#ifndef OVERRIDE_TABLE_sys_tee TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 276, 4) #endif -#ifndef OVERRIDE_sys_timerfd_create +#ifndef OVERRIDE_TABLE_sys_timerfd_create TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 283, 2) #endif -#ifndef OVERRIDE_sys_eventfd +#ifndef OVERRIDE_TABLE_sys_eventfd TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 284, 1) #endif -#ifndef OVERRIDE_sys_eventfd2 +#ifndef OVERRIDE_TABLE_sys_eventfd2 TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 290, 2) #endif -#ifndef OVERRIDE_sys_epoll_create1 +#ifndef OVERRIDE_TABLE_sys_epoll_create1 TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 291, 1) #endif -#ifndef OVERRIDE_sys_dup3 +#ifndef OVERRIDE_TABLE_sys_dup3 TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 292, 3) #endif -#ifndef OVERRIDE_sys_inotify_init1 +#ifndef OVERRIDE_TABLE_sys_inotify_init1 TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 294, 1) #endif -#ifndef OVERRIDE_sys_syncfs +#ifndef OVERRIDE_TABLE_sys_syncfs TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 306, 1) #endif -#ifndef OVERRIDE_sys_setns +#ifndef OVERRIDE_TABLE_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 f8eb9d1c..e69de29b 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 @@ -1,21 +0,0 @@ -#define OVERRIDE_sys_mmap - -#ifndef CREATE_SYSCALL_TABLE - - -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), - TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len) __field(int, prot) __field(int, flags) __field(int, fd) __field(off_t, offset)), - TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, off)), - TP_printk() -) - - -#else /* CREATE_SYSCALL_TABLE */ - - -TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 9, 6) - - -#endif /* CREATE_SYSCALL_TABLE */ 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 3d6b25c5..0a8a3acf 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 @@ -1557,517 +1557,517 @@ SC_TRACE_EVENT(sys_epoll_pwait, #include "x86-64-syscalls-3.0.4_pointers_override.h" -#ifndef OVERRIDE_sys_read +#ifndef OVERRIDE_TABLE_sys_read TRACE_SYSCALL_TABLE(sys_read, sys_read, 0, 3) #endif -#ifndef OVERRIDE_sys_write +#ifndef OVERRIDE_TABLE_sys_write TRACE_SYSCALL_TABLE(sys_write, sys_write, 1, 3) #endif -#ifndef OVERRIDE_sys_open +#ifndef OVERRIDE_TABLE_sys_open TRACE_SYSCALL_TABLE(sys_open, sys_open, 2, 3) #endif -#ifndef OVERRIDE_sys_newstat +#ifndef OVERRIDE_TABLE_sys_newstat TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4, 2) #endif -#ifndef OVERRIDE_sys_newfstat +#ifndef OVERRIDE_TABLE_sys_newfstat TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 5, 2) #endif -#ifndef OVERRIDE_sys_newlstat +#ifndef OVERRIDE_TABLE_sys_newlstat TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 6, 2) #endif -#ifndef OVERRIDE_sys_poll +#ifndef OVERRIDE_TABLE_sys_poll TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 7, 3) #endif -#ifndef OVERRIDE_sys_rt_sigaction +#ifndef OVERRIDE_TABLE_sys_rt_sigaction TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 13, 4) #endif -#ifndef OVERRIDE_sys_rt_sigprocmask +#ifndef OVERRIDE_TABLE_sys_rt_sigprocmask TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 14, 4) #endif -#ifndef OVERRIDE_sys_readv +#ifndef OVERRIDE_TABLE_sys_readv TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 19, 3) #endif -#ifndef OVERRIDE_sys_writev +#ifndef OVERRIDE_TABLE_sys_writev TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 20, 3) #endif -#ifndef OVERRIDE_sys_access +#ifndef OVERRIDE_TABLE_sys_access TRACE_SYSCALL_TABLE(sys_access, sys_access, 21, 2) #endif -#ifndef OVERRIDE_sys_pipe +#ifndef OVERRIDE_TABLE_sys_pipe TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 22, 1) #endif -#ifndef OVERRIDE_sys_select +#ifndef OVERRIDE_TABLE_sys_select TRACE_SYSCALL_TABLE(sys_select, sys_select, 23, 5) #endif -#ifndef OVERRIDE_sys_mincore +#ifndef OVERRIDE_TABLE_sys_mincore TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 27, 3) #endif -#ifndef OVERRIDE_sys_shmat +#ifndef OVERRIDE_TABLE_sys_shmat TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 30, 3) #endif -#ifndef OVERRIDE_sys_shmctl +#ifndef OVERRIDE_TABLE_sys_shmctl TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 31, 3) #endif -#ifndef OVERRIDE_sys_nanosleep +#ifndef OVERRIDE_TABLE_sys_nanosleep TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 35, 2) #endif -#ifndef OVERRIDE_sys_getitimer +#ifndef OVERRIDE_TABLE_sys_getitimer TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 36, 2) #endif -#ifndef OVERRIDE_sys_setitimer +#ifndef OVERRIDE_TABLE_sys_setitimer TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 38, 3) #endif -#ifndef OVERRIDE_sys_sendfile64 +#ifndef OVERRIDE_TABLE_sys_sendfile64 TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 40, 4) #endif -#ifndef OVERRIDE_sys_connect +#ifndef OVERRIDE_TABLE_sys_connect TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 42, 3) #endif -#ifndef OVERRIDE_sys_accept +#ifndef OVERRIDE_TABLE_sys_accept TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 43, 3) #endif -#ifndef OVERRIDE_sys_sendto +#ifndef OVERRIDE_TABLE_sys_sendto TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 44, 6) #endif -#ifndef OVERRIDE_sys_recvfrom +#ifndef OVERRIDE_TABLE_sys_recvfrom TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 45, 6) #endif -#ifndef OVERRIDE_sys_sendmsg +#ifndef OVERRIDE_TABLE_sys_sendmsg TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 46, 3) #endif -#ifndef OVERRIDE_sys_recvmsg +#ifndef OVERRIDE_TABLE_sys_recvmsg TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 47, 3) #endif -#ifndef OVERRIDE_sys_bind +#ifndef OVERRIDE_TABLE_sys_bind TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 49, 3) #endif -#ifndef OVERRIDE_sys_getsockname +#ifndef OVERRIDE_TABLE_sys_getsockname TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 51, 3) #endif -#ifndef OVERRIDE_sys_getpeername +#ifndef OVERRIDE_TABLE_sys_getpeername TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 52, 3) #endif -#ifndef OVERRIDE_sys_socketpair +#ifndef OVERRIDE_TABLE_sys_socketpair TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 53, 4) #endif -#ifndef OVERRIDE_sys_setsockopt +#ifndef OVERRIDE_TABLE_sys_setsockopt TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 54, 5) #endif -#ifndef OVERRIDE_sys_getsockopt +#ifndef OVERRIDE_TABLE_sys_getsockopt TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 55, 5) #endif -#ifndef OVERRIDE_sys_wait4 +#ifndef OVERRIDE_TABLE_sys_wait4 TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 61, 4) #endif -#ifndef OVERRIDE_sys_newuname +#ifndef OVERRIDE_TABLE_sys_newuname TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 63, 1) #endif -#ifndef OVERRIDE_sys_semop +#ifndef OVERRIDE_TABLE_sys_semop TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 65, 3) #endif -#ifndef OVERRIDE_sys_shmdt +#ifndef OVERRIDE_TABLE_sys_shmdt TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 67, 1) #endif -#ifndef OVERRIDE_sys_msgsnd +#ifndef OVERRIDE_TABLE_sys_msgsnd TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 69, 4) #endif -#ifndef OVERRIDE_sys_msgrcv +#ifndef OVERRIDE_TABLE_sys_msgrcv TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 70, 5) #endif -#ifndef OVERRIDE_sys_msgctl +#ifndef OVERRIDE_TABLE_sys_msgctl TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 71, 3) #endif -#ifndef OVERRIDE_sys_truncate +#ifndef OVERRIDE_TABLE_sys_truncate TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 76, 2) #endif -#ifndef OVERRIDE_sys_getdents +#ifndef OVERRIDE_TABLE_sys_getdents TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 78, 3) #endif -#ifndef OVERRIDE_sys_getcwd +#ifndef OVERRIDE_TABLE_sys_getcwd TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 79, 2) #endif -#ifndef OVERRIDE_sys_chdir +#ifndef OVERRIDE_TABLE_sys_chdir TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 80, 1) #endif -#ifndef OVERRIDE_sys_rename +#ifndef OVERRIDE_TABLE_sys_rename TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 82, 2) #endif -#ifndef OVERRIDE_sys_mkdir +#ifndef OVERRIDE_TABLE_sys_mkdir TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 83, 2) #endif -#ifndef OVERRIDE_sys_rmdir +#ifndef OVERRIDE_TABLE_sys_rmdir TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 84, 1) #endif -#ifndef OVERRIDE_sys_creat +#ifndef OVERRIDE_TABLE_sys_creat TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 85, 2) #endif -#ifndef OVERRIDE_sys_link +#ifndef OVERRIDE_TABLE_sys_link TRACE_SYSCALL_TABLE(sys_link, sys_link, 86, 2) #endif -#ifndef OVERRIDE_sys_unlink +#ifndef OVERRIDE_TABLE_sys_unlink TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 87, 1) #endif -#ifndef OVERRIDE_sys_symlink +#ifndef OVERRIDE_TABLE_sys_symlink TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 88, 2) #endif -#ifndef OVERRIDE_sys_readlink +#ifndef OVERRIDE_TABLE_sys_readlink TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 89, 3) #endif -#ifndef OVERRIDE_sys_chmod +#ifndef OVERRIDE_TABLE_sys_chmod TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 90, 2) #endif -#ifndef OVERRIDE_sys_chown +#ifndef OVERRIDE_TABLE_sys_chown TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 92, 3) #endif -#ifndef OVERRIDE_sys_lchown +#ifndef OVERRIDE_TABLE_sys_lchown TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 94, 3) #endif -#ifndef OVERRIDE_sys_gettimeofday +#ifndef OVERRIDE_TABLE_sys_gettimeofday TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 96, 2) #endif -#ifndef OVERRIDE_sys_getrlimit +#ifndef OVERRIDE_TABLE_sys_getrlimit TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 97, 2) #endif -#ifndef OVERRIDE_sys_getrusage +#ifndef OVERRIDE_TABLE_sys_getrusage TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 98, 2) #endif -#ifndef OVERRIDE_sys_sysinfo +#ifndef OVERRIDE_TABLE_sys_sysinfo TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 99, 1) #endif -#ifndef OVERRIDE_sys_times +#ifndef OVERRIDE_TABLE_sys_times TRACE_SYSCALL_TABLE(sys_times, sys_times, 100, 1) #endif -#ifndef OVERRIDE_sys_syslog +#ifndef OVERRIDE_TABLE_sys_syslog TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) #endif -#ifndef OVERRIDE_sys_getgroups +#ifndef OVERRIDE_TABLE_sys_getgroups TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 115, 2) #endif -#ifndef OVERRIDE_sys_setgroups +#ifndef OVERRIDE_TABLE_sys_setgroups TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 116, 2) #endif -#ifndef OVERRIDE_sys_getresuid +#ifndef OVERRIDE_TABLE_sys_getresuid TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 118, 3) #endif -#ifndef OVERRIDE_sys_getresgid +#ifndef OVERRIDE_TABLE_sys_getresgid TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 120, 3) #endif -#ifndef OVERRIDE_sys_rt_sigpending +#ifndef OVERRIDE_TABLE_sys_rt_sigpending TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 127, 2) #endif -#ifndef OVERRIDE_sys_rt_sigtimedwait +#ifndef OVERRIDE_TABLE_sys_rt_sigtimedwait TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 128, 4) #endif -#ifndef OVERRIDE_sys_rt_sigqueueinfo +#ifndef OVERRIDE_TABLE_sys_rt_sigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 129, 3) #endif -#ifndef OVERRIDE_sys_rt_sigsuspend +#ifndef OVERRIDE_TABLE_sys_rt_sigsuspend TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 130, 2) #endif -#ifndef OVERRIDE_sys_utime +#ifndef OVERRIDE_TABLE_sys_utime TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 132, 2) #endif -#ifndef OVERRIDE_sys_mknod +#ifndef OVERRIDE_TABLE_sys_mknod TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 133, 3) #endif -#ifndef OVERRIDE_sys_ustat +#ifndef OVERRIDE_TABLE_sys_ustat TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 136, 2) #endif -#ifndef OVERRIDE_sys_statfs +#ifndef OVERRIDE_TABLE_sys_statfs TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 137, 2) #endif -#ifndef OVERRIDE_sys_fstatfs +#ifndef OVERRIDE_TABLE_sys_fstatfs TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 138, 2) #endif -#ifndef OVERRIDE_sys_sched_setparam +#ifndef OVERRIDE_TABLE_sys_sched_setparam TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 142, 2) #endif -#ifndef OVERRIDE_sys_sched_getparam +#ifndef OVERRIDE_TABLE_sys_sched_getparam TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 143, 2) #endif -#ifndef OVERRIDE_sys_sched_setscheduler +#ifndef OVERRIDE_TABLE_sys_sched_setscheduler TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 144, 3) #endif -#ifndef OVERRIDE_sys_sched_rr_get_interval +#ifndef OVERRIDE_TABLE_sys_sched_rr_get_interval TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 148, 2) #endif -#ifndef OVERRIDE_sys_pivot_root +#ifndef OVERRIDE_TABLE_sys_pivot_root TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 155, 2) #endif -#ifndef OVERRIDE_sys_sysctl +#ifndef OVERRIDE_TABLE_sys_sysctl TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 156, 1) #endif -#ifndef OVERRIDE_sys_adjtimex +#ifndef OVERRIDE_TABLE_sys_adjtimex TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 159, 1) #endif -#ifndef OVERRIDE_sys_setrlimit +#ifndef OVERRIDE_TABLE_sys_setrlimit TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 160, 2) #endif -#ifndef OVERRIDE_sys_chroot +#ifndef OVERRIDE_TABLE_sys_chroot TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 161, 1) #endif -#ifndef OVERRIDE_sys_settimeofday +#ifndef OVERRIDE_TABLE_sys_settimeofday TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 164, 2) #endif -#ifndef OVERRIDE_sys_mount +#ifndef OVERRIDE_TABLE_sys_mount TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 165, 5) #endif -#ifndef OVERRIDE_sys_umount +#ifndef OVERRIDE_TABLE_sys_umount TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 166, 2) #endif -#ifndef OVERRIDE_sys_swapon +#ifndef OVERRIDE_TABLE_sys_swapon TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 167, 2) #endif -#ifndef OVERRIDE_sys_swapoff +#ifndef OVERRIDE_TABLE_sys_swapoff TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 168, 1) #endif -#ifndef OVERRIDE_sys_reboot +#ifndef OVERRIDE_TABLE_sys_reboot TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 169, 4) #endif -#ifndef OVERRIDE_sys_sethostname +#ifndef OVERRIDE_TABLE_sys_sethostname TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 170, 2) #endif -#ifndef OVERRIDE_sys_setdomainname +#ifndef OVERRIDE_TABLE_sys_setdomainname TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 171, 2) #endif -#ifndef OVERRIDE_sys_init_module +#ifndef OVERRIDE_TABLE_sys_init_module TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 175, 3) #endif -#ifndef OVERRIDE_sys_delete_module +#ifndef OVERRIDE_TABLE_sys_delete_module TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 176, 2) #endif -#ifndef OVERRIDE_sys_nfsservctl +#ifndef OVERRIDE_TABLE_sys_nfsservctl TRACE_SYSCALL_TABLE(sys_nfsservctl, sys_nfsservctl, 180, 3) #endif -#ifndef OVERRIDE_sys_setxattr +#ifndef OVERRIDE_TABLE_sys_setxattr TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 188, 5) #endif -#ifndef OVERRIDE_sys_lsetxattr +#ifndef OVERRIDE_TABLE_sys_lsetxattr TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 189, 5) #endif -#ifndef OVERRIDE_sys_fsetxattr +#ifndef OVERRIDE_TABLE_sys_fsetxattr TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 190, 5) #endif -#ifndef OVERRIDE_sys_getxattr +#ifndef OVERRIDE_TABLE_sys_getxattr TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 191, 4) #endif -#ifndef OVERRIDE_sys_lgetxattr +#ifndef OVERRIDE_TABLE_sys_lgetxattr TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 192, 4) #endif -#ifndef OVERRIDE_sys_fgetxattr +#ifndef OVERRIDE_TABLE_sys_fgetxattr TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 193, 4) #endif -#ifndef OVERRIDE_sys_listxattr +#ifndef OVERRIDE_TABLE_sys_listxattr TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 194, 3) #endif -#ifndef OVERRIDE_sys_llistxattr +#ifndef OVERRIDE_TABLE_sys_llistxattr TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 195, 3) #endif -#ifndef OVERRIDE_sys_flistxattr +#ifndef OVERRIDE_TABLE_sys_flistxattr TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 196, 3) #endif -#ifndef OVERRIDE_sys_removexattr +#ifndef OVERRIDE_TABLE_sys_removexattr TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 197, 2) #endif -#ifndef OVERRIDE_sys_lremovexattr +#ifndef OVERRIDE_TABLE_sys_lremovexattr TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 198, 2) #endif -#ifndef OVERRIDE_sys_fremovexattr +#ifndef OVERRIDE_TABLE_sys_fremovexattr TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 199, 2) #endif -#ifndef OVERRIDE_sys_time +#ifndef OVERRIDE_TABLE_sys_time TRACE_SYSCALL_TABLE(sys_time, sys_time, 201, 1) #endif -#ifndef OVERRIDE_sys_futex +#ifndef OVERRIDE_TABLE_sys_futex TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 202, 6) #endif -#ifndef OVERRIDE_sys_sched_setaffinity +#ifndef OVERRIDE_TABLE_sys_sched_setaffinity TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 203, 3) #endif -#ifndef OVERRIDE_sys_sched_getaffinity +#ifndef OVERRIDE_TABLE_sys_sched_getaffinity TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 204, 3) #endif -#ifndef OVERRIDE_sys_io_setup +#ifndef OVERRIDE_TABLE_sys_io_setup TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 206, 2) #endif -#ifndef OVERRIDE_sys_io_getevents +#ifndef OVERRIDE_TABLE_sys_io_getevents TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 208, 5) #endif -#ifndef OVERRIDE_sys_io_submit +#ifndef OVERRIDE_TABLE_sys_io_submit TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 209, 3) #endif -#ifndef OVERRIDE_sys_io_cancel +#ifndef OVERRIDE_TABLE_sys_io_cancel TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 210, 3) #endif -#ifndef OVERRIDE_sys_getdents64 +#ifndef OVERRIDE_TABLE_sys_getdents64 TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 217, 3) #endif -#ifndef OVERRIDE_sys_set_tid_address +#ifndef OVERRIDE_TABLE_sys_set_tid_address TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 218, 1) #endif -#ifndef OVERRIDE_sys_semtimedop +#ifndef OVERRIDE_TABLE_sys_semtimedop TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 220, 4) #endif -#ifndef OVERRIDE_sys_timer_create +#ifndef OVERRIDE_TABLE_sys_timer_create TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 222, 3) #endif -#ifndef OVERRIDE_sys_timer_settime +#ifndef OVERRIDE_TABLE_sys_timer_settime TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 223, 4) #endif -#ifndef OVERRIDE_sys_timer_gettime +#ifndef OVERRIDE_TABLE_sys_timer_gettime TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 224, 2) #endif -#ifndef OVERRIDE_sys_clock_settime +#ifndef OVERRIDE_TABLE_sys_clock_settime TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 227, 2) #endif -#ifndef OVERRIDE_sys_clock_gettime +#ifndef OVERRIDE_TABLE_sys_clock_gettime TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 228, 2) #endif -#ifndef OVERRIDE_sys_clock_getres +#ifndef OVERRIDE_TABLE_sys_clock_getres TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 229, 2) #endif -#ifndef OVERRIDE_sys_clock_nanosleep +#ifndef OVERRIDE_TABLE_sys_clock_nanosleep TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 230, 4) #endif -#ifndef OVERRIDE_sys_epoll_wait +#ifndef OVERRIDE_TABLE_sys_epoll_wait TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 232, 4) #endif -#ifndef OVERRIDE_sys_epoll_ctl +#ifndef OVERRIDE_TABLE_sys_epoll_ctl TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 233, 4) #endif -#ifndef OVERRIDE_sys_utimes +#ifndef OVERRIDE_TABLE_sys_utimes TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 235, 2) #endif -#ifndef OVERRIDE_sys_mq_open +#ifndef OVERRIDE_TABLE_sys_mq_open TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 240, 4) #endif -#ifndef OVERRIDE_sys_mq_unlink +#ifndef OVERRIDE_TABLE_sys_mq_unlink TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 241, 1) #endif -#ifndef OVERRIDE_sys_mq_timedsend +#ifndef OVERRIDE_TABLE_sys_mq_timedsend TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 242, 5) #endif -#ifndef OVERRIDE_sys_mq_timedreceive +#ifndef OVERRIDE_TABLE_sys_mq_timedreceive TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 243, 5) #endif -#ifndef OVERRIDE_sys_mq_notify +#ifndef OVERRIDE_TABLE_sys_mq_notify TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 244, 2) #endif -#ifndef OVERRIDE_sys_mq_getsetattr +#ifndef OVERRIDE_TABLE_sys_mq_getsetattr TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 245, 3) #endif -#ifndef OVERRIDE_sys_kexec_load +#ifndef OVERRIDE_TABLE_sys_kexec_load TRACE_SYSCALL_TABLE(sys_kexec_load, sys_kexec_load, 246, 4) #endif -#ifndef OVERRIDE_sys_waitid +#ifndef OVERRIDE_TABLE_sys_waitid TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 247, 5) #endif -#ifndef OVERRIDE_sys_inotify_add_watch +#ifndef OVERRIDE_TABLE_sys_inotify_add_watch TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 254, 3) #endif -#ifndef OVERRIDE_sys_openat +#ifndef OVERRIDE_TABLE_sys_openat TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 257, 4) #endif -#ifndef OVERRIDE_sys_mkdirat +#ifndef OVERRIDE_TABLE_sys_mkdirat TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 258, 3) #endif -#ifndef OVERRIDE_sys_mknodat +#ifndef OVERRIDE_TABLE_sys_mknodat TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 259, 4) #endif -#ifndef OVERRIDE_sys_fchownat +#ifndef OVERRIDE_TABLE_sys_fchownat TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 260, 5) #endif -#ifndef OVERRIDE_sys_futimesat +#ifndef OVERRIDE_TABLE_sys_futimesat TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 261, 3) #endif -#ifndef OVERRIDE_sys_newfstatat +#ifndef OVERRIDE_TABLE_sys_newfstatat TRACE_SYSCALL_TABLE(sys_newfstatat, sys_newfstatat, 262, 4) #endif -#ifndef OVERRIDE_sys_unlinkat +#ifndef OVERRIDE_TABLE_sys_unlinkat TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 263, 3) #endif -#ifndef OVERRIDE_sys_renameat +#ifndef OVERRIDE_TABLE_sys_renameat TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 264, 4) #endif -#ifndef OVERRIDE_sys_linkat +#ifndef OVERRIDE_TABLE_sys_linkat TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 265, 5) #endif -#ifndef OVERRIDE_sys_symlinkat +#ifndef OVERRIDE_TABLE_sys_symlinkat TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 266, 3) #endif -#ifndef OVERRIDE_sys_readlinkat +#ifndef OVERRIDE_TABLE_sys_readlinkat TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 267, 4) #endif -#ifndef OVERRIDE_sys_fchmodat +#ifndef OVERRIDE_TABLE_sys_fchmodat TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 268, 3) #endif -#ifndef OVERRIDE_sys_faccessat +#ifndef OVERRIDE_TABLE_sys_faccessat TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 269, 3) #endif -#ifndef OVERRIDE_sys_pselect6 +#ifndef OVERRIDE_TABLE_sys_pselect6 TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 270, 6) #endif -#ifndef OVERRIDE_sys_ppoll +#ifndef OVERRIDE_TABLE_sys_ppoll TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 271, 5) #endif -#ifndef OVERRIDE_sys_set_robust_list +#ifndef OVERRIDE_TABLE_sys_set_robust_list TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 273, 2) #endif -#ifndef OVERRIDE_sys_get_robust_list +#ifndef OVERRIDE_TABLE_sys_get_robust_list TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 274, 3) #endif -#ifndef OVERRIDE_sys_splice +#ifndef OVERRIDE_TABLE_sys_splice TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 275, 6) #endif -#ifndef OVERRIDE_sys_vmsplice +#ifndef OVERRIDE_TABLE_sys_vmsplice TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 278, 4) #endif -#ifndef OVERRIDE_sys_utimensat +#ifndef OVERRIDE_TABLE_sys_utimensat TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 280, 4) #endif -#ifndef OVERRIDE_sys_epoll_pwait +#ifndef OVERRIDE_TABLE_sys_epoll_pwait TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 281, 6) #endif -#ifndef OVERRIDE_sys_signalfd +#ifndef OVERRIDE_TABLE_sys_signalfd TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 282, 3) #endif -#ifndef OVERRIDE_sys_timerfd_settime +#ifndef OVERRIDE_TABLE_sys_timerfd_settime TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 286, 4) #endif -#ifndef OVERRIDE_sys_timerfd_gettime +#ifndef OVERRIDE_TABLE_sys_timerfd_gettime TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 287, 2) #endif -#ifndef OVERRIDE_sys_accept4 +#ifndef OVERRIDE_TABLE_sys_accept4 TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 288, 4) #endif -#ifndef OVERRIDE_sys_signalfd4 +#ifndef OVERRIDE_TABLE_sys_signalfd4 TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 289, 4) #endif -#ifndef OVERRIDE_sys_pipe2 +#ifndef OVERRIDE_TABLE_sys_pipe2 TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 293, 2) #endif -#ifndef OVERRIDE_sys_preadv +#ifndef OVERRIDE_TABLE_sys_preadv TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 295, 5) #endif -#ifndef OVERRIDE_sys_pwritev +#ifndef OVERRIDE_TABLE_sys_pwritev TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 296, 5) #endif -#ifndef OVERRIDE_sys_rt_tgsigqueueinfo +#ifndef OVERRIDE_TABLE_sys_rt_tgsigqueueinfo TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 297, 4) #endif -#ifndef OVERRIDE_sys_perf_event_open +#ifndef OVERRIDE_TABLE_sys_perf_event_open TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 298, 5) #endif -#ifndef OVERRIDE_sys_recvmmsg +#ifndef OVERRIDE_TABLE_sys_recvmmsg TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 299, 5) #endif -#ifndef OVERRIDE_sys_prlimit64 +#ifndef OVERRIDE_TABLE_sys_prlimit64 TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 302, 4) #endif -#ifndef OVERRIDE_sys_clock_adjtime +#ifndef OVERRIDE_TABLE_sys_clock_adjtime TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 305, 2) #endif -#ifndef OVERRIDE_sys_sendmmsg +#ifndef OVERRIDE_TABLE_sys_sendmmsg TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 307, 4) #endif diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index c7dd6547..5fb1f8fa 100644 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -218,7 +218,7 @@ if [ "$CLASS" = integers ]; then #noargs grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_TABLE_sys_$1\n'\ 'TRACE_SYSCALL_TABLE\(syscalls_noargs, sys_$1, $2, $3\)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} @@ -227,7 +227,7 @@ fi #others. grep -v "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE} perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\ -'#ifndef OVERRIDE_sys_$1\n'\ +'#ifndef OVERRIDE_TABLE_sys_$1\n'\ 'TRACE_SYSCALL_TABLE(sys_$1, sys_$1, $2, $3)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} -- 2.34.1