From: Mathieu Desnoyers Date: Tue, 9 Sep 2014 12:28:31 +0000 (-0400) Subject: Rename LTTng syscall instrumentation macros X-Git-Tag: v2.6.0-rc1~40 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cb3ef14c052adc12da2b9e26aebf9fc6e7d82fa3;p=lttng-modules.git Rename LTTng syscall instrumentation macros Mapping: SC_LTTNG_TRACE_EVENT -> SC_LTTNG_TRACEPOINT_EVENT_CODE SC_TRACE_EVENT -> SC_LTTNG_TRACEPOINT_EVENT SC_DECLARE_EVENT_CLASS_NOARGS -> SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS SC_DEFINE_EVENT_NOARGS -> SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h index b248851e..d3761526 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h @@ -9,73 +9,73 @@ #include "arm-32-syscalls-3.4.25_integers_override.h" #include "syscalls_integers_override.h" -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_32_sys_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) #endif #ifndef OVERRIDE_32_sys_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) #endif #ifndef OVERRIDE_32_sys_getuid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid16) #endif #ifndef OVERRIDE_32_sys_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) #endif #ifndef OVERRIDE_32_sys_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) #endif #ifndef OVERRIDE_32_sys_getgid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid16) #endif #ifndef OVERRIDE_32_sys_geteuid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid16) #endif #ifndef OVERRIDE_32_sys_getegid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid16) #endif #ifndef OVERRIDE_32_sys_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) #endif #ifndef OVERRIDE_32_sys_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) #endif #ifndef OVERRIDE_32_sys_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) #endif #ifndef OVERRIDE_32_sys_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) #endif #ifndef OVERRIDE_32_sys_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) #endif #ifndef OVERRIDE_32_sys_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) #endif #ifndef OVERRIDE_32_sys_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) #endif #ifndef OVERRIDE_32_sys_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) #endif #ifndef OVERRIDE_32_sys_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) #endif #ifndef OVERRIDE_32_sys_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) #endif #ifndef OVERRIDE_32_sys_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) #endif #ifndef OVERRIDE_32_sys_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) #endif #ifndef OVERRIDE_32_sys_exit -SC_TRACE_EVENT(sys_exit, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -84,7 +84,7 @@ SC_TRACE_EVENT(sys_exit, ) #endif #ifndef OVERRIDE_32_sys_close -SC_TRACE_EVENT(sys_close, +SC_LTTNG_TRACEPOINT_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -93,7 +93,7 @@ SC_TRACE_EVENT(sys_close, ) #endif #ifndef OVERRIDE_32_sys_setuid16 -SC_TRACE_EVENT(sys_setuid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid16, TP_PROTO(old_uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(old_uid_t, uid)), @@ -102,7 +102,7 @@ SC_TRACE_EVENT(sys_setuid16, ) #endif #ifndef OVERRIDE_32_sys_nice -SC_TRACE_EVENT(sys_nice, +SC_LTTNG_TRACEPOINT_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), TP_STRUCT__entry(__field(int, increment)), @@ -111,7 +111,7 @@ SC_TRACE_EVENT(sys_nice, ) #endif #ifndef OVERRIDE_32_sys_dup -SC_TRACE_EVENT(sys_dup, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field(unsigned int, fildes)), @@ -120,7 +120,7 @@ SC_TRACE_EVENT(sys_dup, ) #endif #ifndef OVERRIDE_32_sys_brk -SC_TRACE_EVENT(sys_brk, +SC_LTTNG_TRACEPOINT_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), TP_STRUCT__entry(__field(unsigned long, brk)), @@ -129,7 +129,7 @@ SC_TRACE_EVENT(sys_brk, ) #endif #ifndef OVERRIDE_32_sys_setgid16 -SC_TRACE_EVENT(sys_setgid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid16, TP_PROTO(old_gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(old_gid_t, gid)), @@ -138,7 +138,7 @@ SC_TRACE_EVENT(sys_setgid16, ) #endif #ifndef OVERRIDE_32_sys_umask -SC_TRACE_EVENT(sys_umask, +SC_LTTNG_TRACEPOINT_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), TP_STRUCT__entry(__field(int, mask)), @@ -147,7 +147,7 @@ SC_TRACE_EVENT(sys_umask, ) #endif #ifndef OVERRIDE_32_sys_fsync -SC_TRACE_EVENT(sys_fsync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -156,7 +156,7 @@ SC_TRACE_EVENT(sys_fsync, ) #endif #ifndef OVERRIDE_32_sys_getpgid -SC_TRACE_EVENT(sys_getpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -165,7 +165,7 @@ SC_TRACE_EVENT(sys_getpgid, ) #endif #ifndef OVERRIDE_32_sys_fchdir -SC_TRACE_EVENT(sys_fchdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -174,7 +174,7 @@ SC_TRACE_EVENT(sys_fchdir, ) #endif #ifndef OVERRIDE_32_sys_personality -SC_TRACE_EVENT(sys_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned int, personality)), @@ -183,7 +183,7 @@ SC_TRACE_EVENT(sys_personality, ) #endif #ifndef OVERRIDE_32_sys_setfsuid16 -SC_TRACE_EVENT(sys_setfsuid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid16, TP_PROTO(old_uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(old_uid_t, uid)), @@ -192,7 +192,7 @@ SC_TRACE_EVENT(sys_setfsuid16, ) #endif #ifndef OVERRIDE_32_sys_setfsgid16 -SC_TRACE_EVENT(sys_setfsgid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid16, TP_PROTO(old_gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(old_gid_t, gid)), @@ -201,7 +201,7 @@ SC_TRACE_EVENT(sys_setfsgid16, ) #endif #ifndef OVERRIDE_32_sys_getsid -SC_TRACE_EVENT(sys_getsid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(sys_getsid, ) #endif #ifndef OVERRIDE_32_sys_fdatasync -SC_TRACE_EVENT(sys_fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(sys_fdatasync, ) #endif #ifndef OVERRIDE_32_sys_mlockall -SC_TRACE_EVENT(sys_mlockall, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(sys_mlockall, ) #endif #ifndef OVERRIDE_32_sys_sched_getscheduler -SC_TRACE_EVENT(sys_sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_TRACE_EVENT(sys_sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_TRACE_EVENT(sys_sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, ) #endif #ifndef OVERRIDE_32_sys_setuid -SC_TRACE_EVENT(sys_setuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(sys_setuid, ) #endif #ifndef OVERRIDE_32_sys_setgid -SC_TRACE_EVENT(sys_setgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(sys_setgid, ) #endif #ifndef OVERRIDE_32_sys_setfsuid -SC_TRACE_EVENT(sys_setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(sys_setfsuid, ) #endif #ifndef OVERRIDE_32_sys_setfsgid -SC_TRACE_EVENT(sys_setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(sys_setfsgid, ) #endif #ifndef OVERRIDE_32_sys_io_destroy -SC_TRACE_EVENT(sys_io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), TP_STRUCT__entry(__field(aio_context_t, ctx)), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(sys_io_destroy, ) #endif #ifndef OVERRIDE_32_sys_exit_group -SC_TRACE_EVENT(sys_exit_group, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(sys_exit_group, ) #endif #ifndef OVERRIDE_32_sys_epoll_create -SC_TRACE_EVENT(sys_epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), TP_STRUCT__entry(__field(int, size)), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(sys_epoll_create, ) #endif #ifndef OVERRIDE_32_sys_timer_getoverrun -SC_TRACE_EVENT(sys_timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, ) #endif #ifndef OVERRIDE_32_sys_timer_delete -SC_TRACE_EVENT(sys_timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(sys_timer_delete, ) #endif #ifndef OVERRIDE_32_sys_unshare -SC_TRACE_EVENT(sys_unshare, +SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), TP_STRUCT__entry(__field(unsigned long, unshare_flags)), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(sys_unshare, ) #endif #ifndef OVERRIDE_32_sys_eventfd -SC_TRACE_EVENT(sys_eventfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), TP_STRUCT__entry(__field(unsigned int, count)), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(sys_eventfd, ) #endif #ifndef OVERRIDE_32_sys_epoll_create1 -SC_TRACE_EVENT(sys_epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sys_epoll_create1, ) #endif #ifndef OVERRIDE_32_sys_inotify_init1 -SC_TRACE_EVENT(sys_inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sys_inotify_init1, ) #endif #ifndef OVERRIDE_32_sys_syncfs -SC_TRACE_EVENT(sys_syncfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(int, fd)), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sys_syncfs, ) #endif #ifndef OVERRIDE_32_sys_kill -SC_TRACE_EVENT(sys_kill, +SC_LTTNG_TRACEPOINT_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(sys_kill, ) #endif #ifndef OVERRIDE_32_sys_setpgid -SC_TRACE_EVENT(sys_setpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(sys_setpgid, ) #endif #ifndef OVERRIDE_32_sys_dup2 -SC_TRACE_EVENT(sys_dup2, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(sys_dup2, ) #endif #ifndef OVERRIDE_32_sys_setreuid16 -SC_TRACE_EVENT(sys_setreuid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid16, TP_PROTO(old_uid_t ruid, old_uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid)), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(sys_setreuid16, ) #endif #ifndef OVERRIDE_32_sys_setregid16 -SC_TRACE_EVENT(sys_setregid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid16, TP_PROTO(old_gid_t rgid, old_gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid)), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(sys_setregid16, ) #endif #ifndef OVERRIDE_32_sys_munmap -SC_TRACE_EVENT(sys_munmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(sys_munmap, ) #endif #ifndef OVERRIDE_32_sys_ftruncate -SC_TRACE_EVENT(sys_ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(sys_ftruncate, ) #endif #ifndef OVERRIDE_32_sys_fchmod -SC_TRACE_EVENT(sys_fchmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, umode_t mode), TP_ARGS(fd, mode), TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(sys_fchmod, ) #endif #ifndef OVERRIDE_32_sys_getpriority -SC_TRACE_EVENT(sys_getpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(sys_getpriority, ) #endif #ifndef OVERRIDE_32_sys_bdflush -SC_TRACE_EVENT(sys_bdflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), TP_STRUCT__entry(__field(int, func) __field(long, data)), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(sys_bdflush, ) #endif #ifndef OVERRIDE_32_sys_flock -SC_TRACE_EVENT(sys_flock, +SC_LTTNG_TRACEPOINT_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), @@ -480,7 +480,7 @@ SC_TRACE_EVENT(sys_flock, ) #endif #ifndef OVERRIDE_32_sys_mlock -SC_TRACE_EVENT(sys_mlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -489,7 +489,7 @@ SC_TRACE_EVENT(sys_mlock, ) #endif #ifndef OVERRIDE_32_sys_munlock -SC_TRACE_EVENT(sys_munlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -498,7 +498,7 @@ SC_TRACE_EVENT(sys_munlock, ) #endif #ifndef OVERRIDE_32_sys_setreuid -SC_TRACE_EVENT(sys_setreuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), @@ -507,7 +507,7 @@ SC_TRACE_EVENT(sys_setreuid, ) #endif #ifndef OVERRIDE_32_sys_setregid -SC_TRACE_EVENT(sys_setregid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), @@ -516,7 +516,7 @@ SC_TRACE_EVENT(sys_setregid, ) #endif #ifndef OVERRIDE_32_sys_tkill -SC_TRACE_EVENT(sys_tkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -525,7 +525,7 @@ SC_TRACE_EVENT(sys_tkill, ) #endif #ifndef OVERRIDE_32_sys_listen -SC_TRACE_EVENT(sys_listen, +SC_LTTNG_TRACEPOINT_EVENT(sys_listen, TP_PROTO(int fd, int backlog), TP_ARGS(fd, backlog), TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), @@ -534,7 +534,7 @@ SC_TRACE_EVENT(sys_listen, ) #endif #ifndef OVERRIDE_32_sys_shutdown -SC_TRACE_EVENT(sys_shutdown, +SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, TP_PROTO(int fd, int how), TP_ARGS(fd, how), TP_STRUCT__entry(__field(int, fd) __field(int, how)), @@ -543,7 +543,7 @@ SC_TRACE_EVENT(sys_shutdown, ) #endif #ifndef OVERRIDE_32_sys_msgget -SC_TRACE_EVENT(sys_msgget, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgget, TP_PROTO(key_t key, int msgflg), TP_ARGS(key, msgflg), TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), @@ -552,7 +552,7 @@ SC_TRACE_EVENT(sys_msgget, ) #endif #ifndef OVERRIDE_32_sys_ioprio_get -SC_TRACE_EVENT(sys_ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -561,7 +561,7 @@ SC_TRACE_EVENT(sys_ioprio_get, ) #endif #ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_TRACE_EVENT(sys_inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), @@ -570,7 +570,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, ) #endif #ifndef OVERRIDE_32_sys_timerfd_create -SC_TRACE_EVENT(sys_timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), @@ -579,7 +579,7 @@ SC_TRACE_EVENT(sys_timerfd_create, ) #endif #ifndef OVERRIDE_32_sys_eventfd2 -SC_TRACE_EVENT(sys_eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), @@ -588,7 +588,7 @@ SC_TRACE_EVENT(sys_eventfd2, ) #endif #ifndef OVERRIDE_32_sys_fanotify_init -SC_TRACE_EVENT(sys_fanotify_init, +SC_LTTNG_TRACEPOINT_EVENT(sys_fanotify_init, TP_PROTO(unsigned int flags, unsigned int event_f_flags), TP_ARGS(flags, event_f_flags), TP_STRUCT__entry(__field(unsigned int, flags) __field(unsigned int, event_f_flags)), @@ -597,7 +597,7 @@ SC_TRACE_EVENT(sys_fanotify_init, ) #endif #ifndef OVERRIDE_32_sys_setns -SC_TRACE_EVENT(sys_setns, +SC_LTTNG_TRACEPOINT_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), @@ -606,7 +606,7 @@ SC_TRACE_EVENT(sys_setns, ) #endif #ifndef OVERRIDE_32_sys_lseek -SC_TRACE_EVENT(sys_lseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), @@ -615,7 +615,7 @@ SC_TRACE_EVENT(sys_lseek, ) #endif #ifndef OVERRIDE_32_sys_ioctl -SC_TRACE_EVENT(sys_ioctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -624,7 +624,7 @@ SC_TRACE_EVENT(sys_ioctl, ) #endif #ifndef OVERRIDE_32_sys_fcntl -SC_TRACE_EVENT(sys_fcntl, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -633,7 +633,7 @@ SC_TRACE_EVENT(sys_fcntl, ) #endif #ifndef OVERRIDE_32_sys_fchown16 -SC_TRACE_EVENT(sys_fchown16, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown16, TP_PROTO(unsigned int fd, old_uid_t user, old_gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(old_uid_t, user) __field(old_gid_t, group)), @@ -642,7 +642,7 @@ SC_TRACE_EVENT(sys_fchown16, ) #endif #ifndef OVERRIDE_32_sys_setpriority -SC_TRACE_EVENT(sys_setpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), @@ -651,7 +651,7 @@ SC_TRACE_EVENT(sys_setpriority, ) #endif #ifndef OVERRIDE_32_sys_mprotect -SC_TRACE_EVENT(sys_mprotect, +SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), @@ -660,7 +660,7 @@ SC_TRACE_EVENT(sys_mprotect, ) #endif #ifndef OVERRIDE_32_sys_sysfs -SC_TRACE_EVENT(sys_sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), @@ -669,7 +669,7 @@ SC_TRACE_EVENT(sys_sysfs, ) #endif #ifndef OVERRIDE_32_sys_msync -SC_TRACE_EVENT(sys_msync, +SC_LTTNG_TRACEPOINT_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), @@ -678,7 +678,7 @@ SC_TRACE_EVENT(sys_msync, ) #endif #ifndef OVERRIDE_32_sys_setresuid16 -SC_TRACE_EVENT(sys_setresuid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid16, TP_PROTO(old_uid_t ruid, old_uid_t euid, old_uid_t suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid) __field(old_uid_t, suid)), @@ -687,7 +687,7 @@ SC_TRACE_EVENT(sys_setresuid16, ) #endif #ifndef OVERRIDE_32_sys_setresgid16 -SC_TRACE_EVENT(sys_setresgid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid16, TP_PROTO(old_gid_t rgid, old_gid_t egid, old_gid_t sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid) __field(old_gid_t, sgid)), @@ -696,7 +696,7 @@ SC_TRACE_EVENT(sys_setresgid16, ) #endif #ifndef OVERRIDE_32_sys_fchown -SC_TRACE_EVENT(sys_fchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), @@ -705,7 +705,7 @@ SC_TRACE_EVENT(sys_fchown, ) #endif #ifndef OVERRIDE_32_sys_setresuid -SC_TRACE_EVENT(sys_setresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), @@ -714,7 +714,7 @@ SC_TRACE_EVENT(sys_setresuid, ) #endif #ifndef OVERRIDE_32_sys_setresgid -SC_TRACE_EVENT(sys_setresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), @@ -723,7 +723,7 @@ SC_TRACE_EVENT(sys_setresgid, ) #endif #ifndef OVERRIDE_32_sys_madvise -SC_TRACE_EVENT(sys_madvise, +SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), @@ -732,7 +732,7 @@ SC_TRACE_EVENT(sys_madvise, ) #endif #ifndef OVERRIDE_32_sys_fcntl64 -SC_TRACE_EVENT(sys_fcntl64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -741,7 +741,7 @@ SC_TRACE_EVENT(sys_fcntl64, ) #endif #ifndef OVERRIDE_32_sys_tgkill -SC_TRACE_EVENT(sys_tgkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), @@ -750,7 +750,7 @@ SC_TRACE_EVENT(sys_tgkill, ) #endif #ifndef OVERRIDE_32_sys_socket -SC_TRACE_EVENT(sys_socket, +SC_LTTNG_TRACEPOINT_EVENT(sys_socket, TP_PROTO(int family, int type, int protocol), TP_ARGS(family, type, protocol), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), @@ -759,7 +759,7 @@ SC_TRACE_EVENT(sys_socket, ) #endif #ifndef OVERRIDE_32_sys_semget -SC_TRACE_EVENT(sys_semget, +SC_LTTNG_TRACEPOINT_EVENT(sys_semget, TP_PROTO(key_t key, int nsems, int semflg), TP_ARGS(key, nsems, semflg), TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), @@ -768,7 +768,7 @@ SC_TRACE_EVENT(sys_semget, ) #endif #ifndef OVERRIDE_32_sys_shmget -SC_TRACE_EVENT(sys_shmget, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmget, TP_PROTO(key_t key, size_t size, int shmflg), TP_ARGS(key, size, shmflg), TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), @@ -777,7 +777,7 @@ SC_TRACE_EVENT(sys_shmget, ) #endif #ifndef OVERRIDE_32_sys_ioprio_set -SC_TRACE_EVENT(sys_ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), @@ -786,7 +786,7 @@ SC_TRACE_EVENT(sys_ioprio_set, ) #endif #ifndef OVERRIDE_32_sys_dup3 -SC_TRACE_EVENT(sys_dup3, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), @@ -795,7 +795,7 @@ SC_TRACE_EVENT(sys_dup3, ) #endif #ifndef OVERRIDE_32_sys_ptrace -SC_TRACE_EVENT(sys_ptrace, +SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(request, pid, addr, data), TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), @@ -804,7 +804,7 @@ SC_TRACE_EVENT(sys_ptrace, ) #endif #ifndef OVERRIDE_32_sys_tee -SC_TRACE_EVENT(sys_tee, +SC_LTTNG_TRACEPOINT_EVENT(sys_tee, TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(fdin, fdout, len, flags), TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), @@ -813,7 +813,7 @@ SC_TRACE_EVENT(sys_tee, ) #endif #ifndef OVERRIDE_32_sys_mremap -SC_TRACE_EVENT(sys_mremap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), @@ -822,7 +822,7 @@ SC_TRACE_EVENT(sys_mremap, ) #endif #ifndef OVERRIDE_32_sys_prctl -SC_TRACE_EVENT(sys_prctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), @@ -831,7 +831,7 @@ SC_TRACE_EVENT(sys_prctl, ) #endif #ifndef OVERRIDE_32_sys_remap_file_pages -SC_TRACE_EVENT(sys_remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(start, size, prot, pgoff, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), @@ -840,7 +840,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, ) #endif #ifndef OVERRIDE_32_sys_keyctl -SC_TRACE_EVENT(sys_keyctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h index 895370f1..e575f6e0 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h @@ -5,7 +5,7 @@ #ifndef CREATE_SYSCALL_TABLE -SC_TRACE_EVENT(sys_arm_fadvise64_64, +SC_LTTNG_TRACEPOINT_EVENT(sys_arm_fadvise64_64, TP_PROTO(int fd, int advice, loff_t offset, loff_t len), TP_ARGS(fd, advice, offset, len), TP_STRUCT__entry( @@ -21,7 +21,7 @@ SC_TRACE_EVENT(sys_arm_fadvise64_64, TP_printk() ) -SC_TRACE_EVENT(sys_sync_file_range2, +SC_LTTNG_TRACEPOINT_EVENT(sys_sync_file_range2, TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags), TP_ARGS(fd, offset, nbytes, flags), TP_STRUCT__entry( diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h index ce257209..2f5dfcb4 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_sys_unlink -SC_TRACE_EVENT(sys_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(sys_unlink, ) #endif #ifndef OVERRIDE_32_sys_chdir -SC_TRACE_EVENT(sys_chdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(sys_chdir, ) #endif #ifndef OVERRIDE_32_sys_rmdir -SC_TRACE_EVENT(sys_rmdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(sys_rmdir, ) #endif #ifndef OVERRIDE_32_sys_pipe -SC_TRACE_EVENT(sys_pipe, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe, TP_PROTO(int * fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field_hex(int *, fildes)), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(sys_pipe, ) #endif #ifndef OVERRIDE_32_sys_times -SC_TRACE_EVENT(sys_times, +SC_LTTNG_TRACEPOINT_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(sys_times, ) #endif #ifndef OVERRIDE_32_sys_acct -SC_TRACE_EVENT(sys_acct, +SC_LTTNG_TRACEPOINT_EVENT(sys_acct, TP_PROTO(const char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(sys_acct, ) #endif #ifndef OVERRIDE_32_sys_chroot -SC_TRACE_EVENT(sys_chroot, +SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sys_chroot, ) #endif #ifndef OVERRIDE_32_sys_sigpending -SC_TRACE_EVENT(sys_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, TP_PROTO(old_sigset_t * set), TP_ARGS(set), TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(sys_sigpending, ) #endif #ifndef OVERRIDE_32_sys_uselib -SC_TRACE_EVENT(sys_uselib, +SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), TP_STRUCT__entry(__field_hex(const char *, library)), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sys_uselib, ) #endif #ifndef OVERRIDE_32_sys_swapoff -SC_TRACE_EVENT(sys_swapoff, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(sys_swapoff, ) #endif #ifndef OVERRIDE_32_sys_sysinfo -SC_TRACE_EVENT(sys_sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(sys_sysinfo, ) #endif #ifndef OVERRIDE_32_sys_newuname -SC_TRACE_EVENT(sys_newuname, +SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sys_newuname, ) #endif #ifndef OVERRIDE_32_sys_adjtimex -SC_TRACE_EVENT(sys_adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(sys_adjtimex, ) #endif #ifndef OVERRIDE_32_sys_sysctl -SC_TRACE_EVENT(sys_sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(sys_sysctl, ) #endif #ifndef OVERRIDE_32_sys_set_tid_address -SC_TRACE_EVENT(sys_set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), TP_STRUCT__entry(__field_hex(int *, tidptr)), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(sys_set_tid_address, ) #endif #ifndef OVERRIDE_32_sys_mq_unlink -SC_TRACE_EVENT(sys_mq_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_unlink, TP_PROTO(const char * u_name), TP_ARGS(u_name), TP_STRUCT__entry(__string_from_user(u_name, u_name)), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(sys_mq_unlink, ) #endif #ifndef OVERRIDE_32_sys_shmdt -SC_TRACE_EVENT(sys_shmdt, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmdt, TP_PROTO(char * shmaddr), TP_ARGS(shmaddr), TP_STRUCT__entry(__field_hex(char *, shmaddr)), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(sys_shmdt, ) #endif #ifndef OVERRIDE_32_sys_creat -SC_TRACE_EVENT(sys_creat, +SC_LTTNG_TRACEPOINT_EVENT(sys_creat, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sys_creat, ) #endif #ifndef OVERRIDE_32_sys_link -SC_TRACE_EVENT(sys_link, +SC_LTTNG_TRACEPOINT_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(sys_link, ) #endif #ifndef OVERRIDE_32_sys_chmod -SC_TRACE_EVENT(sys_chmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, TP_PROTO(const char * filename, umode_t mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(sys_chmod, ) #endif #ifndef OVERRIDE_32_sys_access -SC_TRACE_EVENT(sys_access, +SC_LTTNG_TRACEPOINT_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sys_access, ) #endif #ifndef OVERRIDE_32_sys_rename -SC_TRACE_EVENT(sys_rename, +SC_LTTNG_TRACEPOINT_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(sys_rename, ) #endif #ifndef OVERRIDE_32_sys_mkdir -SC_TRACE_EVENT(sys_mkdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(sys_mkdir, ) #endif #ifndef OVERRIDE_32_sys_umount -SC_TRACE_EVENT(sys_umount, +SC_LTTNG_TRACEPOINT_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(sys_umount, ) #endif #ifndef OVERRIDE_32_sys_ustat -SC_TRACE_EVENT(sys_ustat, +SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(sys_ustat, ) #endif #ifndef OVERRIDE_32_sys_sethostname -SC_TRACE_EVENT(sys_sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(sys_sethostname, ) #endif #ifndef OVERRIDE_32_sys_setrlimit -SC_TRACE_EVENT(sys_setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(sys_setrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrusage -SC_TRACE_EVENT(sys_getrusage, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(sys_getrusage, ) #endif #ifndef OVERRIDE_32_sys_gettimeofday -SC_TRACE_EVENT(sys_gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(sys_gettimeofday, ) #endif #ifndef OVERRIDE_32_sys_settimeofday -SC_TRACE_EVENT(sys_settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(sys_settimeofday, ) #endif #ifndef OVERRIDE_32_sys_getgroups16 -SC_TRACE_EVENT(sys_getgroups16, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups16, TP_PROTO(int gidsetsize, old_gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(sys_getgroups16, ) #endif #ifndef OVERRIDE_32_sys_setgroups16 -SC_TRACE_EVENT(sys_setgroups16, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups16, TP_PROTO(int gidsetsize, old_gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(sys_setgroups16, ) #endif #ifndef OVERRIDE_32_sys_symlink -SC_TRACE_EVENT(sys_symlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(sys_symlink, ) #endif #ifndef OVERRIDE_32_sys_swapon -SC_TRACE_EVENT(sys_swapon, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(sys_swapon, ) #endif #ifndef OVERRIDE_32_sys_truncate -SC_TRACE_EVENT(sys_truncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sys_truncate, ) #endif #ifndef OVERRIDE_32_sys_statfs -SC_TRACE_EVENT(sys_statfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(sys_statfs, ) #endif #ifndef OVERRIDE_32_sys_fstatfs -SC_TRACE_EVENT(sys_fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(sys_fstatfs, ) #endif #ifndef OVERRIDE_32_sys_getitimer -SC_TRACE_EVENT(sys_getitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sys_getitimer, ) #endif #ifndef OVERRIDE_32_sys_newstat -SC_TRACE_EVENT(sys_newstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(sys_newstat, ) #endif #ifndef OVERRIDE_32_sys_newlstat -SC_TRACE_EVENT(sys_newlstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(sys_newlstat, ) #endif #ifndef OVERRIDE_32_sys_newfstat -SC_TRACE_EVENT(sys_newfstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(sys_newfstat, ) #endif #ifndef OVERRIDE_32_sys_setdomainname -SC_TRACE_EVENT(sys_setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(sys_setdomainname, ) #endif #ifndef OVERRIDE_32_sys_delete_module -SC_TRACE_EVENT(sys_delete_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sys_delete_module, ) #endif #ifndef OVERRIDE_32_sys_sched_setparam -SC_TRACE_EVENT(sys_sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sys_sched_setparam, ) #endif #ifndef OVERRIDE_32_sys_sched_getparam -SC_TRACE_EVENT(sys_sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sys_sched_getparam, ) #endif #ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_TRACE_EVENT(sys_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_32_sys_nanosleep -SC_TRACE_EVENT(sys_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(sys_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_rt_sigpending -SC_TRACE_EVENT(sys_rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * set, size_t sigsetsize), TP_ARGS(set, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, ) #endif #ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_TRACE_EVENT(sys_rt_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, TP_PROTO(sigset_t * unewset, size_t sigsetsize), TP_ARGS(unewset, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(sys_rt_sigsuspend, ) #endif #ifndef OVERRIDE_32_sys_getcwd -SC_TRACE_EVENT(sys_getcwd, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(sys_getcwd, ) #endif #ifndef OVERRIDE_32_sys_getrlimit -SC_TRACE_EVENT(sys_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sys_getrlimit, ) #endif #ifndef OVERRIDE_32_sys_stat64 -SC_TRACE_EVENT(sys_stat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(sys_stat64, ) #endif #ifndef OVERRIDE_32_sys_lstat64 -SC_TRACE_EVENT(sys_lstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(sys_lstat64, ) #endif #ifndef OVERRIDE_32_sys_fstat64 -SC_TRACE_EVENT(sys_fstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, TP_PROTO(unsigned long fd, struct stat64 * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(sys_fstat64, ) #endif #ifndef OVERRIDE_32_sys_getgroups -SC_TRACE_EVENT(sys_getgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(sys_getgroups, ) #endif #ifndef OVERRIDE_32_sys_setgroups -SC_TRACE_EVENT(sys_setgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sys_setgroups, ) #endif #ifndef OVERRIDE_32_sys_pivot_root -SC_TRACE_EVENT(sys_pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sys_pivot_root, ) #endif #ifndef OVERRIDE_32_sys_removexattr -SC_TRACE_EVENT(sys_removexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sys_removexattr, ) #endif #ifndef OVERRIDE_32_sys_lremovexattr -SC_TRACE_EVENT(sys_lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(sys_lremovexattr, ) #endif #ifndef OVERRIDE_32_sys_fremovexattr -SC_TRACE_EVENT(sys_fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(sys_fremovexattr, ) #endif #ifndef OVERRIDE_32_sys_io_setup -SC_TRACE_EVENT(sys_io_setup, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(sys_io_setup, ) #endif #ifndef OVERRIDE_32_sys_timer_gettime -SC_TRACE_EVENT(sys_timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(sys_timer_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_settime -SC_TRACE_EVENT(sys_clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(sys_clock_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_gettime -SC_TRACE_EVENT(sys_clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(sys_clock_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_getres -SC_TRACE_EVENT(sys_clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(sys_clock_getres, ) #endif #ifndef OVERRIDE_32_sys_utimes -SC_TRACE_EVENT(sys_utimes, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(sys_utimes, ) #endif #ifndef OVERRIDE_32_sys_mq_notify -SC_TRACE_EVENT(sys_mq_notify, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_notify, TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(mqdes, u_notification), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct sigevent *, u_notification)), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(sys_mq_notify, ) #endif #ifndef OVERRIDE_32_sys_set_robust_list -SC_TRACE_EVENT(sys_set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(sys_set_robust_list, ) #endif #ifndef OVERRIDE_32_sys_timerfd_gettime -SC_TRACE_EVENT(sys_timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, ) #endif #ifndef OVERRIDE_32_sys_pipe2 -SC_TRACE_EVENT(sys_pipe2, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(sys_pipe2, ) #endif #ifndef OVERRIDE_32_sys_clock_adjtime -SC_TRACE_EVENT(sys_clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, ) #endif #ifndef OVERRIDE_32_sys_read -SC_TRACE_EVENT(sys_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(sys_read, ) #endif #ifndef OVERRIDE_32_sys_write -SC_TRACE_EVENT(sys_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(sys_write, ) #endif #ifndef OVERRIDE_32_sys_open -SC_TRACE_EVENT(sys_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_open, TP_PROTO(const char * filename, int flags, umode_t mode), TP_ARGS(filename, flags, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(sys_open, ) #endif #ifndef OVERRIDE_32_sys_mknod -SC_TRACE_EVENT(sys_mknod, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, TP_PROTO(const char * filename, umode_t mode, unsigned dev), TP_ARGS(filename, mode, dev), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(sys_mknod, ) #endif #ifndef OVERRIDE_32_sys_lchown16 -SC_TRACE_EVENT(sys_lchown16, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown16, TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(sys_lchown16, ) #endif #ifndef OVERRIDE_32_sys_readlink -SC_TRACE_EVENT(sys_readlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(sys_readlink, ) #endif #ifndef OVERRIDE_32_sys_syslog -SC_TRACE_EVENT(sys_syslog, +SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(sys_syslog, ) #endif #ifndef OVERRIDE_32_sys_setitimer -SC_TRACE_EVENT(sys_setitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(sys_setitimer, ) #endif #ifndef OVERRIDE_32_sys_sigprocmask -SC_TRACE_EVENT(sys_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(how, nset, oset), TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(sys_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_init_module -SC_TRACE_EVENT(sys_init_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(sys_init_module, ) #endif #ifndef OVERRIDE_32_sys_getdents -SC_TRACE_EVENT(sys_getdents, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(sys_getdents, ) #endif #ifndef OVERRIDE_32_sys_readv -SC_TRACE_EVENT(sys_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(sys_readv, ) #endif #ifndef OVERRIDE_32_sys_writev -SC_TRACE_EVENT(sys_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(sys_writev, ) #endif #ifndef OVERRIDE_32_sys_sched_setscheduler -SC_TRACE_EVENT(sys_sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, ) #endif #ifndef OVERRIDE_32_sys_getresuid16 -SC_TRACE_EVENT(sys_getresuid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid16, TP_PROTO(old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field_hex(old_uid_t *, ruid) __field_hex(old_uid_t *, euid) __field_hex(old_uid_t *, suid)), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(sys_getresuid16, ) #endif #ifndef OVERRIDE_32_sys_poll -SC_TRACE_EVENT(sys_poll, +SC_LTTNG_TRACEPOINT_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(sys_poll, ) #endif #ifndef OVERRIDE_32_sys_getresgid16 -SC_TRACE_EVENT(sys_getresgid16, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid16, TP_PROTO(old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field_hex(old_gid_t *, rgid) __field_hex(old_gid_t *, egid) __field_hex(old_gid_t *, sgid)), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(sys_getresgid16, ) #endif #ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_TRACE_EVENT(sys_rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_chown16 -SC_TRACE_EVENT(sys_chown16, +SC_LTTNG_TRACEPOINT_EVENT(sys_chown16, TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(sys_chown16, ) #endif #ifndef OVERRIDE_32_sys_lchown -SC_TRACE_EVENT(sys_lchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(sys_lchown, ) #endif #ifndef OVERRIDE_32_sys_getresuid -SC_TRACE_EVENT(sys_getresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field_hex(uid_t *, ruid) __field_hex(uid_t *, euid) __field_hex(uid_t *, suid)), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(sys_getresuid, ) #endif #ifndef OVERRIDE_32_sys_getresgid -SC_TRACE_EVENT(sys_getresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field_hex(gid_t *, rgid) __field_hex(gid_t *, egid) __field_hex(gid_t *, sgid)), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(sys_getresgid, ) #endif #ifndef OVERRIDE_32_sys_chown -SC_TRACE_EVENT(sys_chown, +SC_LTTNG_TRACEPOINT_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(sys_chown, ) #endif #ifndef OVERRIDE_32_sys_getdents64 -SC_TRACE_EVENT(sys_getdents64, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(sys_getdents64, ) #endif #ifndef OVERRIDE_32_sys_mincore -SC_TRACE_EVENT(sys_mincore, +SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(sys_mincore, ) #endif #ifndef OVERRIDE_32_sys_listxattr -SC_TRACE_EVENT(sys_listxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(sys_listxattr, ) #endif #ifndef OVERRIDE_32_sys_llistxattr -SC_TRACE_EVENT(sys_llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(sys_llistxattr, ) #endif #ifndef OVERRIDE_32_sys_flistxattr -SC_TRACE_EVENT(sys_flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(sys_flistxattr, ) #endif #ifndef OVERRIDE_32_sys_sched_setaffinity -SC_TRACE_EVENT(sys_sched_setaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(sys_sched_setaffinity, ) #endif #ifndef OVERRIDE_32_sys_sched_getaffinity -SC_TRACE_EVENT(sys_sched_getaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(sys_sched_getaffinity, ) #endif #ifndef OVERRIDE_32_sys_io_submit -SC_TRACE_EVENT(sys_io_submit, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(sys_io_submit, ) #endif #ifndef OVERRIDE_32_sys_io_cancel -SC_TRACE_EVENT(sys_io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(sys_io_cancel, ) #endif #ifndef OVERRIDE_32_sys_timer_create -SC_TRACE_EVENT(sys_timer_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(sys_timer_create, ) #endif #ifndef OVERRIDE_32_sys_mq_getsetattr -SC_TRACE_EVENT(sys_mq_getsetattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_getsetattr, TP_PROTO(mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), TP_ARGS(mqdes, u_mqstat, u_omqstat), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct mq_attr *, u_mqstat) __field_hex(struct mq_attr *, u_omqstat)), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(sys_mq_getsetattr, ) #endif #ifndef OVERRIDE_32_sys_bind -SC_TRACE_EVENT(sys_bind, +SC_LTTNG_TRACEPOINT_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(sys_bind, ) #endif #ifndef OVERRIDE_32_sys_connect -SC_TRACE_EVENT(sys_connect, +SC_LTTNG_TRACEPOINT_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(sys_connect, ) #endif #ifndef OVERRIDE_32_sys_accept -SC_TRACE_EVENT(sys_accept, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(sys_accept, ) #endif #ifndef OVERRIDE_32_sys_getsockname -SC_TRACE_EVENT(sys_getsockname, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(sys_getsockname, ) #endif #ifndef OVERRIDE_32_sys_getpeername -SC_TRACE_EVENT(sys_getpeername, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(sys_getpeername, ) #endif #ifndef OVERRIDE_32_sys_sendmsg -SC_TRACE_EVENT(sys_sendmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned, flags)), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(sys_sendmsg, ) #endif #ifndef OVERRIDE_32_sys_recvmsg -SC_TRACE_EVENT(sys_recvmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(sys_recvmsg, ) #endif #ifndef OVERRIDE_32_sys_semop -SC_TRACE_EVENT(sys_semop, +SC_LTTNG_TRACEPOINT_EVENT(sys_semop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), TP_ARGS(semid, tsops, nsops), TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(sys_semop, ) #endif #ifndef OVERRIDE_32_sys_msgctl -SC_TRACE_EVENT(sys_msgctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgctl, TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), TP_ARGS(msqid, cmd, buf), TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(sys_msgctl, ) #endif #ifndef OVERRIDE_32_sys_shmat -SC_TRACE_EVENT(sys_shmat, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmat, TP_PROTO(int shmid, char * shmaddr, int shmflg), TP_ARGS(shmid, shmaddr, shmflg), TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(sys_shmat, ) #endif #ifndef OVERRIDE_32_sys_shmctl -SC_TRACE_EVENT(sys_shmctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmctl, TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), TP_ARGS(shmid, cmd, buf), TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(sys_shmctl, ) #endif #ifndef OVERRIDE_32_sys_inotify_add_watch -SC_TRACE_EVENT(sys_inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, ) #endif #ifndef OVERRIDE_32_sys_mkdirat -SC_TRACE_EVENT(sys_mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, umode_t mode), TP_ARGS(dfd, pathname, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(sys_mkdirat, ) #endif #ifndef OVERRIDE_32_sys_futimesat -SC_TRACE_EVENT(sys_futimesat, +SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(sys_futimesat, ) #endif #ifndef OVERRIDE_32_sys_unlinkat -SC_TRACE_EVENT(sys_unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(sys_unlinkat, ) #endif #ifndef OVERRIDE_32_sys_symlinkat -SC_TRACE_EVENT(sys_symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(sys_symlinkat, ) #endif #ifndef OVERRIDE_32_sys_fchmodat -SC_TRACE_EVENT(sys_fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, umode_t mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(sys_fchmodat, ) #endif #ifndef OVERRIDE_32_sys_faccessat -SC_TRACE_EVENT(sys_faccessat, +SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(sys_faccessat, ) #endif #ifndef OVERRIDE_32_sys_get_robust_list -SC_TRACE_EVENT(sys_get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(pid, head_ptr, len_ptr), TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(sys_get_robust_list, ) #endif #ifndef OVERRIDE_32_sys_getcpu -SC_TRACE_EVENT(sys_getcpu, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(cpup, nodep, unused), TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(sys_getcpu, ) #endif #ifndef OVERRIDE_32_sys_signalfd -SC_TRACE_EVENT(sys_signalfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(sys_signalfd, ) #endif #ifndef OVERRIDE_32_sys_open_by_handle_at -SC_TRACE_EVENT(sys_open_by_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(sys_open_by_handle_at, TP_PROTO(int mountdirfd, struct file_handle * handle, int flags), TP_ARGS(mountdirfd, handle, flags), TP_STRUCT__entry(__field(int, mountdirfd) __field_hex(struct file_handle *, handle) __field(int, flags)), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(sys_open_by_handle_at, ) #endif #ifndef OVERRIDE_32_sys_reboot -SC_TRACE_EVENT(sys_reboot, +SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(sys_reboot, ) #endif #ifndef OVERRIDE_32_sys_wait4 -SC_TRACE_EVENT(sys_wait4, +SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(sys_wait4, ) #endif #ifndef OVERRIDE_32_sys_quotactl -SC_TRACE_EVENT(sys_quotactl, +SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(cmd, special, id, addr), TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(sys_quotactl, ) #endif #ifndef OVERRIDE_32_sys_rt_sigaction -SC_TRACE_EVENT(sys_rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, ) #endif #ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_TRACE_EVENT(sys_rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_TRACE_EVENT(sys_rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, ) #endif #ifndef OVERRIDE_32_sys_sendfile -SC_TRACE_EVENT(sys_sendfile, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(sys_sendfile, ) #endif #ifndef OVERRIDE_32_sys_getxattr -SC_TRACE_EVENT(sys_getxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(sys_getxattr, ) #endif #ifndef OVERRIDE_32_sys_lgetxattr -SC_TRACE_EVENT(sys_lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(sys_lgetxattr, ) #endif #ifndef OVERRIDE_32_sys_fgetxattr -SC_TRACE_EVENT(sys_fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(sys_fgetxattr, ) #endif #ifndef OVERRIDE_32_sys_sendfile64 -SC_TRACE_EVENT(sys_sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(sys_sendfile64, ) #endif #ifndef OVERRIDE_32_sys_epoll_ctl -SC_TRACE_EVENT(sys_epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, ) #endif #ifndef OVERRIDE_32_sys_epoll_wait -SC_TRACE_EVENT(sys_epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(sys_epoll_wait, ) #endif #ifndef OVERRIDE_32_sys_timer_settime -SC_TRACE_EVENT(sys_timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(sys_timer_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_nanosleep -SC_TRACE_EVENT(sys_clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_mq_open -SC_TRACE_EVENT(sys_mq_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_open, TP_PROTO(const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), TP_ARGS(u_name, oflag, mode, u_attr), TP_STRUCT__entry(__string_from_user(u_name, u_name) __field(int, oflag) __field(umode_t, mode) __field_hex(struct mq_attr *, u_attr)), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(sys_mq_open, ) #endif #ifndef OVERRIDE_32_sys_socketpair -SC_TRACE_EVENT(sys_socketpair, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, TP_PROTO(int family, int type, int protocol, int * usockvec), TP_ARGS(family, type, protocol, usockvec), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(sys_socketpair, ) #endif #ifndef OVERRIDE_32_sys_send -SC_TRACE_EVENT(sys_send, +SC_LTTNG_TRACEPOINT_EVENT(sys_send, TP_PROTO(int fd, void * buff, size_t len, unsigned flags), TP_ARGS(fd, buff, len, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags)), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(sys_send, ) #endif #ifndef OVERRIDE_32_sys_msgsnd -SC_TRACE_EVENT(sys_msgsnd, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgsnd, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgflg), TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(sys_msgsnd, ) #endif #ifndef OVERRIDE_32_sys_request_key -SC_TRACE_EVENT(sys_request_key, +SC_LTTNG_TRACEPOINT_EVENT(sys_request_key, TP_PROTO(const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), TP_ARGS(_type, _description, _callout_info, destringid), TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const char *, _callout_info) __field(key_serial_t, destringid)), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(sys_request_key, ) #endif #ifndef OVERRIDE_32_sys_semtimedop -SC_TRACE_EVENT(sys_semtimedop, +SC_LTTNG_TRACEPOINT_EVENT(sys_semtimedop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), TP_ARGS(semid, tsops, nsops, timeout), TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(sys_semtimedop, ) #endif #ifndef OVERRIDE_32_sys_openat -SC_TRACE_EVENT(sys_openat, +SC_LTTNG_TRACEPOINT_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), TP_ARGS(dfd, filename, flags, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(sys_openat, ) #endif #ifndef OVERRIDE_32_sys_mknodat -SC_TRACE_EVENT(sys_mknodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(sys_mknodat, ) #endif #ifndef OVERRIDE_32_sys_fstatat64 -SC_TRACE_EVENT(sys_fstatat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(sys_fstatat64, ) #endif #ifndef OVERRIDE_32_sys_renameat -SC_TRACE_EVENT(sys_renameat, +SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(sys_renameat, ) #endif #ifndef OVERRIDE_32_sys_readlinkat -SC_TRACE_EVENT(sys_readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(sys_readlinkat, ) #endif #ifndef OVERRIDE_32_sys_vmsplice -SC_TRACE_EVENT(sys_vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(fd, iov, nr_segs, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(sys_vmsplice, ) #endif #ifndef OVERRIDE_32_sys_utimensat -SC_TRACE_EVENT(sys_utimensat, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(sys_utimensat, ) #endif #ifndef OVERRIDE_32_sys_timerfd_settime -SC_TRACE_EVENT(sys_timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, ) #endif #ifndef OVERRIDE_32_sys_signalfd4 -SC_TRACE_EVENT(sys_signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(sys_signalfd4, ) #endif #ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_accept4 -SC_TRACE_EVENT(sys_accept4, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(sys_accept4, ) #endif #ifndef OVERRIDE_32_sys_prlimit64 -SC_TRACE_EVENT(sys_prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(sys_prlimit64, ) #endif #ifndef OVERRIDE_32_sys_sendmmsg -SC_TRACE_EVENT(sys_sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(sys_sendmmsg, ) #endif #ifndef OVERRIDE_32_sys_mount -SC_TRACE_EVENT(sys_mount, +SC_LTTNG_TRACEPOINT_EVENT(sys_mount, TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(dev_name, dir_name, type, flags, data), TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(sys_mount, ) #endif #ifndef OVERRIDE_32_sys_llseek -SC_TRACE_EVENT(sys_llseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), TP_ARGS(fd, offset_high, offset_low, result, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(sys_llseek, ) #endif #ifndef OVERRIDE_32_sys_select -SC_TRACE_EVENT(sys_select, +SC_LTTNG_TRACEPOINT_EVENT(sys_select, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(n, inp, outp, exp, tvp), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(sys_select, ) #endif #ifndef OVERRIDE_32_sys_setxattr -SC_TRACE_EVENT(sys_setxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(sys_setxattr, ) #endif #ifndef OVERRIDE_32_sys_lsetxattr -SC_TRACE_EVENT(sys_lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(sys_lsetxattr, ) #endif #ifndef OVERRIDE_32_sys_fsetxattr -SC_TRACE_EVENT(sys_fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(fd, name, value, size, flags), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(sys_fsetxattr, ) #endif #ifndef OVERRIDE_32_sys_io_getevents -SC_TRACE_EVENT(sys_io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(sys_io_getevents, ) #endif #ifndef OVERRIDE_32_sys_mq_timedsend -SC_TRACE_EVENT(sys_mq_timedsend, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedsend, TP_PROTO(mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const char *, u_msg_ptr) __field(size_t, msg_len) __field(unsigned int, msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(sys_mq_timedsend, ) #endif #ifndef OVERRIDE_32_sys_mq_timedreceive -SC_TRACE_EVENT(sys_mq_timedreceive, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedreceive, TP_PROTO(mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(char *, u_msg_ptr) __field(size_t, msg_len) __field_hex(unsigned int *, u_msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(sys_mq_timedreceive, ) #endif #ifndef OVERRIDE_32_sys_waitid -SC_TRACE_EVENT(sys_waitid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(which, upid, infop, options, ru), TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(sys_waitid, ) #endif #ifndef OVERRIDE_32_sys_setsockopt -SC_TRACE_EVENT(sys_setsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(sys_setsockopt, ) #endif #ifndef OVERRIDE_32_sys_getsockopt -SC_TRACE_EVENT(sys_getsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(sys_getsockopt, ) #endif #ifndef OVERRIDE_32_sys_msgrcv -SC_TRACE_EVENT(sys_msgrcv, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgrcv, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(sys_msgrcv, ) #endif #ifndef OVERRIDE_32_sys_add_key -SC_TRACE_EVENT(sys_add_key, +SC_LTTNG_TRACEPOINT_EVENT(sys_add_key, TP_PROTO(const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), TP_ARGS(_type, _description, _payload, plen, ringid), TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const void *, _payload) __field(size_t, plen) __field(key_serial_t, ringid)), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(sys_add_key, ) #endif #ifndef OVERRIDE_32_sys_fchownat -SC_TRACE_EVENT(sys_fchownat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(dfd, filename, user, group, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(sys_fchownat, ) #endif #ifndef OVERRIDE_32_sys_linkat -SC_TRACE_EVENT(sys_linkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(sys_linkat, ) #endif #ifndef OVERRIDE_32_sys_ppoll -SC_TRACE_EVENT(sys_ppoll, +SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(sys_ppoll, ) #endif #ifndef OVERRIDE_32_sys_preadv -SC_TRACE_EVENT(sys_preadv, +SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(sys_preadv, ) #endif #ifndef OVERRIDE_32_sys_pwritev -SC_TRACE_EVENT(sys_pwritev, +SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1630,7 +1630,7 @@ SC_TRACE_EVENT(sys_pwritev, ) #endif #ifndef OVERRIDE_32_sys_perf_event_open -SC_TRACE_EVENT(sys_perf_event_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), @@ -1639,7 +1639,7 @@ SC_TRACE_EVENT(sys_perf_event_open, ) #endif #ifndef OVERRIDE_32_sys_recvmmsg -SC_TRACE_EVENT(sys_recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), @@ -1648,7 +1648,7 @@ SC_TRACE_EVENT(sys_recvmmsg, ) #endif #ifndef OVERRIDE_32_sys_name_to_handle_at -SC_TRACE_EVENT(sys_name_to_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(sys_name_to_handle_at, TP_PROTO(int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), TP_ARGS(dfd, name, handle, mnt_id, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(name, name) __field_hex(struct file_handle *, handle) __field_hex(int *, mnt_id) __field(int, flag)), @@ -1657,7 +1657,7 @@ SC_TRACE_EVENT(sys_name_to_handle_at, ) #endif #ifndef OVERRIDE_32_sys_futex -SC_TRACE_EVENT(sys_futex, +SC_LTTNG_TRACEPOINT_EVENT(sys_futex, TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), @@ -1666,7 +1666,7 @@ SC_TRACE_EVENT(sys_futex, ) #endif #ifndef OVERRIDE_32_sys_sendto -SC_TRACE_EVENT(sys_sendto, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, TP_PROTO(int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), TP_ARGS(fd, buff, len, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), @@ -1675,7 +1675,7 @@ SC_TRACE_EVENT(sys_sendto, ) #endif #ifndef OVERRIDE_32_sys_recvfrom -SC_TRACE_EVENT(sys_recvfrom, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, TP_PROTO(int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), TP_ARGS(fd, ubuf, size, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), @@ -1684,7 +1684,7 @@ SC_TRACE_EVENT(sys_recvfrom, ) #endif #ifndef OVERRIDE_32_sys_pselect6 -SC_TRACE_EVENT(sys_pselect6, +SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), @@ -1693,7 +1693,7 @@ SC_TRACE_EVENT(sys_pselect6, ) #endif #ifndef OVERRIDE_32_sys_splice -SC_TRACE_EVENT(sys_splice, +SC_LTTNG_TRACEPOINT_EVENT(sys_splice, TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), @@ -1702,7 +1702,7 @@ SC_TRACE_EVENT(sys_splice, ) #endif #ifndef OVERRIDE_32_sys_epoll_pwait -SC_TRACE_EVENT(sys_epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1711,7 +1711,7 @@ SC_TRACE_EVENT(sys_epoll_pwait, ) #endif #ifndef OVERRIDE_32_sys_process_vm_readv -SC_TRACE_EVENT(sys_process_vm_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_readv, TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), @@ -1720,7 +1720,7 @@ SC_TRACE_EVENT(sys_process_vm_readv, ) #endif #ifndef OVERRIDE_32_sys_process_vm_writev -SC_TRACE_EVENT(sys_process_vm_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_writev, TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h index 65131bbb..e5846df8 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h @@ -4,7 +4,7 @@ #ifndef CREATE_SYSCALL_TABLE -SC_TRACE_EVENT(sys_mmap2, +SC_LTTNG_TRACEPOINT_EVENT(sys_mmap2, TP_PROTO(void *addr, size_t len, int prot, int flags, int fd, off_t pgoff), TP_ARGS(addr, len, prot, flags, fd, pgoff), diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h index c887483a..ff0bbbde 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h @@ -9,64 +9,64 @@ #include "mips-32-syscalls-3.13.0_integers_override.h" #include "syscalls_integers_override.h" -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_32_sys_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) #endif #ifndef OVERRIDE_32_sys_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) #endif #ifndef OVERRIDE_32_sys_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) #endif #ifndef OVERRIDE_32_sys_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) #endif #ifndef OVERRIDE_32_sys_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) #endif #ifndef OVERRIDE_32_sys_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) #endif #ifndef OVERRIDE_32_sys_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) #endif #ifndef OVERRIDE_32_sys_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) #endif #ifndef OVERRIDE_32_sys_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) #endif #ifndef OVERRIDE_32_sys_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) #endif #ifndef OVERRIDE_32_sys_sgetmask -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) #endif #ifndef OVERRIDE_32_sys_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) #endif #ifndef OVERRIDE_32_sys_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) #endif #ifndef OVERRIDE_32_sys_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) #endif #ifndef OVERRIDE_32_sys_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) #endif #ifndef OVERRIDE_32_sys_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) #endif #ifndef OVERRIDE_32_sys_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) #endif #ifndef OVERRIDE_32_sys_exit -SC_TRACE_EVENT(sys_exit, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -75,7 +75,7 @@ SC_TRACE_EVENT(sys_exit, ) #endif #ifndef OVERRIDE_32_sys_close -SC_TRACE_EVENT(sys_close, +SC_LTTNG_TRACEPOINT_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -84,7 +84,7 @@ SC_TRACE_EVENT(sys_close, ) #endif #ifndef OVERRIDE_32_sys_setuid -SC_TRACE_EVENT(sys_setuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -93,7 +93,7 @@ SC_TRACE_EVENT(sys_setuid, ) #endif #ifndef OVERRIDE_32_sys_alarm -SC_TRACE_EVENT(sys_alarm, +SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), TP_STRUCT__entry(__field(unsigned int, seconds)), @@ -102,7 +102,7 @@ SC_TRACE_EVENT(sys_alarm, ) #endif #ifndef OVERRIDE_32_sys_nice -SC_TRACE_EVENT(sys_nice, +SC_LTTNG_TRACEPOINT_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), TP_STRUCT__entry(__field(int, increment)), @@ -111,7 +111,7 @@ SC_TRACE_EVENT(sys_nice, ) #endif #ifndef OVERRIDE_32_sys_dup -SC_TRACE_EVENT(sys_dup, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field(unsigned int, fildes)), @@ -120,7 +120,7 @@ SC_TRACE_EVENT(sys_dup, ) #endif #ifndef OVERRIDE_32_sys_brk -SC_TRACE_EVENT(sys_brk, +SC_LTTNG_TRACEPOINT_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), TP_STRUCT__entry(__field(unsigned long, brk)), @@ -129,7 +129,7 @@ SC_TRACE_EVENT(sys_brk, ) #endif #ifndef OVERRIDE_32_sys_setgid -SC_TRACE_EVENT(sys_setgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -138,7 +138,7 @@ SC_TRACE_EVENT(sys_setgid, ) #endif #ifndef OVERRIDE_32_sys_umask -SC_TRACE_EVENT(sys_umask, +SC_LTTNG_TRACEPOINT_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), TP_STRUCT__entry(__field(int, mask)), @@ -147,7 +147,7 @@ SC_TRACE_EVENT(sys_umask, ) #endif #ifndef OVERRIDE_32_sys_ssetmask -SC_TRACE_EVENT(sys_ssetmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, TP_PROTO(int newmask), TP_ARGS(newmask), TP_STRUCT__entry(__field(int, newmask)), @@ -156,7 +156,7 @@ SC_TRACE_EVENT(sys_ssetmask, ) #endif #ifndef OVERRIDE_32_sys_fsync -SC_TRACE_EVENT(sys_fsync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -165,7 +165,7 @@ SC_TRACE_EVENT(sys_fsync, ) #endif #ifndef OVERRIDE_32_sys_getpgid -SC_TRACE_EVENT(sys_getpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -174,7 +174,7 @@ SC_TRACE_EVENT(sys_getpgid, ) #endif #ifndef OVERRIDE_32_sys_fchdir -SC_TRACE_EVENT(sys_fchdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -183,7 +183,7 @@ SC_TRACE_EVENT(sys_fchdir, ) #endif #ifndef OVERRIDE_32_sys_personality -SC_TRACE_EVENT(sys_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned int, personality)), @@ -192,7 +192,7 @@ SC_TRACE_EVENT(sys_personality, ) #endif #ifndef OVERRIDE_32_sys_setfsuid -SC_TRACE_EVENT(sys_setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -201,7 +201,7 @@ SC_TRACE_EVENT(sys_setfsuid, ) #endif #ifndef OVERRIDE_32_sys_setfsgid -SC_TRACE_EVENT(sys_setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(sys_setfsgid, ) #endif #ifndef OVERRIDE_32_sys_getsid -SC_TRACE_EVENT(sys_getsid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(sys_getsid, ) #endif #ifndef OVERRIDE_32_sys_fdatasync -SC_TRACE_EVENT(sys_fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(sys_fdatasync, ) #endif #ifndef OVERRIDE_32_sys_mlockall -SC_TRACE_EVENT(sys_mlockall, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(sys_mlockall, ) #endif #ifndef OVERRIDE_32_sys_sched_getscheduler -SC_TRACE_EVENT(sys_sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_TRACE_EVENT(sys_sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_TRACE_EVENT(sys_sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, ) #endif #ifndef OVERRIDE_32_sys_io_destroy -SC_TRACE_EVENT(sys_io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), TP_STRUCT__entry(__field(aio_context_t, ctx)), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(sys_io_destroy, ) #endif #ifndef OVERRIDE_32_sys_exit_group -SC_TRACE_EVENT(sys_exit_group, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(sys_exit_group, ) #endif #ifndef OVERRIDE_32_sys_epoll_create -SC_TRACE_EVENT(sys_epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), TP_STRUCT__entry(__field(int, size)), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(sys_epoll_create, ) #endif #ifndef OVERRIDE_32_sys_timer_getoverrun -SC_TRACE_EVENT(sys_timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, ) #endif #ifndef OVERRIDE_32_sys_timer_delete -SC_TRACE_EVENT(sys_timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(sys_timer_delete, ) #endif #ifndef OVERRIDE_32_sys_set_thread_area -SC_TRACE_EVENT(sys_set_thread_area, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_thread_area, TP_PROTO(unsigned long addr), TP_ARGS(addr), TP_STRUCT__entry(__field_hex(unsigned long, addr)), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(sys_set_thread_area, ) #endif #ifndef OVERRIDE_32_sys_unshare -SC_TRACE_EVENT(sys_unshare, +SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), TP_STRUCT__entry(__field(unsigned long, unshare_flags)), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(sys_unshare, ) #endif #ifndef OVERRIDE_32_sys_eventfd -SC_TRACE_EVENT(sys_eventfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), TP_STRUCT__entry(__field(unsigned int, count)), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(sys_eventfd, ) #endif #ifndef OVERRIDE_32_sys_epoll_create1 -SC_TRACE_EVENT(sys_epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(sys_epoll_create1, ) #endif #ifndef OVERRIDE_32_sys_inotify_init1 -SC_TRACE_EVENT(sys_inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(sys_inotify_init1, ) #endif #ifndef OVERRIDE_32_sys_syncfs -SC_TRACE_EVENT(sys_syncfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(int, fd)), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sys_syncfs, ) #endif #ifndef OVERRIDE_32_sys_kill -SC_TRACE_EVENT(sys_kill, +SC_LTTNG_TRACEPOINT_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sys_kill, ) #endif #ifndef OVERRIDE_32_sys_setpgid -SC_TRACE_EVENT(sys_setpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sys_setpgid, ) #endif #ifndef OVERRIDE_32_sys_dup2 -SC_TRACE_EVENT(sys_dup2, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(sys_dup2, ) #endif #ifndef OVERRIDE_32_sys_setreuid -SC_TRACE_EVENT(sys_setreuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(sys_setreuid, ) #endif #ifndef OVERRIDE_32_sys_setregid -SC_TRACE_EVENT(sys_setregid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(sys_setregid, ) #endif #ifndef OVERRIDE_32_sys_munmap -SC_TRACE_EVENT(sys_munmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(sys_munmap, ) #endif #ifndef OVERRIDE_32_sys_ftruncate -SC_TRACE_EVENT(sys_ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(sys_ftruncate, ) #endif #ifndef OVERRIDE_32_sys_fchmod -SC_TRACE_EVENT(sys_fchmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, umode_t mode), TP_ARGS(fd, mode), TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(sys_fchmod, ) #endif #ifndef OVERRIDE_32_sys_getpriority -SC_TRACE_EVENT(sys_getpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(sys_getpriority, ) #endif #ifndef OVERRIDE_32_sys_bdflush -SC_TRACE_EVENT(sys_bdflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), TP_STRUCT__entry(__field(int, func) __field(long, data)), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(sys_bdflush, ) #endif #ifndef OVERRIDE_32_sys_flock -SC_TRACE_EVENT(sys_flock, +SC_LTTNG_TRACEPOINT_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(sys_flock, ) #endif #ifndef OVERRIDE_32_sys_mlock -SC_TRACE_EVENT(sys_mlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(sys_mlock, ) #endif #ifndef OVERRIDE_32_sys_munlock -SC_TRACE_EVENT(sys_munlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -480,7 +480,7 @@ SC_TRACE_EVENT(sys_munlock, ) #endif #ifndef OVERRIDE_32_sys_listen -SC_TRACE_EVENT(sys_listen, +SC_LTTNG_TRACEPOINT_EVENT(sys_listen, TP_PROTO(int fd, int backlog), TP_ARGS(fd, backlog), TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), @@ -489,7 +489,7 @@ SC_TRACE_EVENT(sys_listen, ) #endif #ifndef OVERRIDE_32_sys_shutdown -SC_TRACE_EVENT(sys_shutdown, +SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, TP_PROTO(int fd, int how), TP_ARGS(fd, how), TP_STRUCT__entry(__field(int, fd) __field(int, how)), @@ -498,7 +498,7 @@ SC_TRACE_EVENT(sys_shutdown, ) #endif #ifndef OVERRIDE_32_sys_ftruncate64 -SC_TRACE_EVENT(sys_ftruncate64, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate64, TP_PROTO(unsigned int fd, loff_t length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(loff_t, length)), @@ -507,7 +507,7 @@ SC_TRACE_EVENT(sys_ftruncate64, ) #endif #ifndef OVERRIDE_32_sys_tkill -SC_TRACE_EVENT(sys_tkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -516,7 +516,7 @@ SC_TRACE_EVENT(sys_tkill, ) #endif #ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_TRACE_EVENT(sys_inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), @@ -525,7 +525,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, ) #endif #ifndef OVERRIDE_32_sys_ioprio_get -SC_TRACE_EVENT(sys_ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -534,7 +534,7 @@ SC_TRACE_EVENT(sys_ioprio_get, ) #endif #ifndef OVERRIDE_32_sys_timerfd_create -SC_TRACE_EVENT(sys_timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), @@ -543,7 +543,7 @@ SC_TRACE_EVENT(sys_timerfd_create, ) #endif #ifndef OVERRIDE_32_sys_eventfd2 -SC_TRACE_EVENT(sys_eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), @@ -552,7 +552,7 @@ SC_TRACE_EVENT(sys_eventfd2, ) #endif #ifndef OVERRIDE_32_sys_setns -SC_TRACE_EVENT(sys_setns, +SC_LTTNG_TRACEPOINT_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), @@ -561,7 +561,7 @@ SC_TRACE_EVENT(sys_setns, ) #endif #ifndef OVERRIDE_32_sys_lseek -SC_TRACE_EVENT(sys_lseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int whence), TP_ARGS(fd, offset, whence), TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, whence)), @@ -570,7 +570,7 @@ SC_TRACE_EVENT(sys_lseek, ) #endif #ifndef OVERRIDE_32_sys_ioctl -SC_TRACE_EVENT(sys_ioctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -579,7 +579,7 @@ SC_TRACE_EVENT(sys_ioctl, ) #endif #ifndef OVERRIDE_32_sys_fcntl -SC_TRACE_EVENT(sys_fcntl, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -588,7 +588,7 @@ SC_TRACE_EVENT(sys_fcntl, ) #endif #ifndef OVERRIDE_32_sys_fchown -SC_TRACE_EVENT(sys_fchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), @@ -597,7 +597,7 @@ SC_TRACE_EVENT(sys_fchown, ) #endif #ifndef OVERRIDE_32_sys_setpriority -SC_TRACE_EVENT(sys_setpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), @@ -606,7 +606,7 @@ SC_TRACE_EVENT(sys_setpriority, ) #endif #ifndef OVERRIDE_32_sys_mprotect -SC_TRACE_EVENT(sys_mprotect, +SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), @@ -615,7 +615,7 @@ SC_TRACE_EVENT(sys_mprotect, ) #endif #ifndef OVERRIDE_32_sys_sysfs -SC_TRACE_EVENT(sys_sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), @@ -624,7 +624,7 @@ SC_TRACE_EVENT(sys_sysfs, ) #endif #ifndef OVERRIDE_32_sys_msync -SC_TRACE_EVENT(sys_msync, +SC_LTTNG_TRACEPOINT_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), @@ -633,7 +633,7 @@ SC_TRACE_EVENT(sys_msync, ) #endif #ifndef OVERRIDE_32_sys_cacheflush -SC_TRACE_EVENT(sys_cacheflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), TP_ARGS(addr, bytes, cache), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), @@ -642,7 +642,7 @@ SC_TRACE_EVENT(sys_cacheflush, ) #endif #ifndef OVERRIDE_32_sys_sysmips -SC_TRACE_EVENT(sys_sysmips, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysmips, TP_PROTO(long cmd, long arg1, long arg2), TP_ARGS(cmd, arg1, arg2), TP_STRUCT__entry(__field(long, cmd) __field(long, arg1) __field(long, arg2)), @@ -651,7 +651,7 @@ SC_TRACE_EVENT(sys_sysmips, ) #endif #ifndef OVERRIDE_32_sys_socket -SC_TRACE_EVENT(sys_socket, +SC_LTTNG_TRACEPOINT_EVENT(sys_socket, TP_PROTO(int family, int type, int protocol), TP_ARGS(family, type, protocol), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), @@ -660,7 +660,7 @@ SC_TRACE_EVENT(sys_socket, ) #endif #ifndef OVERRIDE_32_sys_setresuid -SC_TRACE_EVENT(sys_setresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), @@ -669,7 +669,7 @@ SC_TRACE_EVENT(sys_setresuid, ) #endif #ifndef OVERRIDE_32_sys_setresgid -SC_TRACE_EVENT(sys_setresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), @@ -678,7 +678,7 @@ SC_TRACE_EVENT(sys_setresgid, ) #endif #ifndef OVERRIDE_32_sys_madvise -SC_TRACE_EVENT(sys_madvise, +SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), @@ -687,7 +687,7 @@ SC_TRACE_EVENT(sys_madvise, ) #endif #ifndef OVERRIDE_32_sys_fcntl64 -SC_TRACE_EVENT(sys_fcntl64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -696,7 +696,7 @@ SC_TRACE_EVENT(sys_fcntl64, ) #endif #ifndef OVERRIDE_32_sys_readahead -SC_TRACE_EVENT(sys_readahead, +SC_LTTNG_TRACEPOINT_EVENT(sys_readahead, TP_PROTO(int fd, loff_t offset, size_t count), TP_ARGS(fd, offset, count), TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(size_t, count)), @@ -705,7 +705,7 @@ SC_TRACE_EVENT(sys_readahead, ) #endif #ifndef OVERRIDE_32_sys_tgkill -SC_TRACE_EVENT(sys_tgkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), @@ -714,7 +714,7 @@ SC_TRACE_EVENT(sys_tgkill, ) #endif #ifndef OVERRIDE_32_sys_ioprio_set -SC_TRACE_EVENT(sys_ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), @@ -723,7 +723,7 @@ SC_TRACE_EVENT(sys_ioprio_set, ) #endif #ifndef OVERRIDE_32_sys_dup3 -SC_TRACE_EVENT(sys_dup3, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), @@ -732,7 +732,7 @@ SC_TRACE_EVENT(sys_dup3, ) #endif #ifndef OVERRIDE_32_sys_ptrace -SC_TRACE_EVENT(sys_ptrace, +SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(request, pid, addr, data), TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), @@ -741,7 +741,7 @@ SC_TRACE_EVENT(sys_ptrace, ) #endif #ifndef OVERRIDE_32_sys_fadvise64_64 -SC_TRACE_EVENT(sys_fadvise64_64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fadvise64_64, TP_PROTO(int fd, loff_t offset, loff_t len, int advice), TP_ARGS(fd, offset, len, advice), TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(loff_t, len) __field(int, advice)), @@ -750,7 +750,7 @@ SC_TRACE_EVENT(sys_fadvise64_64, ) #endif #ifndef OVERRIDE_32_sys_sync_file_range -SC_TRACE_EVENT(sys_sync_file_range, +SC_LTTNG_TRACEPOINT_EVENT(sys_sync_file_range, TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags), TP_ARGS(fd, offset, nbytes, flags), TP_STRUCT__entry(__field(int, fd) __field(loff_t, offset) __field(loff_t, nbytes) __field(unsigned int, flags)), @@ -759,7 +759,7 @@ SC_TRACE_EVENT(sys_sync_file_range, ) #endif #ifndef OVERRIDE_32_sys_tee -SC_TRACE_EVENT(sys_tee, +SC_LTTNG_TRACEPOINT_EVENT(sys_tee, TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(fdin, fdout, len, flags), TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), @@ -768,7 +768,7 @@ SC_TRACE_EVENT(sys_tee, ) #endif #ifndef OVERRIDE_32_sys_fallocate -SC_TRACE_EVENT(sys_fallocate, +SC_LTTNG_TRACEPOINT_EVENT(sys_fallocate, TP_PROTO(int fd, int mode, loff_t offset, loff_t len), TP_ARGS(fd, mode, offset, len), TP_STRUCT__entry(__field(int, fd) __field(int, mode) __field(loff_t, offset) __field(loff_t, len)), @@ -777,7 +777,7 @@ SC_TRACE_EVENT(sys_fallocate, ) #endif #ifndef OVERRIDE_32_sys_mremap -SC_TRACE_EVENT(sys_mremap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), @@ -786,7 +786,7 @@ SC_TRACE_EVENT(sys_mremap, ) #endif #ifndef OVERRIDE_32_sys_prctl -SC_TRACE_EVENT(sys_prctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), @@ -795,7 +795,7 @@ SC_TRACE_EVENT(sys_prctl, ) #endif #ifndef OVERRIDE_32_sys_remap_file_pages -SC_TRACE_EVENT(sys_remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(start, size, prot, pgoff, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), @@ -804,7 +804,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, ) #endif #ifndef OVERRIDE_32_sys_mips_mmap -SC_TRACE_EVENT(sys_mips_mmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), TP_ARGS(addr, len, prot, flags, fd, offset), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), @@ -813,7 +813,7 @@ SC_TRACE_EVENT(sys_mips_mmap, ) #endif #ifndef OVERRIDE_32_sys_mips_mmap2 -SC_TRACE_EVENT(sys_mips_mmap2, +SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap2, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), TP_ARGS(addr, len, prot, flags, fd, pgoff), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(unsigned long, pgoff)), diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h index 838f1854..8fd42848 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_sys_unlink -SC_TRACE_EVENT(sys_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(sys_unlink, ) #endif #ifndef OVERRIDE_32_sys_chdir -SC_TRACE_EVENT(sys_chdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(sys_chdir, ) #endif #ifndef OVERRIDE_32_sys_time -SC_TRACE_EVENT(sys_time, +SC_LTTNG_TRACEPOINT_EVENT(sys_time, TP_PROTO(time_t * tloc), TP_ARGS(tloc), TP_STRUCT__entry(__field_hex(time_t *, tloc)), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(sys_time, ) #endif #ifndef OVERRIDE_32_sys_oldumount -SC_TRACE_EVENT(sys_oldumount, +SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, TP_PROTO(char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(sys_oldumount, ) #endif #ifndef OVERRIDE_32_sys_stime -SC_TRACE_EVENT(sys_stime, +SC_LTTNG_TRACEPOINT_EVENT(sys_stime, TP_PROTO(time_t * tptr), TP_ARGS(tptr), TP_STRUCT__entry(__field_hex(time_t *, tptr)), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(sys_stime, ) #endif #ifndef OVERRIDE_32_sys_rmdir -SC_TRACE_EVENT(sys_rmdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(sys_rmdir, ) #endif #ifndef OVERRIDE_32_sys_times -SC_TRACE_EVENT(sys_times, +SC_LTTNG_TRACEPOINT_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sys_times, ) #endif #ifndef OVERRIDE_32_sys_olduname -SC_TRACE_EVENT(sys_olduname, +SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, TP_PROTO(struct oldold_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(sys_olduname, ) #endif #ifndef OVERRIDE_32_sys_chroot -SC_TRACE_EVENT(sys_chroot, +SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sys_chroot, ) #endif #ifndef OVERRIDE_32_sys_sigsuspend -SC_TRACE_EVENT(sys_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigsuspend, TP_PROTO(sigset_t * uset), TP_ARGS(uset), TP_STRUCT__entry(__field_hex(sigset_t *, uset)), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(sys_sigsuspend, ) #endif #ifndef OVERRIDE_32_sys_sigpending -SC_TRACE_EVENT(sys_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, TP_PROTO(old_sigset_t * set), TP_ARGS(set), TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(sys_sigpending, ) #endif #ifndef OVERRIDE_32_sys_uselib -SC_TRACE_EVENT(sys_uselib, +SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), TP_STRUCT__entry(__field_hex(const char *, library)), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sys_uselib, ) #endif #ifndef OVERRIDE_32_sys_uname -SC_TRACE_EVENT(sys_uname, +SC_LTTNG_TRACEPOINT_EVENT(sys_uname, TP_PROTO(struct old_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(sys_uname, ) #endif #ifndef OVERRIDE_32_sys_sysinfo -SC_TRACE_EVENT(sys_sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(sys_sysinfo, ) #endif #ifndef OVERRIDE_32_sys_newuname -SC_TRACE_EVENT(sys_newuname, +SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(sys_newuname, ) #endif #ifndef OVERRIDE_32_sys_adjtimex -SC_TRACE_EVENT(sys_adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(sys_adjtimex, ) #endif #ifndef OVERRIDE_32_sys_sysctl -SC_TRACE_EVENT(sys_sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(sys_sysctl, ) #endif #ifndef OVERRIDE_32_sys_set_tid_address -SC_TRACE_EVENT(sys_set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), TP_STRUCT__entry(__field_hex(int *, tidptr)), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sys_set_tid_address, ) #endif #ifndef OVERRIDE_32_sys_creat -SC_TRACE_EVENT(sys_creat, +SC_LTTNG_TRACEPOINT_EVENT(sys_creat, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(sys_creat, ) #endif #ifndef OVERRIDE_32_sys_link -SC_TRACE_EVENT(sys_link, +SC_LTTNG_TRACEPOINT_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(sys_link, ) #endif #ifndef OVERRIDE_32_sys_chmod -SC_TRACE_EVENT(sys_chmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, TP_PROTO(const char * filename, umode_t mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sys_chmod, ) #endif #ifndef OVERRIDE_32_sys_utime -SC_TRACE_EVENT(sys_utime, +SC_LTTNG_TRACEPOINT_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(sys_utime, ) #endif #ifndef OVERRIDE_32_sys_access -SC_TRACE_EVENT(sys_access, +SC_LTTNG_TRACEPOINT_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(sys_access, ) #endif #ifndef OVERRIDE_32_sys_rename -SC_TRACE_EVENT(sys_rename, +SC_LTTNG_TRACEPOINT_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(sys_rename, ) #endif #ifndef OVERRIDE_32_sys_mkdir -SC_TRACE_EVENT(sys_mkdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(sys_mkdir, ) #endif #ifndef OVERRIDE_32_sys_umount -SC_TRACE_EVENT(sys_umount, +SC_LTTNG_TRACEPOINT_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(sys_umount, ) #endif #ifndef OVERRIDE_32_sys_ustat -SC_TRACE_EVENT(sys_ustat, +SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(sys_ustat, ) #endif #ifndef OVERRIDE_32_sys_sethostname -SC_TRACE_EVENT(sys_sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(sys_sethostname, ) #endif #ifndef OVERRIDE_32_sys_setrlimit -SC_TRACE_EVENT(sys_setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(sys_setrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrlimit -SC_TRACE_EVENT(sys_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(sys_getrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrusage -SC_TRACE_EVENT(sys_getrusage, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(sys_getrusage, ) #endif #ifndef OVERRIDE_32_sys_gettimeofday -SC_TRACE_EVENT(sys_gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(sys_gettimeofday, ) #endif #ifndef OVERRIDE_32_sys_settimeofday -SC_TRACE_EVENT(sys_settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(sys_settimeofday, ) #endif #ifndef OVERRIDE_32_sys_getgroups -SC_TRACE_EVENT(sys_getgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(sys_getgroups, ) #endif #ifndef OVERRIDE_32_sys_setgroups -SC_TRACE_EVENT(sys_setgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sys_setgroups, ) #endif #ifndef OVERRIDE_32_sys_symlink -SC_TRACE_EVENT(sys_symlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(sys_symlink, ) #endif #ifndef OVERRIDE_32_sys_truncate -SC_TRACE_EVENT(sys_truncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(sys_truncate, ) #endif #ifndef OVERRIDE_32_sys_statfs -SC_TRACE_EVENT(sys_statfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sys_statfs, ) #endif #ifndef OVERRIDE_32_sys_fstatfs -SC_TRACE_EVENT(sys_fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(sys_fstatfs, ) #endif #ifndef OVERRIDE_32_sys_socketcall -SC_TRACE_EVENT(sys_socketcall, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, TP_PROTO(int call, unsigned long * args), TP_ARGS(call, args), TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(sys_socketcall, ) #endif #ifndef OVERRIDE_32_sys_getitimer -SC_TRACE_EVENT(sys_getitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(sys_getitimer, ) #endif #ifndef OVERRIDE_32_sys_newstat -SC_TRACE_EVENT(sys_newstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(sys_newstat, ) #endif #ifndef OVERRIDE_32_sys_newlstat -SC_TRACE_EVENT(sys_newlstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sys_newlstat, ) #endif #ifndef OVERRIDE_32_sys_newfstat -SC_TRACE_EVENT(sys_newfstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sys_newfstat, ) #endif #ifndef OVERRIDE_32_sys_setdomainname -SC_TRACE_EVENT(sys_setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sys_setdomainname, ) #endif #ifndef OVERRIDE_32_sys_delete_module -SC_TRACE_EVENT(sys_delete_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(sys_delete_module, ) #endif #ifndef OVERRIDE_32_sys_sched_setparam -SC_TRACE_EVENT(sys_sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(sys_sched_setparam, ) #endif #ifndef OVERRIDE_32_sys_sched_getparam -SC_TRACE_EVENT(sys_sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(sys_sched_getparam, ) #endif #ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_TRACE_EVENT(sys_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_32_sys_nanosleep -SC_TRACE_EVENT(sys_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(sys_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_rt_sigpending -SC_TRACE_EVENT(sys_rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * uset, size_t sigsetsize), TP_ARGS(uset, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, uset) __field(size_t, sigsetsize)), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, ) #endif #ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_TRACE_EVENT(sys_rt_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, TP_PROTO(sigset_t * unewset, size_t sigsetsize), TP_ARGS(unewset, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(sys_rt_sigsuspend, ) #endif #ifndef OVERRIDE_32_sys_getcwd -SC_TRACE_EVENT(sys_getcwd, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(sys_getcwd, ) #endif #ifndef OVERRIDE_32_sys_sigaltstack -SC_TRACE_EVENT(sys_sigaltstack, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigaltstack, TP_PROTO(const stack_t * uss, stack_t * uoss), TP_ARGS(uss, uoss), TP_STRUCT__entry(__field_hex(const stack_t *, uss) __field_hex(stack_t *, uoss)), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(sys_sigaltstack, ) #endif #ifndef OVERRIDE_32_sys_truncate64 -SC_TRACE_EVENT(sys_truncate64, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate64, TP_PROTO(const char * path, loff_t length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(loff_t, length)), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(sys_truncate64, ) #endif #ifndef OVERRIDE_32_sys_stat64 -SC_TRACE_EVENT(sys_stat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sys_stat64, ) #endif #ifndef OVERRIDE_32_sys_lstat64 -SC_TRACE_EVENT(sys_lstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sys_lstat64, ) #endif #ifndef OVERRIDE_32_sys_fstat64 -SC_TRACE_EVENT(sys_fstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, TP_PROTO(unsigned long fd, struct stat64 * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sys_fstat64, ) #endif #ifndef OVERRIDE_32_sys_pivot_root -SC_TRACE_EVENT(sys_pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(sys_pivot_root, ) #endif #ifndef OVERRIDE_32_sys_removexattr -SC_TRACE_EVENT(sys_removexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(sys_removexattr, ) #endif #ifndef OVERRIDE_32_sys_lremovexattr -SC_TRACE_EVENT(sys_lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(sys_lremovexattr, ) #endif #ifndef OVERRIDE_32_sys_fremovexattr -SC_TRACE_EVENT(sys_fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(sys_fremovexattr, ) #endif #ifndef OVERRIDE_32_sys_io_setup -SC_TRACE_EVENT(sys_io_setup, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(sys_io_setup, ) #endif #ifndef OVERRIDE_32_sys_timer_gettime -SC_TRACE_EVENT(sys_timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(sys_timer_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_settime -SC_TRACE_EVENT(sys_clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(sys_clock_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_gettime -SC_TRACE_EVENT(sys_clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(sys_clock_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_getres -SC_TRACE_EVENT(sys_clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(sys_clock_getres, ) #endif #ifndef OVERRIDE_32_sys_utimes -SC_TRACE_EVENT(sys_utimes, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(sys_utimes, ) #endif #ifndef OVERRIDE_32_sys_set_robust_list -SC_TRACE_EVENT(sys_set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(sys_set_robust_list, ) #endif #ifndef OVERRIDE_32_sys_timerfd_gettime -SC_TRACE_EVENT(sys_timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, ) #endif #ifndef OVERRIDE_32_sys_pipe2 -SC_TRACE_EVENT(sys_pipe2, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(sys_pipe2, ) #endif #ifndef OVERRIDE_32_sys_clock_adjtime -SC_TRACE_EVENT(sys_clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, ) #endif #ifndef OVERRIDE_32_sys_read -SC_TRACE_EVENT(sys_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(sys_read, ) #endif #ifndef OVERRIDE_32_sys_write -SC_TRACE_EVENT(sys_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(sys_write, ) #endif #ifndef OVERRIDE_32_sys_open -SC_TRACE_EVENT(sys_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_open, TP_PROTO(const char * filename, int flags, umode_t mode), TP_ARGS(filename, flags, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(sys_open, ) #endif #ifndef OVERRIDE_32_sys_waitpid -SC_TRACE_EVENT(sys_waitpid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, TP_PROTO(pid_t pid, int * stat_addr, int options), TP_ARGS(pid, stat_addr, options), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(sys_waitpid, ) #endif #ifndef OVERRIDE_32_sys_execve -SC_TRACE_EVENT(sys_execve, +SC_LTTNG_TRACEPOINT_EVENT(sys_execve, TP_PROTO(const char * filename, const char *const * argv, const char *const * envp), TP_ARGS(filename, argv, envp), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(const char *const *, argv) __field_hex(const char *const *, envp)), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(sys_execve, ) #endif #ifndef OVERRIDE_32_sys_mknod -SC_TRACE_EVENT(sys_mknod, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, TP_PROTO(const char * filename, umode_t mode, unsigned dev), TP_ARGS(filename, mode, dev), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(sys_mknod, ) #endif #ifndef OVERRIDE_32_sys_lchown -SC_TRACE_EVENT(sys_lchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(sys_lchown, ) #endif #ifndef OVERRIDE_32_sys_sigaction -SC_TRACE_EVENT(sys_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), TP_ARGS(sig, act, oact), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(sys_sigaction, ) #endif #ifndef OVERRIDE_32_sys_readlink -SC_TRACE_EVENT(sys_readlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(sys_readlink, ) #endif #ifndef OVERRIDE_32_sys_old_readdir -SC_TRACE_EVENT(sys_old_readdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(sys_old_readdir, ) #endif #ifndef OVERRIDE_32_sys_syslog -SC_TRACE_EVENT(sys_syslog, +SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(sys_syslog, ) #endif #ifndef OVERRIDE_32_sys_setitimer -SC_TRACE_EVENT(sys_setitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(sys_setitimer, ) #endif #ifndef OVERRIDE_32_sys_sigprocmask -SC_TRACE_EVENT(sys_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(how, nset, oset), TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(sys_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_init_module -SC_TRACE_EVENT(sys_init_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(sys_init_module, ) #endif #ifndef OVERRIDE_32_sys_getdents -SC_TRACE_EVENT(sys_getdents, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(sys_getdents, ) #endif #ifndef OVERRIDE_32_sys_readv -SC_TRACE_EVENT(sys_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(sys_readv, ) #endif #ifndef OVERRIDE_32_sys_writev -SC_TRACE_EVENT(sys_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(sys_writev, ) #endif #ifndef OVERRIDE_32_sys_cachectl -SC_TRACE_EVENT(sys_cachectl, +SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, TP_PROTO(char * addr, int nbytes, int op), TP_ARGS(addr, nbytes, op), TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(sys_cachectl, ) #endif #ifndef OVERRIDE_32_sys_sched_setscheduler -SC_TRACE_EVENT(sys_sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, ) #endif #ifndef OVERRIDE_32_sys_accept -SC_TRACE_EVENT(sys_accept, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(sys_accept, ) #endif #ifndef OVERRIDE_32_sys_bind -SC_TRACE_EVENT(sys_bind, +SC_LTTNG_TRACEPOINT_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(sys_bind, ) #endif #ifndef OVERRIDE_32_sys_connect -SC_TRACE_EVENT(sys_connect, +SC_LTTNG_TRACEPOINT_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(sys_connect, ) #endif #ifndef OVERRIDE_32_sys_getpeername -SC_TRACE_EVENT(sys_getpeername, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(sys_getpeername, ) #endif #ifndef OVERRIDE_32_sys_getsockname -SC_TRACE_EVENT(sys_getsockname, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(sys_getsockname, ) #endif #ifndef OVERRIDE_32_sys_recvmsg -SC_TRACE_EVENT(sys_recvmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(sys_recvmsg, ) #endif #ifndef OVERRIDE_32_sys_sendmsg -SC_TRACE_EVENT(sys_sendmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(sys_sendmsg, ) #endif #ifndef OVERRIDE_32_sys_getresuid -SC_TRACE_EVENT(sys_getresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), TP_ARGS(ruidp, euidp, suidp), TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(sys_getresuid, ) #endif #ifndef OVERRIDE_32_sys_poll -SC_TRACE_EVENT(sys_poll, +SC_LTTNG_TRACEPOINT_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(sys_poll, ) #endif #ifndef OVERRIDE_32_sys_getresgid -SC_TRACE_EVENT(sys_getresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), TP_ARGS(rgidp, egidp, sgidp), TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(sys_getresgid, ) #endif #ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_TRACE_EVENT(sys_rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_chown -SC_TRACE_EVENT(sys_chown, +SC_LTTNG_TRACEPOINT_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(sys_chown, ) #endif #ifndef OVERRIDE_32_sys_mincore -SC_TRACE_EVENT(sys_mincore, +SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(sys_mincore, ) #endif #ifndef OVERRIDE_32_sys_getdents64 -SC_TRACE_EVENT(sys_getdents64, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(sys_getdents64, ) #endif #ifndef OVERRIDE_32_sys_listxattr -SC_TRACE_EVENT(sys_listxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(sys_listxattr, ) #endif #ifndef OVERRIDE_32_sys_llistxattr -SC_TRACE_EVENT(sys_llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(sys_llistxattr, ) #endif #ifndef OVERRIDE_32_sys_flistxattr -SC_TRACE_EVENT(sys_flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(sys_flistxattr, ) #endif #ifndef OVERRIDE_32_sys_io_submit -SC_TRACE_EVENT(sys_io_submit, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(sys_io_submit, ) #endif #ifndef OVERRIDE_32_sys_io_cancel -SC_TRACE_EVENT(sys_io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(sys_io_cancel, ) #endif #ifndef OVERRIDE_32_sys_statfs64 -SC_TRACE_EVENT(sys_statfs64, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs64, TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), TP_ARGS(pathname, sz, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(sys_statfs64, ) #endif #ifndef OVERRIDE_32_sys_fstatfs64 -SC_TRACE_EVENT(sys_fstatfs64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs64, TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), TP_ARGS(fd, sz, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(sys_fstatfs64, ) #endif #ifndef OVERRIDE_32_sys_timer_create -SC_TRACE_EVENT(sys_timer_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(sys_timer_create, ) #endif #ifndef OVERRIDE_32_sys_inotify_add_watch -SC_TRACE_EVENT(sys_inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, ) #endif #ifndef OVERRIDE_32_sys_mkdirat -SC_TRACE_EVENT(sys_mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, umode_t mode), TP_ARGS(dfd, pathname, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(sys_mkdirat, ) #endif #ifndef OVERRIDE_32_sys_futimesat -SC_TRACE_EVENT(sys_futimesat, +SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(sys_futimesat, ) #endif #ifndef OVERRIDE_32_sys_unlinkat -SC_TRACE_EVENT(sys_unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(sys_unlinkat, ) #endif #ifndef OVERRIDE_32_sys_symlinkat -SC_TRACE_EVENT(sys_symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(sys_symlinkat, ) #endif #ifndef OVERRIDE_32_sys_fchmodat -SC_TRACE_EVENT(sys_fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, umode_t mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(sys_fchmodat, ) #endif #ifndef OVERRIDE_32_sys_faccessat -SC_TRACE_EVENT(sys_faccessat, +SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(sys_faccessat, ) #endif #ifndef OVERRIDE_32_sys_get_robust_list -SC_TRACE_EVENT(sys_get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(pid, head_ptr, len_ptr), TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(sys_get_robust_list, ) #endif #ifndef OVERRIDE_32_sys_getcpu -SC_TRACE_EVENT(sys_getcpu, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(cpup, nodep, unused), TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(sys_getcpu, ) #endif #ifndef OVERRIDE_32_sys_signalfd -SC_TRACE_EVENT(sys_signalfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(sys_signalfd, ) #endif #ifndef OVERRIDE_32_sys_open_by_handle_at -SC_TRACE_EVENT(sys_open_by_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(sys_open_by_handle_at, TP_PROTO(int mountdirfd, struct file_handle * handle, int flags), TP_ARGS(mountdirfd, handle, flags), TP_STRUCT__entry(__field(int, mountdirfd) __field_hex(struct file_handle *, handle) __field(int, flags)), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(sys_open_by_handle_at, ) #endif #ifndef OVERRIDE_32_sys_reboot -SC_TRACE_EVENT(sys_reboot, +SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(sys_reboot, ) #endif #ifndef OVERRIDE_32_sys_wait4 -SC_TRACE_EVENT(sys_wait4, +SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(sys_wait4, ) #endif #ifndef OVERRIDE_32_sys_send -SC_TRACE_EVENT(sys_send, +SC_LTTNG_TRACEPOINT_EVENT(sys_send, TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), TP_ARGS(fd, buff, len, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(sys_send, ) #endif #ifndef OVERRIDE_32_sys_socketpair -SC_TRACE_EVENT(sys_socketpair, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, TP_PROTO(int family, int type, int protocol, int * usockvec), TP_ARGS(family, type, protocol, usockvec), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(sys_socketpair, ) #endif #ifndef OVERRIDE_32_sys_rt_sigaction -SC_TRACE_EVENT(sys_rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, ) #endif #ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_TRACE_EVENT(sys_rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_TRACE_EVENT(sys_rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, ) #endif #ifndef OVERRIDE_32_sys_pread64 -SC_TRACE_EVENT(sys_pread64, +SC_LTTNG_TRACEPOINT_EVENT(sys_pread64, TP_PROTO(unsigned int fd, char * buf, size_t count, loff_t pos), TP_ARGS(fd, buf, count, pos), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count) __field(loff_t, pos)), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(sys_pread64, ) #endif #ifndef OVERRIDE_32_sys_pwrite64 -SC_TRACE_EVENT(sys_pwrite64, +SC_LTTNG_TRACEPOINT_EVENT(sys_pwrite64, TP_PROTO(unsigned int fd, const char * buf, size_t count, loff_t pos), TP_ARGS(fd, buf, count, pos), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(loff_t, pos)), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(sys_pwrite64, ) #endif #ifndef OVERRIDE_32_sys_sendfile -SC_TRACE_EVENT(sys_sendfile, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(sys_sendfile, ) #endif #ifndef OVERRIDE_32_sys_getxattr -SC_TRACE_EVENT(sys_getxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(sys_getxattr, ) #endif #ifndef OVERRIDE_32_sys_lgetxattr -SC_TRACE_EVENT(sys_lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(sys_lgetxattr, ) #endif #ifndef OVERRIDE_32_sys_fgetxattr -SC_TRACE_EVENT(sys_fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(sys_fgetxattr, ) #endif #ifndef OVERRIDE_32_sys_sendfile64 -SC_TRACE_EVENT(sys_sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(sys_sendfile64, ) #endif #ifndef OVERRIDE_32_sys_epoll_ctl -SC_TRACE_EVENT(sys_epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, ) #endif #ifndef OVERRIDE_32_sys_epoll_wait -SC_TRACE_EVENT(sys_epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(sys_epoll_wait, ) #endif #ifndef OVERRIDE_32_sys_timer_settime -SC_TRACE_EVENT(sys_timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(sys_timer_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_nanosleep -SC_TRACE_EVENT(sys_clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_openat -SC_TRACE_EVENT(sys_openat, +SC_LTTNG_TRACEPOINT_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), TP_ARGS(dfd, filename, flags, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(sys_openat, ) #endif #ifndef OVERRIDE_32_sys_mknodat -SC_TRACE_EVENT(sys_mknodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(sys_mknodat, ) #endif #ifndef OVERRIDE_32_sys_fstatat64 -SC_TRACE_EVENT(sys_fstatat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(sys_fstatat64, ) #endif #ifndef OVERRIDE_32_sys_renameat -SC_TRACE_EVENT(sys_renameat, +SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(sys_renameat, ) #endif #ifndef OVERRIDE_32_sys_readlinkat -SC_TRACE_EVENT(sys_readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(sys_readlinkat, ) #endif #ifndef OVERRIDE_32_sys_vmsplice -SC_TRACE_EVENT(sys_vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(fd, iov, nr_segs, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(sys_vmsplice, ) #endif #ifndef OVERRIDE_32_sys_utimensat -SC_TRACE_EVENT(sys_utimensat, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(sys_utimensat, ) #endif #ifndef OVERRIDE_32_sys_timerfd_settime -SC_TRACE_EVENT(sys_timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, ) #endif #ifndef OVERRIDE_32_sys_signalfd4 -SC_TRACE_EVENT(sys_signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(sys_signalfd4, ) #endif #ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_accept4 -SC_TRACE_EVENT(sys_accept4, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(sys_accept4, ) #endif #ifndef OVERRIDE_32_sys_prlimit64 -SC_TRACE_EVENT(sys_prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(sys_prlimit64, ) #endif #ifndef OVERRIDE_32_sys_sendmmsg -SC_TRACE_EVENT(sys_sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(sys_sendmmsg, ) #endif #ifndef OVERRIDE_32_sys_mount -SC_TRACE_EVENT(sys_mount, +SC_LTTNG_TRACEPOINT_EVENT(sys_mount, TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(dev_name, dir_name, type, flags, data), TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(sys_mount, ) #endif #ifndef OVERRIDE_32_sys_llseek -SC_TRACE_EVENT(sys_llseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), TP_ARGS(fd, offset_high, offset_low, result, whence), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, whence)), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(sys_llseek, ) #endif #ifndef OVERRIDE_32_sys_select -SC_TRACE_EVENT(sys_select, +SC_LTTNG_TRACEPOINT_EVENT(sys_select, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(n, inp, outp, exp, tvp), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(sys_select, ) #endif #ifndef OVERRIDE_32_sys_getsockopt -SC_TRACE_EVENT(sys_getsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(sys_getsockopt, ) #endif #ifndef OVERRIDE_32_sys_setsockopt -SC_TRACE_EVENT(sys_setsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(sys_setsockopt, ) #endif #ifndef OVERRIDE_32_sys_setxattr -SC_TRACE_EVENT(sys_setxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(sys_setxattr, ) #endif #ifndef OVERRIDE_32_sys_lsetxattr -SC_TRACE_EVENT(sys_lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(sys_lsetxattr, ) #endif #ifndef OVERRIDE_32_sys_fsetxattr -SC_TRACE_EVENT(sys_fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(fd, name, value, size, flags), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(sys_fsetxattr, ) #endif #ifndef OVERRIDE_32_sys_io_getevents -SC_TRACE_EVENT(sys_io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(sys_io_getevents, ) #endif #ifndef OVERRIDE_32_sys_waitid -SC_TRACE_EVENT(sys_waitid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(which, upid, infop, options, ru), TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(sys_waitid, ) #endif #ifndef OVERRIDE_32_sys_fchownat -SC_TRACE_EVENT(sys_fchownat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(dfd, filename, user, group, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(sys_fchownat, ) #endif #ifndef OVERRIDE_32_sys_linkat -SC_TRACE_EVENT(sys_linkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(sys_linkat, ) #endif #ifndef OVERRIDE_32_sys_ppoll -SC_TRACE_EVENT(sys_ppoll, +SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(sys_ppoll, ) #endif #ifndef OVERRIDE_32_sys_preadv -SC_TRACE_EVENT(sys_preadv, +SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(sys_preadv, ) #endif #ifndef OVERRIDE_32_sys_pwritev -SC_TRACE_EVENT(sys_pwritev, +SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(sys_pwritev, ) #endif #ifndef OVERRIDE_32_sys_perf_event_open -SC_TRACE_EVENT(sys_perf_event_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(sys_perf_event_open, ) #endif #ifndef OVERRIDE_32_sys_recvmmsg -SC_TRACE_EVENT(sys_recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(sys_recvmmsg, ) #endif #ifndef OVERRIDE_32_sys_name_to_handle_at -SC_TRACE_EVENT(sys_name_to_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(sys_name_to_handle_at, TP_PROTO(int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), TP_ARGS(dfd, name, handle, mnt_id, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(name, name) __field_hex(struct file_handle *, handle) __field_hex(int *, mnt_id) __field(int, flag)), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(sys_name_to_handle_at, ) #endif #ifndef OVERRIDE_32_sys_ipc -SC_TRACE_EVENT(sys_ipc, +SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), TP_ARGS(call, first, second, third, ptr, fifth), TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(sys_ipc, ) #endif #ifndef OVERRIDE_32_sys_recvfrom -SC_TRACE_EVENT(sys_recvfrom, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), TP_ARGS(fd, ubuf, size, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(sys_recvfrom, ) #endif #ifndef OVERRIDE_32_sys_sendto -SC_TRACE_EVENT(sys_sendto, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), TP_ARGS(fd, buff, len, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(sys_sendto, ) #endif #ifndef OVERRIDE_32_sys_futex -SC_TRACE_EVENT(sys_futex, +SC_LTTNG_TRACEPOINT_EVENT(sys_futex, TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(sys_futex, ) #endif #ifndef OVERRIDE_32_sys_pselect6 -SC_TRACE_EVENT(sys_pselect6, +SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(sys_pselect6, ) #endif #ifndef OVERRIDE_32_sys_splice -SC_TRACE_EVENT(sys_splice, +SC_LTTNG_TRACEPOINT_EVENT(sys_splice, TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(sys_splice, ) #endif #ifndef OVERRIDE_32_sys_epoll_pwait -SC_TRACE_EVENT(sys_epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h index b63ac1e4..cf957ed6 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_integers.h @@ -9,55 +9,55 @@ #include "mips-32-syscalls-3.5.0_integers_override.h" #include "syscalls_integers_override.h" -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_32_sys_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) #endif #ifndef OVERRIDE_32_sys_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) #endif #ifndef OVERRIDE_32_sys_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) #endif #ifndef OVERRIDE_32_sys_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) #endif #ifndef OVERRIDE_32_sys_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) #endif #ifndef OVERRIDE_32_sys_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) #endif #ifndef OVERRIDE_32_sys_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) #endif #ifndef OVERRIDE_32_sys_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) #endif #ifndef OVERRIDE_32_sys_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) #endif #ifndef OVERRIDE_32_sys_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) #endif #ifndef OVERRIDE_32_sys_sgetmask -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) #endif #ifndef OVERRIDE_32_sys_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) #endif #ifndef OVERRIDE_32_sys_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) #endif #ifndef OVERRIDE_32_sys_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) #endif #ifndef OVERRIDE_32_sys_exit -SC_TRACE_EVENT(sys_exit, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -66,7 +66,7 @@ SC_TRACE_EVENT(sys_exit, ) #endif #ifndef OVERRIDE_32_sys_close -SC_TRACE_EVENT(sys_close, +SC_LTTNG_TRACEPOINT_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -75,7 +75,7 @@ SC_TRACE_EVENT(sys_close, ) #endif #ifndef OVERRIDE_32_sys_setuid -SC_TRACE_EVENT(sys_setuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -84,7 +84,7 @@ SC_TRACE_EVENT(sys_setuid, ) #endif #ifndef OVERRIDE_32_sys_alarm -SC_TRACE_EVENT(sys_alarm, +SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), TP_STRUCT__entry(__field(unsigned int, seconds)), @@ -93,7 +93,7 @@ SC_TRACE_EVENT(sys_alarm, ) #endif #ifndef OVERRIDE_32_sys_nice -SC_TRACE_EVENT(sys_nice, +SC_LTTNG_TRACEPOINT_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), TP_STRUCT__entry(__field(int, increment)), @@ -102,7 +102,7 @@ SC_TRACE_EVENT(sys_nice, ) #endif #ifndef OVERRIDE_32_sys_dup -SC_TRACE_EVENT(sys_dup, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field(unsigned int, fildes)), @@ -111,7 +111,7 @@ SC_TRACE_EVENT(sys_dup, ) #endif #ifndef OVERRIDE_32_sys_brk -SC_TRACE_EVENT(sys_brk, +SC_LTTNG_TRACEPOINT_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), TP_STRUCT__entry(__field(unsigned long, brk)), @@ -120,7 +120,7 @@ SC_TRACE_EVENT(sys_brk, ) #endif #ifndef OVERRIDE_32_sys_setgid -SC_TRACE_EVENT(sys_setgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -129,7 +129,7 @@ SC_TRACE_EVENT(sys_setgid, ) #endif #ifndef OVERRIDE_32_sys_umask -SC_TRACE_EVENT(sys_umask, +SC_LTTNG_TRACEPOINT_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), TP_STRUCT__entry(__field(int, mask)), @@ -138,7 +138,7 @@ SC_TRACE_EVENT(sys_umask, ) #endif #ifndef OVERRIDE_32_sys_ssetmask -SC_TRACE_EVENT(sys_ssetmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, TP_PROTO(int newmask), TP_ARGS(newmask), TP_STRUCT__entry(__field(int, newmask)), @@ -147,7 +147,7 @@ SC_TRACE_EVENT(sys_ssetmask, ) #endif #ifndef OVERRIDE_32_sys_fsync -SC_TRACE_EVENT(sys_fsync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -156,7 +156,7 @@ SC_TRACE_EVENT(sys_fsync, ) #endif #ifndef OVERRIDE_32_sys_getpgid -SC_TRACE_EVENT(sys_getpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -165,7 +165,7 @@ SC_TRACE_EVENT(sys_getpgid, ) #endif #ifndef OVERRIDE_32_sys_fchdir -SC_TRACE_EVENT(sys_fchdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -174,7 +174,7 @@ SC_TRACE_EVENT(sys_fchdir, ) #endif #ifndef OVERRIDE_32_sys_personality -SC_TRACE_EVENT(sys_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned int, personality)), @@ -183,7 +183,7 @@ SC_TRACE_EVENT(sys_personality, ) #endif #ifndef OVERRIDE_32_sys_setfsuid -SC_TRACE_EVENT(sys_setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -192,7 +192,7 @@ SC_TRACE_EVENT(sys_setfsuid, ) #endif #ifndef OVERRIDE_32_sys_setfsgid -SC_TRACE_EVENT(sys_setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -201,7 +201,7 @@ SC_TRACE_EVENT(sys_setfsgid, ) #endif #ifndef OVERRIDE_32_sys_getsid -SC_TRACE_EVENT(sys_getsid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(sys_getsid, ) #endif #ifndef OVERRIDE_32_sys_fdatasync -SC_TRACE_EVENT(sys_fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(sys_fdatasync, ) #endif #ifndef OVERRIDE_32_sys_mlockall -SC_TRACE_EVENT(sys_mlockall, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(sys_mlockall, ) #endif #ifndef OVERRIDE_32_sys_sched_getscheduler -SC_TRACE_EVENT(sys_sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_TRACE_EVENT(sys_sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_TRACE_EVENT(sys_sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, ) #endif #ifndef OVERRIDE_32_sys_kill -SC_TRACE_EVENT(sys_kill, +SC_LTTNG_TRACEPOINT_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(sys_kill, ) #endif #ifndef OVERRIDE_32_sys_setpgid -SC_TRACE_EVENT(sys_setpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(sys_setpgid, ) #endif #ifndef OVERRIDE_32_sys_dup2 -SC_TRACE_EVENT(sys_dup2, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(sys_dup2, ) #endif #ifndef OVERRIDE_32_sys_setreuid -SC_TRACE_EVENT(sys_setreuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(sys_setreuid, ) #endif #ifndef OVERRIDE_32_sys_setregid -SC_TRACE_EVENT(sys_setregid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(sys_setregid, ) #endif #ifndef OVERRIDE_32_sys_munmap -SC_TRACE_EVENT(sys_munmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(sys_munmap, ) #endif #ifndef OVERRIDE_32_sys_ftruncate -SC_TRACE_EVENT(sys_ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(sys_ftruncate, ) #endif #ifndef OVERRIDE_32_sys_fchmod -SC_TRACE_EVENT(sys_fchmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, umode_t mode), TP_ARGS(fd, mode), TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(sys_fchmod, ) #endif #ifndef OVERRIDE_32_sys_getpriority -SC_TRACE_EVENT(sys_getpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(sys_getpriority, ) #endif #ifndef OVERRIDE_32_sys_bdflush -SC_TRACE_EVENT(sys_bdflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), TP_STRUCT__entry(__field(int, func) __field(long, data)), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(sys_bdflush, ) #endif #ifndef OVERRIDE_32_sys_flock -SC_TRACE_EVENT(sys_flock, +SC_LTTNG_TRACEPOINT_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(sys_flock, ) #endif #ifndef OVERRIDE_32_sys_mlock -SC_TRACE_EVENT(sys_mlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sys_mlock, ) #endif #ifndef OVERRIDE_32_sys_munlock -SC_TRACE_EVENT(sys_munlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sys_munlock, ) #endif #ifndef OVERRIDE_32_sys_lseek -SC_TRACE_EVENT(sys_lseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sys_lseek, ) #endif #ifndef OVERRIDE_32_sys_ioctl -SC_TRACE_EVENT(sys_ioctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(sys_ioctl, ) #endif #ifndef OVERRIDE_32_sys_fcntl -SC_TRACE_EVENT(sys_fcntl, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(sys_fcntl, ) #endif #ifndef OVERRIDE_32_sys_fchown -SC_TRACE_EVENT(sys_fchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(sys_fchown, ) #endif #ifndef OVERRIDE_32_sys_setpriority -SC_TRACE_EVENT(sys_setpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(sys_setpriority, ) #endif #ifndef OVERRIDE_32_sys_mprotect -SC_TRACE_EVENT(sys_mprotect, +SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(sys_mprotect, ) #endif #ifndef OVERRIDE_32_sys_sysfs -SC_TRACE_EVENT(sys_sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(sys_sysfs, ) #endif #ifndef OVERRIDE_32_sys_msync -SC_TRACE_EVENT(sys_msync, +SC_LTTNG_TRACEPOINT_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(sys_msync, ) #endif #ifndef OVERRIDE_32_sys_cacheflush -SC_TRACE_EVENT(sys_cacheflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), TP_ARGS(addr, bytes, cache), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(sys_cacheflush, ) #endif #ifndef OVERRIDE_32_sys_ptrace -SC_TRACE_EVENT(sys_ptrace, +SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(request, pid, addr, data), TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(sys_ptrace, ) #endif #ifndef OVERRIDE_32_sys_mremap -SC_TRACE_EVENT(sys_mremap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(sys_mremap, ) #endif #ifndef OVERRIDE_32_sys_mips_mmap -SC_TRACE_EVENT(sys_mips_mmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), TP_ARGS(addr, len, prot, flags, fd, offset), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h index 605b5588..c50d67bf 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls-3.5.0_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_sys_unlink -SC_TRACE_EVENT(sys_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(sys_unlink, ) #endif #ifndef OVERRIDE_32_sys_chdir -SC_TRACE_EVENT(sys_chdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(sys_chdir, ) #endif #ifndef OVERRIDE_32_sys_time -SC_TRACE_EVENT(sys_time, +SC_LTTNG_TRACEPOINT_EVENT(sys_time, TP_PROTO(time_t * tloc), TP_ARGS(tloc), TP_STRUCT__entry(__field_hex(time_t *, tloc)), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(sys_time, ) #endif #ifndef OVERRIDE_32_sys_oldumount -SC_TRACE_EVENT(sys_oldumount, +SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, TP_PROTO(char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(sys_oldumount, ) #endif #ifndef OVERRIDE_32_sys_stime -SC_TRACE_EVENT(sys_stime, +SC_LTTNG_TRACEPOINT_EVENT(sys_stime, TP_PROTO(time_t * tptr), TP_ARGS(tptr), TP_STRUCT__entry(__field_hex(time_t *, tptr)), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(sys_stime, ) #endif #ifndef OVERRIDE_32_sys_rmdir -SC_TRACE_EVENT(sys_rmdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(sys_rmdir, ) #endif #ifndef OVERRIDE_32_sys_times -SC_TRACE_EVENT(sys_times, +SC_LTTNG_TRACEPOINT_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sys_times, ) #endif #ifndef OVERRIDE_32_sys_olduname -SC_TRACE_EVENT(sys_olduname, +SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, TP_PROTO(struct oldold_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(sys_olduname, ) #endif #ifndef OVERRIDE_32_sys_chroot -SC_TRACE_EVENT(sys_chroot, +SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sys_chroot, ) #endif #ifndef OVERRIDE_32_sys_sigpending -SC_TRACE_EVENT(sys_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, TP_PROTO(old_sigset_t * set), TP_ARGS(set), TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(sys_sigpending, ) #endif #ifndef OVERRIDE_32_sys_uselib -SC_TRACE_EVENT(sys_uselib, +SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), TP_STRUCT__entry(__field_hex(const char *, library)), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(sys_uselib, ) #endif #ifndef OVERRIDE_32_sys_uname -SC_TRACE_EVENT(sys_uname, +SC_LTTNG_TRACEPOINT_EVENT(sys_uname, TP_PROTO(struct old_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sys_uname, ) #endif #ifndef OVERRIDE_32_sys_swapoff -SC_TRACE_EVENT(sys_swapoff, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(sys_swapoff, ) #endif #ifndef OVERRIDE_32_sys_sysinfo -SC_TRACE_EVENT(sys_sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(sys_sysinfo, ) #endif #ifndef OVERRIDE_32_sys_newuname -SC_TRACE_EVENT(sys_newuname, +SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(sys_newuname, ) #endif #ifndef OVERRIDE_32_sys_adjtimex -SC_TRACE_EVENT(sys_adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(sys_adjtimex, ) #endif #ifndef OVERRIDE_32_sys_sysctl -SC_TRACE_EVENT(sys_sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(sys_sysctl, ) #endif #ifndef OVERRIDE_32_sys_creat -SC_TRACE_EVENT(sys_creat, +SC_LTTNG_TRACEPOINT_EVENT(sys_creat, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sys_creat, ) #endif #ifndef OVERRIDE_32_sys_link -SC_TRACE_EVENT(sys_link, +SC_LTTNG_TRACEPOINT_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(sys_link, ) #endif #ifndef OVERRIDE_32_sys_chmod -SC_TRACE_EVENT(sys_chmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, TP_PROTO(const char * filename, umode_t mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(sys_chmod, ) #endif #ifndef OVERRIDE_32_sys_utime -SC_TRACE_EVENT(sys_utime, +SC_LTTNG_TRACEPOINT_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sys_utime, ) #endif #ifndef OVERRIDE_32_sys_access -SC_TRACE_EVENT(sys_access, +SC_LTTNG_TRACEPOINT_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(sys_access, ) #endif #ifndef OVERRIDE_32_sys_rename -SC_TRACE_EVENT(sys_rename, +SC_LTTNG_TRACEPOINT_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(sys_rename, ) #endif #ifndef OVERRIDE_32_sys_mkdir -SC_TRACE_EVENT(sys_mkdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(sys_mkdir, ) #endif #ifndef OVERRIDE_32_sys_umount -SC_TRACE_EVENT(sys_umount, +SC_LTTNG_TRACEPOINT_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(sys_umount, ) #endif #ifndef OVERRIDE_32_sys_ustat -SC_TRACE_EVENT(sys_ustat, +SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(sys_ustat, ) #endif #ifndef OVERRIDE_32_sys_sethostname -SC_TRACE_EVENT(sys_sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(sys_sethostname, ) #endif #ifndef OVERRIDE_32_sys_setrlimit -SC_TRACE_EVENT(sys_setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(sys_setrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrlimit -SC_TRACE_EVENT(sys_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(sys_getrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrusage -SC_TRACE_EVENT(sys_getrusage, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(sys_getrusage, ) #endif #ifndef OVERRIDE_32_sys_gettimeofday -SC_TRACE_EVENT(sys_gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(sys_gettimeofday, ) #endif #ifndef OVERRIDE_32_sys_settimeofday -SC_TRACE_EVENT(sys_settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(sys_settimeofday, ) #endif #ifndef OVERRIDE_32_sys_getgroups -SC_TRACE_EVENT(sys_getgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(sys_getgroups, ) #endif #ifndef OVERRIDE_32_sys_setgroups -SC_TRACE_EVENT(sys_setgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(sys_setgroups, ) #endif #ifndef OVERRIDE_32_sys_symlink -SC_TRACE_EVENT(sys_symlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sys_symlink, ) #endif #ifndef OVERRIDE_32_sys_swapon -SC_TRACE_EVENT(sys_swapon, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(sys_swapon, ) #endif #ifndef OVERRIDE_32_sys_truncate -SC_TRACE_EVENT(sys_truncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(sys_truncate, ) #endif #ifndef OVERRIDE_32_sys_statfs -SC_TRACE_EVENT(sys_statfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sys_statfs, ) #endif #ifndef OVERRIDE_32_sys_fstatfs -SC_TRACE_EVENT(sys_fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(sys_fstatfs, ) #endif #ifndef OVERRIDE_32_sys_socketcall -SC_TRACE_EVENT(sys_socketcall, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, TP_PROTO(int call, unsigned long * args), TP_ARGS(call, args), TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(sys_socketcall, ) #endif #ifndef OVERRIDE_32_sys_getitimer -SC_TRACE_EVENT(sys_getitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(sys_getitimer, ) #endif #ifndef OVERRIDE_32_sys_newstat -SC_TRACE_EVENT(sys_newstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(sys_newstat, ) #endif #ifndef OVERRIDE_32_sys_newlstat -SC_TRACE_EVENT(sys_newlstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sys_newlstat, ) #endif #ifndef OVERRIDE_32_sys_newfstat -SC_TRACE_EVENT(sys_newfstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sys_newfstat, ) #endif #ifndef OVERRIDE_32_sys_setdomainname -SC_TRACE_EVENT(sys_setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sys_setdomainname, ) #endif #ifndef OVERRIDE_32_sys_delete_module -SC_TRACE_EVENT(sys_delete_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(sys_delete_module, ) #endif #ifndef OVERRIDE_32_sys_sched_setparam -SC_TRACE_EVENT(sys_sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(sys_sched_setparam, ) #endif #ifndef OVERRIDE_32_sys_sched_getparam -SC_TRACE_EVENT(sys_sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(sys_sched_getparam, ) #endif #ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_TRACE_EVENT(sys_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_32_sys_nanosleep -SC_TRACE_EVENT(sys_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(sys_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_read -SC_TRACE_EVENT(sys_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sys_read, ) #endif #ifndef OVERRIDE_32_sys_write -SC_TRACE_EVENT(sys_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(sys_write, ) #endif #ifndef OVERRIDE_32_sys_open -SC_TRACE_EVENT(sys_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_open, TP_PROTO(const char * filename, int flags, umode_t mode), TP_ARGS(filename, flags, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(sys_open, ) #endif #ifndef OVERRIDE_32_sys_waitpid -SC_TRACE_EVENT(sys_waitpid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, TP_PROTO(pid_t pid, int * stat_addr, int options), TP_ARGS(pid, stat_addr, options), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(sys_waitpid, ) #endif #ifndef OVERRIDE_32_sys_mknod -SC_TRACE_EVENT(sys_mknod, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, TP_PROTO(const char * filename, umode_t mode, unsigned dev), TP_ARGS(filename, mode, dev), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(sys_mknod, ) #endif #ifndef OVERRIDE_32_sys_lchown -SC_TRACE_EVENT(sys_lchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sys_lchown, ) #endif #ifndef OVERRIDE_32_sys_sigaction -SC_TRACE_EVENT(sys_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), TP_ARGS(sig, act, oact), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sys_sigaction, ) #endif #ifndef OVERRIDE_32_sys_readlink -SC_TRACE_EVENT(sys_readlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sys_readlink, ) #endif #ifndef OVERRIDE_32_sys_old_readdir -SC_TRACE_EVENT(sys_old_readdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(sys_old_readdir, ) #endif #ifndef OVERRIDE_32_sys_syslog -SC_TRACE_EVENT(sys_syslog, +SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(sys_syslog, ) #endif #ifndef OVERRIDE_32_sys_setitimer -SC_TRACE_EVENT(sys_setitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(sys_setitimer, ) #endif #ifndef OVERRIDE_32_sys_sigprocmask -SC_TRACE_EVENT(sys_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(how, nset, oset), TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(sys_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_init_module -SC_TRACE_EVENT(sys_init_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(sys_init_module, ) #endif #ifndef OVERRIDE_32_sys_getdents -SC_TRACE_EVENT(sys_getdents, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(sys_getdents, ) #endif #ifndef OVERRIDE_32_sys_readv -SC_TRACE_EVENT(sys_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(sys_readv, ) #endif #ifndef OVERRIDE_32_sys_writev -SC_TRACE_EVENT(sys_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(sys_writev, ) #endif #ifndef OVERRIDE_32_sys_cachectl -SC_TRACE_EVENT(sys_cachectl, +SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, TP_PROTO(char * addr, int nbytes, int op), TP_ARGS(addr, nbytes, op), TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(sys_cachectl, ) #endif #ifndef OVERRIDE_32_sys_sched_setscheduler -SC_TRACE_EVENT(sys_sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, ) #endif #ifndef OVERRIDE_32_sys_accept -SC_TRACE_EVENT(sys_accept, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(sys_accept, ) #endif #ifndef OVERRIDE_32_sys_bind -SC_TRACE_EVENT(sys_bind, +SC_LTTNG_TRACEPOINT_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(sys_bind, ) #endif #ifndef OVERRIDE_32_sys_connect -SC_TRACE_EVENT(sys_connect, +SC_LTTNG_TRACEPOINT_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(sys_connect, ) #endif #ifndef OVERRIDE_32_sys_getpeername -SC_TRACE_EVENT(sys_getpeername, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(sys_getpeername, ) #endif #ifndef OVERRIDE_32_sys_getsockname -SC_TRACE_EVENT(sys_getsockname, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(sys_getsockname, ) #endif #ifndef OVERRIDE_32_sys_reboot -SC_TRACE_EVENT(sys_reboot, +SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(sys_reboot, ) #endif #ifndef OVERRIDE_32_sys_wait4 -SC_TRACE_EVENT(sys_wait4, +SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(sys_wait4, ) #endif #ifndef OVERRIDE_32_sys_quotactl -SC_TRACE_EVENT(sys_quotactl, +SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(cmd, special, id, addr), TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(sys_quotactl, ) #endif #ifndef OVERRIDE_32_sys_mount -SC_TRACE_EVENT(sys_mount, +SC_LTTNG_TRACEPOINT_EVENT(sys_mount, TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(dev_name, dir_name, type, flags, data), TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(sys_mount, ) #endif #ifndef OVERRIDE_32_sys_llseek -SC_TRACE_EVENT(sys_llseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), TP_ARGS(fd, offset_high, offset_low, result, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(sys_llseek, ) #endif #ifndef OVERRIDE_32_sys_select -SC_TRACE_EVENT(sys_select, +SC_LTTNG_TRACEPOINT_EVENT(sys_select, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(n, inp, outp, exp, tvp), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(sys_select, ) #endif #ifndef OVERRIDE_32_sys_ipc -SC_TRACE_EVENT(sys_ipc, +SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), TP_ARGS(call, first, second, third, ptr, fifth), TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h index 28c9dae4..34d11202 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h @@ -9,64 +9,64 @@ #include "mips-64-syscalls-3.5.0_integers_override.h" #include "syscalls_integers_override.h" -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_64_sys_sgetmask -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) #endif #ifndef OVERRIDE_64_sys_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) #endif #ifndef OVERRIDE_64_sys_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) #endif #ifndef OVERRIDE_64_sys_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) #endif #ifndef OVERRIDE_64_sys_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) #endif #ifndef OVERRIDE_64_sys_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) #endif #ifndef OVERRIDE_64_sys_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) #endif #ifndef OVERRIDE_64_sys_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) #endif #ifndef OVERRIDE_64_sys_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) #endif #ifndef OVERRIDE_64_sys_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) #endif #ifndef OVERRIDE_64_sys_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) #endif #ifndef OVERRIDE_64_sys_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) #endif #ifndef OVERRIDE_64_sys_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) #endif #ifndef OVERRIDE_64_sys_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) #endif #ifndef OVERRIDE_64_sys_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) #endif #ifndef OVERRIDE_64_sys_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) #endif #ifndef OVERRIDE_64_sys_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) #endif #ifndef OVERRIDE_64_sys_nice -SC_TRACE_EVENT(sys_nice, +SC_LTTNG_TRACEPOINT_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), TP_STRUCT__entry(__field(int, increment)), @@ -75,7 +75,7 @@ SC_TRACE_EVENT(sys_nice, ) #endif #ifndef OVERRIDE_64_sys_ssetmask -SC_TRACE_EVENT(sys_ssetmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, TP_PROTO(int newmask), TP_ARGS(newmask), TP_STRUCT__entry(__field(int, newmask)), @@ -84,7 +84,7 @@ SC_TRACE_EVENT(sys_ssetmask, ) #endif #ifndef OVERRIDE_64_sys_personality -SC_TRACE_EVENT(sys_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned int, personality)), @@ -93,7 +93,7 @@ SC_TRACE_EVENT(sys_personality, ) #endif #ifndef OVERRIDE_64_sys_close -SC_TRACE_EVENT(sys_close, +SC_LTTNG_TRACEPOINT_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -102,7 +102,7 @@ SC_TRACE_EVENT(sys_close, ) #endif #ifndef OVERRIDE_64_sys_brk -SC_TRACE_EVENT(sys_brk, +SC_LTTNG_TRACEPOINT_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), TP_STRUCT__entry(__field(unsigned long, brk)), @@ -111,7 +111,7 @@ SC_TRACE_EVENT(sys_brk, ) #endif #ifndef OVERRIDE_64_sys_dup -SC_TRACE_EVENT(sys_dup, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field(unsigned int, fildes)), @@ -120,7 +120,7 @@ SC_TRACE_EVENT(sys_dup, ) #endif #ifndef OVERRIDE_64_sys_alarm -SC_TRACE_EVENT(sys_alarm, +SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), TP_STRUCT__entry(__field(unsigned int, seconds)), @@ -129,7 +129,7 @@ SC_TRACE_EVENT(sys_alarm, ) #endif #ifndef OVERRIDE_64_sys_exit -SC_TRACE_EVENT(sys_exit, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -138,7 +138,7 @@ SC_TRACE_EVENT(sys_exit, ) #endif #ifndef OVERRIDE_64_sys_fsync -SC_TRACE_EVENT(sys_fsync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -147,7 +147,7 @@ SC_TRACE_EVENT(sys_fsync, ) #endif #ifndef OVERRIDE_64_sys_fdatasync -SC_TRACE_EVENT(sys_fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -156,7 +156,7 @@ SC_TRACE_EVENT(sys_fdatasync, ) #endif #ifndef OVERRIDE_64_sys_fchdir -SC_TRACE_EVENT(sys_fchdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -165,7 +165,7 @@ SC_TRACE_EVENT(sys_fchdir, ) #endif #ifndef OVERRIDE_64_sys_umask -SC_TRACE_EVENT(sys_umask, +SC_LTTNG_TRACEPOINT_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), TP_STRUCT__entry(__field(int, mask)), @@ -174,7 +174,7 @@ SC_TRACE_EVENT(sys_umask, ) #endif #ifndef OVERRIDE_64_sys_setuid -SC_TRACE_EVENT(sys_setuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -183,7 +183,7 @@ SC_TRACE_EVENT(sys_setuid, ) #endif #ifndef OVERRIDE_64_sys_setgid -SC_TRACE_EVENT(sys_setgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -192,7 +192,7 @@ SC_TRACE_EVENT(sys_setgid, ) #endif #ifndef OVERRIDE_64_sys_getpgid -SC_TRACE_EVENT(sys_getpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -201,7 +201,7 @@ SC_TRACE_EVENT(sys_getpgid, ) #endif #ifndef OVERRIDE_64_sys_setfsuid -SC_TRACE_EVENT(sys_setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(sys_setfsuid, ) #endif #ifndef OVERRIDE_64_sys_setfsgid -SC_TRACE_EVENT(sys_setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(sys_setfsgid, ) #endif #ifndef OVERRIDE_64_sys_getsid -SC_TRACE_EVENT(sys_getsid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(sys_getsid, ) #endif #ifndef OVERRIDE_64_sys_32_personality -SC_TRACE_EVENT(sys_32_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_personality, TP_PROTO(unsigned long personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned long, personality)), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(sys_32_personality, ) #endif #ifndef OVERRIDE_64_sys_sched_getscheduler -SC_TRACE_EVENT(sys_sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, ) #endif #ifndef OVERRIDE_64_sys_sched_get_priority_max -SC_TRACE_EVENT(sys_sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, ) #endif #ifndef OVERRIDE_64_sys_sched_get_priority_min -SC_TRACE_EVENT(sys_sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, ) #endif #ifndef OVERRIDE_64_sys_mlockall -SC_TRACE_EVENT(sys_mlockall, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(sys_mlockall, ) #endif #ifndef OVERRIDE_64_sys_io_destroy -SC_TRACE_EVENT(sys_io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), TP_STRUCT__entry(__field(aio_context_t, ctx)), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(sys_io_destroy, ) #endif #ifndef OVERRIDE_64_sys_exit_group -SC_TRACE_EVENT(sys_exit_group, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(sys_exit_group, ) #endif #ifndef OVERRIDE_64_sys_epoll_create -SC_TRACE_EVENT(sys_epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), TP_STRUCT__entry(__field(int, size)), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(sys_epoll_create, ) #endif #ifndef OVERRIDE_64_sys_timer_getoverrun -SC_TRACE_EVENT(sys_timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, ) #endif #ifndef OVERRIDE_64_sys_timer_delete -SC_TRACE_EVENT(sys_timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(sys_timer_delete, ) #endif #ifndef OVERRIDE_64_sys_set_thread_area -SC_TRACE_EVENT(sys_set_thread_area, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_thread_area, TP_PROTO(unsigned long addr), TP_ARGS(addr), TP_STRUCT__entry(__field_hex(unsigned long, addr)), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(sys_set_thread_area, ) #endif #ifndef OVERRIDE_64_sys_unshare -SC_TRACE_EVENT(sys_unshare, +SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), TP_STRUCT__entry(__field(unsigned long, unshare_flags)), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(sys_unshare, ) #endif #ifndef OVERRIDE_64_sys_eventfd -SC_TRACE_EVENT(sys_eventfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), TP_STRUCT__entry(__field(unsigned int, count)), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(sys_eventfd, ) #endif #ifndef OVERRIDE_64_sys_epoll_create1 -SC_TRACE_EVENT(sys_epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(sys_epoll_create1, ) #endif #ifndef OVERRIDE_64_sys_inotify_init1 -SC_TRACE_EVENT(sys_inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sys_inotify_init1, ) #endif #ifndef OVERRIDE_64_sys_syncfs -SC_TRACE_EVENT(sys_syncfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(int, fd)), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sys_syncfs, ) #endif #ifndef OVERRIDE_64_sys_bdflush -SC_TRACE_EVENT(sys_bdflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), TP_STRUCT__entry(__field(int, func) __field(long, data)), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sys_bdflush, ) #endif #ifndef OVERRIDE_64_sys_munmap -SC_TRACE_EVENT(sys_munmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(sys_munmap, ) #endif #ifndef OVERRIDE_64_sys_dup2 -SC_TRACE_EVENT(sys_dup2, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(sys_dup2, ) #endif #ifndef OVERRIDE_64_sys_shutdown -SC_TRACE_EVENT(sys_shutdown, +SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, TP_PROTO(int fd, int how), TP_ARGS(fd, how), TP_STRUCT__entry(__field(int, fd) __field(int, how)), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(sys_shutdown, ) #endif #ifndef OVERRIDE_64_sys_listen -SC_TRACE_EVENT(sys_listen, +SC_LTTNG_TRACEPOINT_EVENT(sys_listen, TP_PROTO(int fd, int backlog), TP_ARGS(fd, backlog), TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(sys_listen, ) #endif #ifndef OVERRIDE_64_sys_kill -SC_TRACE_EVENT(sys_kill, +SC_LTTNG_TRACEPOINT_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(sys_kill, ) #endif #ifndef OVERRIDE_64_sys_msgget -SC_TRACE_EVENT(sys_msgget, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgget, TP_PROTO(key_t key, int msgflg), TP_ARGS(key, msgflg), TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(sys_msgget, ) #endif #ifndef OVERRIDE_64_sys_flock -SC_TRACE_EVENT(sys_flock, +SC_LTTNG_TRACEPOINT_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(sys_flock, ) #endif #ifndef OVERRIDE_64_sys_ftruncate -SC_TRACE_EVENT(sys_ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(sys_ftruncate, ) #endif #ifndef OVERRIDE_64_sys_fchmod -SC_TRACE_EVENT(sys_fchmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, umode_t mode), TP_ARGS(fd, mode), TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(sys_fchmod, ) #endif #ifndef OVERRIDE_64_sys_setpgid -SC_TRACE_EVENT(sys_setpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(sys_setpgid, ) #endif #ifndef OVERRIDE_64_sys_setreuid -SC_TRACE_EVENT(sys_setreuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), @@ -480,7 +480,7 @@ SC_TRACE_EVENT(sys_setreuid, ) #endif #ifndef OVERRIDE_64_sys_setregid -SC_TRACE_EVENT(sys_setregid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), @@ -489,7 +489,7 @@ SC_TRACE_EVENT(sys_setregid, ) #endif #ifndef OVERRIDE_64_sys_getpriority -SC_TRACE_EVENT(sys_getpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -498,7 +498,7 @@ SC_TRACE_EVENT(sys_getpriority, ) #endif #ifndef OVERRIDE_64_sys_mlock -SC_TRACE_EVENT(sys_mlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -507,7 +507,7 @@ SC_TRACE_EVENT(sys_mlock, ) #endif #ifndef OVERRIDE_64_sys_munlock -SC_TRACE_EVENT(sys_munlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -516,7 +516,7 @@ SC_TRACE_EVENT(sys_munlock, ) #endif #ifndef OVERRIDE_64_sys_tkill -SC_TRACE_EVENT(sys_tkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -525,7 +525,7 @@ SC_TRACE_EVENT(sys_tkill, ) #endif #ifndef OVERRIDE_64_sys_inotify_rm_watch -SC_TRACE_EVENT(sys_inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), @@ -534,7 +534,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, ) #endif #ifndef OVERRIDE_64_sys_ioprio_get -SC_TRACE_EVENT(sys_ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -543,7 +543,7 @@ SC_TRACE_EVENT(sys_ioprio_get, ) #endif #ifndef OVERRIDE_64_sys_timerfd_create -SC_TRACE_EVENT(sys_timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), @@ -552,7 +552,7 @@ SC_TRACE_EVENT(sys_timerfd_create, ) #endif #ifndef OVERRIDE_64_sys_eventfd2 -SC_TRACE_EVENT(sys_eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), @@ -561,7 +561,7 @@ SC_TRACE_EVENT(sys_eventfd2, ) #endif #ifndef OVERRIDE_64_sys_setns -SC_TRACE_EVENT(sys_setns, +SC_LTTNG_TRACEPOINT_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), @@ -570,7 +570,7 @@ SC_TRACE_EVENT(sys_setns, ) #endif #ifndef OVERRIDE_64_sys_ioctl -SC_TRACE_EVENT(sys_ioctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -579,7 +579,7 @@ SC_TRACE_EVENT(sys_ioctl, ) #endif #ifndef OVERRIDE_64_sys_fcntl -SC_TRACE_EVENT(sys_fcntl, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -588,7 +588,7 @@ SC_TRACE_EVENT(sys_fcntl, ) #endif #ifndef OVERRIDE_64_sys_lseek -SC_TRACE_EVENT(sys_lseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), @@ -597,7 +597,7 @@ SC_TRACE_EVENT(sys_lseek, ) #endif #ifndef OVERRIDE_64_sys_mprotect -SC_TRACE_EVENT(sys_mprotect, +SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), @@ -606,7 +606,7 @@ SC_TRACE_EVENT(sys_mprotect, ) #endif #ifndef OVERRIDE_64_sys_msync -SC_TRACE_EVENT(sys_msync, +SC_LTTNG_TRACEPOINT_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), @@ -615,7 +615,7 @@ SC_TRACE_EVENT(sys_msync, ) #endif #ifndef OVERRIDE_64_sys_madvise -SC_TRACE_EVENT(sys_madvise, +SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), @@ -624,7 +624,7 @@ SC_TRACE_EVENT(sys_madvise, ) #endif #ifndef OVERRIDE_64_sys_shmget -SC_TRACE_EVENT(sys_shmget, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmget, TP_PROTO(key_t key, size_t size, int shmflg), TP_ARGS(key, size, shmflg), TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), @@ -633,7 +633,7 @@ SC_TRACE_EVENT(sys_shmget, ) #endif #ifndef OVERRIDE_64_sys_socket -SC_TRACE_EVENT(sys_socket, +SC_LTTNG_TRACEPOINT_EVENT(sys_socket, TP_PROTO(int family, int type, int protocol), TP_ARGS(family, type, protocol), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), @@ -642,7 +642,7 @@ SC_TRACE_EVENT(sys_socket, ) #endif #ifndef OVERRIDE_64_sys_semget -SC_TRACE_EVENT(sys_semget, +SC_LTTNG_TRACEPOINT_EVENT(sys_semget, TP_PROTO(key_t key, int nsems, int semflg), TP_ARGS(key, nsems, semflg), TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), @@ -651,7 +651,7 @@ SC_TRACE_EVENT(sys_semget, ) #endif #ifndef OVERRIDE_64_sys_fchown -SC_TRACE_EVENT(sys_fchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), @@ -660,7 +660,7 @@ SC_TRACE_EVENT(sys_fchown, ) #endif #ifndef OVERRIDE_64_sys_setresuid -SC_TRACE_EVENT(sys_setresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), @@ -669,7 +669,7 @@ SC_TRACE_EVENT(sys_setresuid, ) #endif #ifndef OVERRIDE_64_sys_setresgid -SC_TRACE_EVENT(sys_setresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), @@ -678,7 +678,7 @@ SC_TRACE_EVENT(sys_setresgid, ) #endif #ifndef OVERRIDE_64_sys_sysfs -SC_TRACE_EVENT(sys_sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), @@ -687,7 +687,7 @@ SC_TRACE_EVENT(sys_sysfs, ) #endif #ifndef OVERRIDE_64_sys_setpriority -SC_TRACE_EVENT(sys_setpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), @@ -696,7 +696,7 @@ SC_TRACE_EVENT(sys_setpriority, ) #endif #ifndef OVERRIDE_64_sys_cacheflush -SC_TRACE_EVENT(sys_cacheflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_cacheflush, TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), TP_ARGS(addr, bytes, cache), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), @@ -705,7 +705,7 @@ SC_TRACE_EVENT(sys_cacheflush, ) #endif #ifndef OVERRIDE_64_sys_tgkill -SC_TRACE_EVENT(sys_tgkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), @@ -714,7 +714,7 @@ SC_TRACE_EVENT(sys_tgkill, ) #endif #ifndef OVERRIDE_64_sys_ioprio_set -SC_TRACE_EVENT(sys_ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), @@ -723,7 +723,7 @@ SC_TRACE_EVENT(sys_ioprio_set, ) #endif #ifndef OVERRIDE_64_sys_dup3 -SC_TRACE_EVENT(sys_dup3, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), @@ -732,7 +732,7 @@ SC_TRACE_EVENT(sys_dup3, ) #endif #ifndef OVERRIDE_64_sys_32_ftruncate64 -SC_TRACE_EVENT(sys_32_ftruncate64, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_ftruncate64, TP_PROTO(unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), TP_ARGS(fd, __dummy, a2, a3), TP_STRUCT__entry(__field(unsigned long, fd) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), @@ -741,7 +741,7 @@ SC_TRACE_EVENT(sys_32_ftruncate64, ) #endif #ifndef OVERRIDE_64_sys_ptrace -SC_TRACE_EVENT(sys_ptrace, +SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(request, pid, addr, data), TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), @@ -750,7 +750,7 @@ SC_TRACE_EVENT(sys_ptrace, ) #endif #ifndef OVERRIDE_64_sys_n32_semctl -SC_TRACE_EVENT(sys_n32_semctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_n32_semctl, TP_PROTO(int semid, int semnum, int cmd, u32 arg), TP_ARGS(semid, semnum, cmd, arg), TP_STRUCT__entry(__field(int, semid) __field(int, semnum) __field(int, cmd) __field(u32, arg)), @@ -759,7 +759,7 @@ SC_TRACE_EVENT(sys_n32_semctl, ) #endif #ifndef OVERRIDE_64_sys_n32_msgsnd -SC_TRACE_EVENT(sys_n32_msgsnd, +SC_LTTNG_TRACEPOINT_EVENT(sys_n32_msgsnd, TP_PROTO(int msqid, u32 msgp, unsigned int msgsz, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgflg), TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(unsigned int, msgsz) __field(int, msgflg)), @@ -768,7 +768,7 @@ SC_TRACE_EVENT(sys_n32_msgsnd, ) #endif #ifndef OVERRIDE_64_sys_tee -SC_TRACE_EVENT(sys_tee, +SC_LTTNG_TRACEPOINT_EVENT(sys_tee, TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(fdin, fdout, len, flags), TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), @@ -777,7 +777,7 @@ SC_TRACE_EVENT(sys_tee, ) #endif #ifndef OVERRIDE_64_sys_mremap -SC_TRACE_EVENT(sys_mremap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), @@ -786,7 +786,7 @@ SC_TRACE_EVENT(sys_mremap, ) #endif #ifndef OVERRIDE_64_sys_n32_msgrcv -SC_TRACE_EVENT(sys_n32_msgrcv, +SC_LTTNG_TRACEPOINT_EVENT(sys_n32_msgrcv, TP_PROTO(int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(size_t, msgsz) __field(int, msgtyp) __field(int, msgflg)), @@ -795,7 +795,7 @@ SC_TRACE_EVENT(sys_n32_msgrcv, ) #endif #ifndef OVERRIDE_64_sys_prctl -SC_TRACE_EVENT(sys_prctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), @@ -804,7 +804,7 @@ SC_TRACE_EVENT(sys_prctl, ) #endif #ifndef OVERRIDE_64_sys_remap_file_pages -SC_TRACE_EVENT(sys_remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(start, size, prot, pgoff, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), @@ -813,7 +813,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, ) #endif #ifndef OVERRIDE_64_sys_32_ipc -SC_TRACE_EVENT(sys_32_ipc, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_ipc, TP_PROTO(u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), TP_ARGS(call, first, second, third, ptr, fifth), TP_STRUCT__entry(__field(u32, call) __field(long, first) __field(long, second) __field(long, third) __field_hex(unsigned long, ptr) __field(unsigned long, fifth)), @@ -822,7 +822,7 @@ SC_TRACE_EVENT(sys_32_ipc, ) #endif #ifndef OVERRIDE_64_sys_mips_mmap2 -SC_TRACE_EVENT(sys_mips_mmap2, +SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap2, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), TP_ARGS(addr, len, prot, flags, fd, pgoff), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(unsigned long, pgoff)), @@ -831,7 +831,7 @@ SC_TRACE_EVENT(sys_mips_mmap2, ) #endif #ifndef OVERRIDE_64_sys_mips_mmap -SC_TRACE_EVENT(sys_mips_mmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mips_mmap, TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), TP_ARGS(addr, len, prot, flags, fd, offset), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h index bc7dddc6..2c5e1ef8 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_64_sys_oldumount -SC_TRACE_EVENT(sys_oldumount, +SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, TP_PROTO(char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(sys_oldumount, ) #endif #ifndef OVERRIDE_64_sys_olduname -SC_TRACE_EVENT(sys_olduname, +SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, TP_PROTO(struct oldold_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(sys_olduname, ) #endif #ifndef OVERRIDE_64_sys_uselib -SC_TRACE_EVENT(sys_uselib, +SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), TP_STRUCT__entry(__field_hex(const char *, library)), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(sys_uselib, ) #endif #ifndef OVERRIDE_64_sys_uname -SC_TRACE_EVENT(sys_uname, +SC_LTTNG_TRACEPOINT_EVENT(sys_uname, TP_PROTO(struct old_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(sys_uname, ) #endif #ifndef OVERRIDE_64_sys_sysinfo -SC_TRACE_EVENT(sys_sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(sys_sysinfo, ) #endif #ifndef OVERRIDE_64_sys_times -SC_TRACE_EVENT(sys_times, +SC_LTTNG_TRACEPOINT_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(sys_times, ) #endif #ifndef OVERRIDE_64_sys_sysctl -SC_TRACE_EVENT(sys_sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sys_sysctl, ) #endif #ifndef OVERRIDE_64_sys_adjtimex -SC_TRACE_EVENT(sys_adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(sys_adjtimex, ) #endif #ifndef OVERRIDE_64_sys_newuname -SC_TRACE_EVENT(sys_newuname, +SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sys_newuname, ) #endif #ifndef OVERRIDE_64_sys_shmdt -SC_TRACE_EVENT(sys_shmdt, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmdt, TP_PROTO(char * shmaddr), TP_ARGS(shmaddr), TP_STRUCT__entry(__field_hex(char *, shmaddr)), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(sys_shmdt, ) #endif #ifndef OVERRIDE_64_sys_chdir -SC_TRACE_EVENT(sys_chdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(sys_chdir, ) #endif #ifndef OVERRIDE_64_sys_rmdir -SC_TRACE_EVENT(sys_rmdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sys_rmdir, ) #endif #ifndef OVERRIDE_64_sys_unlink -SC_TRACE_EVENT(sys_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(sys_unlink, ) #endif #ifndef OVERRIDE_64_sys_chroot -SC_TRACE_EVENT(sys_chroot, +SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(sys_chroot, ) #endif #ifndef OVERRIDE_64_sys_swapoff -SC_TRACE_EVENT(sys_swapoff, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(sys_swapoff, ) #endif #ifndef OVERRIDE_64_sys_set_tid_address -SC_TRACE_EVENT(sys_set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), TP_STRUCT__entry(__field_hex(int *, tidptr)), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(sys_set_tid_address, ) #endif #ifndef OVERRIDE_64_sys_nanosleep -SC_TRACE_EVENT(sys_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(sys_nanosleep, ) #endif #ifndef OVERRIDE_64_sys_getitimer -SC_TRACE_EVENT(sys_getitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sys_getitimer, ) #endif #ifndef OVERRIDE_64_sys_gettimeofday -SC_TRACE_EVENT(sys_gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(sys_gettimeofday, ) #endif #ifndef OVERRIDE_64_sys_getrlimit -SC_TRACE_EVENT(sys_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(sys_getrlimit, ) #endif #ifndef OVERRIDE_64_sys_getrusage -SC_TRACE_EVENT(sys_getrusage, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sys_getrusage, ) #endif #ifndef OVERRIDE_64_sys_rt_sigpending -SC_TRACE_EVENT(sys_rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * set, size_t sigsetsize), TP_ARGS(set, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, ) #endif #ifndef OVERRIDE_64_sys_utime -SC_TRACE_EVENT(sys_utime, +SC_LTTNG_TRACEPOINT_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(sys_utime, ) #endif #ifndef OVERRIDE_64_sys_ustat -SC_TRACE_EVENT(sys_ustat, +SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(sys_ustat, ) #endif #ifndef OVERRIDE_64_sys_statfs -SC_TRACE_EVENT(sys_statfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(sys_statfs, ) #endif #ifndef OVERRIDE_64_sys_fstatfs -SC_TRACE_EVENT(sys_fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(sys_fstatfs, ) #endif #ifndef OVERRIDE_64_sys_sched_rr_get_interval -SC_TRACE_EVENT(sys_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_64_sys_setrlimit -SC_TRACE_EVENT(sys_setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(sys_setrlimit, ) #endif #ifndef OVERRIDE_64_sys_settimeofday -SC_TRACE_EVENT(sys_settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(sys_settimeofday, ) #endif #ifndef OVERRIDE_64_sys_io_setup -SC_TRACE_EVENT(sys_io_setup, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(sys_io_setup, ) #endif #ifndef OVERRIDE_64_sys_timer_gettime -SC_TRACE_EVENT(sys_timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(sys_timer_gettime, ) #endif #ifndef OVERRIDE_64_sys_clock_settime -SC_TRACE_EVENT(sys_clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(sys_clock_settime, ) #endif #ifndef OVERRIDE_64_sys_clock_gettime -SC_TRACE_EVENT(sys_clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(sys_clock_gettime, ) #endif #ifndef OVERRIDE_64_sys_clock_getres -SC_TRACE_EVENT(sys_clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(sys_clock_getres, ) #endif #ifndef OVERRIDE_64_sys_utimes -SC_TRACE_EVENT(sys_utimes, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sys_utimes, ) #endif #ifndef OVERRIDE_64_sys_set_robust_list -SC_TRACE_EVENT(sys_set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(sys_set_robust_list, ) #endif #ifndef OVERRIDE_64_sys_timerfd_gettime -SC_TRACE_EVENT(sys_timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, ) #endif #ifndef OVERRIDE_64_sys_clock_adjtime -SC_TRACE_EVENT(sys_clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, ) #endif #ifndef OVERRIDE_64_sys_newstat -SC_TRACE_EVENT(sys_newstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(sys_newstat, ) #endif #ifndef OVERRIDE_64_sys_newfstat -SC_TRACE_EVENT(sys_newfstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(sys_newfstat, ) #endif #ifndef OVERRIDE_64_sys_newlstat -SC_TRACE_EVENT(sys_newlstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(sys_newlstat, ) #endif #ifndef OVERRIDE_64_sys_access -SC_TRACE_EVENT(sys_access, +SC_LTTNG_TRACEPOINT_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(sys_access, ) #endif #ifndef OVERRIDE_64_sys_truncate -SC_TRACE_EVENT(sys_truncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sys_truncate, ) #endif #ifndef OVERRIDE_64_sys_getcwd -SC_TRACE_EVENT(sys_getcwd, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sys_getcwd, ) #endif #ifndef OVERRIDE_64_sys_rename -SC_TRACE_EVENT(sys_rename, +SC_LTTNG_TRACEPOINT_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sys_rename, ) #endif #ifndef OVERRIDE_64_sys_mkdir -SC_TRACE_EVENT(sys_mkdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(sys_mkdir, ) #endif #ifndef OVERRIDE_64_sys_creat -SC_TRACE_EVENT(sys_creat, +SC_LTTNG_TRACEPOINT_EVENT(sys_creat, TP_PROTO(const char * pathname, umode_t mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(sys_creat, ) #endif #ifndef OVERRIDE_64_sys_link -SC_TRACE_EVENT(sys_link, +SC_LTTNG_TRACEPOINT_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(sys_link, ) #endif #ifndef OVERRIDE_64_sys_symlink -SC_TRACE_EVENT(sys_symlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(sys_symlink, ) #endif #ifndef OVERRIDE_64_sys_chmod -SC_TRACE_EVENT(sys_chmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, TP_PROTO(const char * filename, umode_t mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(sys_chmod, ) #endif #ifndef OVERRIDE_64_sys_getgroups -SC_TRACE_EVENT(sys_getgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sys_getgroups, ) #endif #ifndef OVERRIDE_64_sys_setgroups -SC_TRACE_EVENT(sys_setgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(sys_setgroups, ) #endif #ifndef OVERRIDE_64_sys_32_rt_sigpending -SC_TRACE_EVENT(sys_32_rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigpending, TP_PROTO(compat_sigset_t * uset, unsigned int sigsetsize), TP_ARGS(uset, sigsetsize), TP_STRUCT__entry(__field_hex(compat_sigset_t *, uset) __field(unsigned int, sigsetsize)), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(sys_32_rt_sigpending, ) #endif #ifndef OVERRIDE_64_sys_sched_setparam -SC_TRACE_EVENT(sys_sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(sys_sched_setparam, ) #endif #ifndef OVERRIDE_64_sys_sched_getparam -SC_TRACE_EVENT(sys_sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(sys_sched_getparam, ) #endif #ifndef OVERRIDE_64_sys_32_sched_rr_get_interval -SC_TRACE_EVENT(sys_32_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_sched_rr_get_interval, TP_PROTO(compat_pid_t pid, struct compat_timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(compat_pid_t, pid) __field_hex(struct compat_timespec *, interval)), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sys_32_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_64_sys_pivot_root -SC_TRACE_EVENT(sys_pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sys_pivot_root, ) #endif #ifndef OVERRIDE_64_sys_umount -SC_TRACE_EVENT(sys_umount, +SC_LTTNG_TRACEPOINT_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sys_umount, ) #endif #ifndef OVERRIDE_64_sys_swapon -SC_TRACE_EVENT(sys_swapon, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(sys_swapon, ) #endif #ifndef OVERRIDE_64_sys_sethostname -SC_TRACE_EVENT(sys_sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(sys_sethostname, ) #endif #ifndef OVERRIDE_64_sys_setdomainname -SC_TRACE_EVENT(sys_setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(sys_setdomainname, ) #endif #ifndef OVERRIDE_64_sys_delete_module -SC_TRACE_EVENT(sys_delete_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(sys_delete_module, ) #endif #ifndef OVERRIDE_64_sys_removexattr -SC_TRACE_EVENT(sys_removexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(sys_removexattr, ) #endif #ifndef OVERRIDE_64_sys_lremovexattr -SC_TRACE_EVENT(sys_lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(sys_lremovexattr, ) #endif #ifndef OVERRIDE_64_sys_fremovexattr -SC_TRACE_EVENT(sys_fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(sys_fremovexattr, ) #endif #ifndef OVERRIDE_64_sys_pipe2 -SC_TRACE_EVENT(sys_pipe2, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(sys_pipe2, ) #endif #ifndef OVERRIDE_64_sys_waitpid -SC_TRACE_EVENT(sys_waitpid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, TP_PROTO(pid_t pid, int * stat_addr, int options), TP_ARGS(pid, stat_addr, options), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(sys_waitpid, ) #endif #ifndef OVERRIDE_64_sys_32_sigaction -SC_TRACE_EVENT(sys_32_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_sigaction, TP_PROTO(long sig, const struct sigaction32 * act, struct sigaction32 * oact), TP_ARGS(sig, act, oact), TP_STRUCT__entry(__field(long, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact)), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(sys_32_sigaction, ) #endif #ifndef OVERRIDE_64_sys_readv -SC_TRACE_EVENT(sys_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(sys_readv, ) #endif #ifndef OVERRIDE_64_sys_writev -SC_TRACE_EVENT(sys_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(sys_writev, ) #endif #ifndef OVERRIDE_64_sys_shmctl -SC_TRACE_EVENT(sys_shmctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmctl, TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), TP_ARGS(shmid, cmd, buf), TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(sys_shmctl, ) #endif #ifndef OVERRIDE_64_sys_setitimer -SC_TRACE_EVENT(sys_setitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(sys_setitimer, ) #endif #ifndef OVERRIDE_64_sys_sendmsg -SC_TRACE_EVENT(sys_sendmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(sys_sendmsg, ) #endif #ifndef OVERRIDE_64_sys_recvmsg -SC_TRACE_EVENT(sys_recvmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(sys_recvmsg, ) #endif #ifndef OVERRIDE_64_sys_msgctl -SC_TRACE_EVENT(sys_msgctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgctl, TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), TP_ARGS(msqid, cmd, buf), TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(sys_msgctl, ) #endif #ifndef OVERRIDE_64_sys_getdents -SC_TRACE_EVENT(sys_getdents, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(sys_getdents, ) #endif #ifndef OVERRIDE_64_sys_rt_sigqueueinfo -SC_TRACE_EVENT(sys_rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_64_sys_sched_setaffinity -SC_TRACE_EVENT(sys_sched_setaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(sys_sched_setaffinity, ) #endif #ifndef OVERRIDE_64_sys_sched_getaffinity -SC_TRACE_EVENT(sys_sched_getaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(sys_sched_getaffinity, ) #endif #ifndef OVERRIDE_64_sys_io_submit -SC_TRACE_EVENT(sys_io_submit, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(sys_io_submit, ) #endif #ifndef OVERRIDE_64_sys_timer_create -SC_TRACE_EVENT(sys_timer_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(sys_timer_create, ) #endif #ifndef OVERRIDE_64_sys_futimesat -SC_TRACE_EVENT(sys_futimesat, +SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(sys_futimesat, ) #endif #ifndef OVERRIDE_64_sys_get_robust_list -SC_TRACE_EVENT(sys_get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(pid, head_ptr, len_ptr), TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(sys_get_robust_list, ) #endif #ifndef OVERRIDE_64_sys_signalfd -SC_TRACE_EVENT(sys_signalfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(sys_signalfd, ) #endif #ifndef OVERRIDE_64_sys_read -SC_TRACE_EVENT(sys_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(sys_read, ) #endif #ifndef OVERRIDE_64_sys_write -SC_TRACE_EVENT(sys_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(sys_write, ) #endif #ifndef OVERRIDE_64_sys_open -SC_TRACE_EVENT(sys_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_open, TP_PROTO(const char * filename, int flags, umode_t mode), TP_ARGS(filename, flags, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(sys_open, ) #endif #ifndef OVERRIDE_64_sys_poll -SC_TRACE_EVENT(sys_poll, +SC_LTTNG_TRACEPOINT_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(sys_poll, ) #endif #ifndef OVERRIDE_64_sys_mincore -SC_TRACE_EVENT(sys_mincore, +SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(sys_mincore, ) #endif #ifndef OVERRIDE_64_sys_shmat -SC_TRACE_EVENT(sys_shmat, +SC_LTTNG_TRACEPOINT_EVENT(sys_shmat, TP_PROTO(int shmid, char * shmaddr, int shmflg), TP_ARGS(shmid, shmaddr, shmflg), TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(sys_shmat, ) #endif #ifndef OVERRIDE_64_sys_connect -SC_TRACE_EVENT(sys_connect, +SC_LTTNG_TRACEPOINT_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(sys_connect, ) #endif #ifndef OVERRIDE_64_sys_accept -SC_TRACE_EVENT(sys_accept, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(sys_accept, ) #endif #ifndef OVERRIDE_64_sys_bind -SC_TRACE_EVENT(sys_bind, +SC_LTTNG_TRACEPOINT_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(sys_bind, ) #endif #ifndef OVERRIDE_64_sys_getsockname -SC_TRACE_EVENT(sys_getsockname, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(sys_getsockname, ) #endif #ifndef OVERRIDE_64_sys_getpeername -SC_TRACE_EVENT(sys_getpeername, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(sys_getpeername, ) #endif #ifndef OVERRIDE_64_sys_semop -SC_TRACE_EVENT(sys_semop, +SC_LTTNG_TRACEPOINT_EVENT(sys_semop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), TP_ARGS(semid, tsops, nsops), TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(sys_semop, ) #endif #ifndef OVERRIDE_64_sys_readlink -SC_TRACE_EVENT(sys_readlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(sys_readlink, ) #endif #ifndef OVERRIDE_64_sys_chown -SC_TRACE_EVENT(sys_chown, +SC_LTTNG_TRACEPOINT_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(sys_chown, ) #endif #ifndef OVERRIDE_64_sys_lchown -SC_TRACE_EVENT(sys_lchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(sys_lchown, ) #endif #ifndef OVERRIDE_64_sys_syslog -SC_TRACE_EVENT(sys_syslog, +SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(sys_syslog, ) #endif #ifndef OVERRIDE_64_sys_getresuid -SC_TRACE_EVENT(sys_getresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), TP_ARGS(ruidp, euidp, suidp), TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(sys_getresuid, ) #endif #ifndef OVERRIDE_64_sys_getresgid -SC_TRACE_EVENT(sys_getresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), TP_ARGS(rgidp, egidp, sgidp), TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(sys_getresgid, ) #endif #ifndef OVERRIDE_64_sys_32_rt_sigqueueinfo -SC_TRACE_EVENT(sys_32_rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigqueueinfo, TP_PROTO(int pid, int sig, compat_siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), TP_STRUCT__entry(__field(int, pid) __field(int, sig) __field_hex(compat_siginfo_t *, uinfo)), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(sys_32_rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_64_sys_mknod -SC_TRACE_EVENT(sys_mknod, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, TP_PROTO(const char * filename, umode_t mode, unsigned dev), TP_ARGS(filename, mode, dev), TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(sys_mknod, ) #endif #ifndef OVERRIDE_64_sys_sched_setscheduler -SC_TRACE_EVENT(sys_sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, ) #endif #ifndef OVERRIDE_64_sys_init_module -SC_TRACE_EVENT(sys_init_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(sys_init_module, ) #endif #ifndef OVERRIDE_64_sys_listxattr -SC_TRACE_EVENT(sys_listxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(sys_listxattr, ) #endif #ifndef OVERRIDE_64_sys_llistxattr -SC_TRACE_EVENT(sys_llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(sys_llistxattr, ) #endif #ifndef OVERRIDE_64_sys_flistxattr -SC_TRACE_EVENT(sys_flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(sys_flistxattr, ) #endif #ifndef OVERRIDE_64_sys_cachectl -SC_TRACE_EVENT(sys_cachectl, +SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, TP_PROTO(char * addr, int nbytes, int op), TP_ARGS(addr, nbytes, op), TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(sys_cachectl, ) #endif #ifndef OVERRIDE_64_sys_io_cancel -SC_TRACE_EVENT(sys_io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(sys_io_cancel, ) #endif #ifndef OVERRIDE_64_sys_inotify_add_watch -SC_TRACE_EVENT(sys_inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, ) #endif #ifndef OVERRIDE_64_sys_mkdirat -SC_TRACE_EVENT(sys_mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, umode_t mode), TP_ARGS(dfd, pathname, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(sys_mkdirat, ) #endif #ifndef OVERRIDE_64_sys_unlinkat -SC_TRACE_EVENT(sys_unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(sys_unlinkat, ) #endif #ifndef OVERRIDE_64_sys_symlinkat -SC_TRACE_EVENT(sys_symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(sys_symlinkat, ) #endif #ifndef OVERRIDE_64_sys_fchmodat -SC_TRACE_EVENT(sys_fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, umode_t mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(sys_fchmodat, ) #endif #ifndef OVERRIDE_64_sys_faccessat -SC_TRACE_EVENT(sys_faccessat, +SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(sys_faccessat, ) #endif #ifndef OVERRIDE_64_sys_getcpu -SC_TRACE_EVENT(sys_getcpu, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(cpup, nodep, unused), TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(sys_getcpu, ) #endif #ifndef OVERRIDE_64_sys_getdents64 -SC_TRACE_EVENT(sys_getdents64, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(sys_getdents64, ) #endif #ifndef OVERRIDE_64_sys_send -SC_TRACE_EVENT(sys_send, +SC_LTTNG_TRACEPOINT_EVENT(sys_send, TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), TP_ARGS(fd, buff, len, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(sys_send, ) #endif #ifndef OVERRIDE_64_sys_32_truncate64 -SC_TRACE_EVENT(sys_32_truncate64, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_truncate64, TP_PROTO(const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), TP_ARGS(path, __dummy, a2, a3), TP_STRUCT__entry(__string_from_user(path, path) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(sys_32_truncate64, ) #endif #ifndef OVERRIDE_64_sys_rt_sigaction -SC_TRACE_EVENT(sys_rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, ) #endif #ifndef OVERRIDE_64_sys_rt_sigprocmask -SC_TRACE_EVENT(sys_rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, ) #endif #ifndef OVERRIDE_64_sys_wait4 -SC_TRACE_EVENT(sys_wait4, +SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(sys_wait4, ) #endif #ifndef OVERRIDE_64_sys_msgsnd -SC_TRACE_EVENT(sys_msgsnd, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgsnd, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgflg), TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(sys_msgsnd, ) #endif #ifndef OVERRIDE_64_sys_rt_sigtimedwait -SC_TRACE_EVENT(sys_rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, ) #endif #ifndef OVERRIDE_64_sys_semtimedop -SC_TRACE_EVENT(sys_semtimedop, +SC_LTTNG_TRACEPOINT_EVENT(sys_semtimedop, TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), TP_ARGS(semid, tsops, nsops, timeout), TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(sys_semtimedop, ) #endif #ifndef OVERRIDE_64_sys_timer_settime -SC_TRACE_EVENT(sys_timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(sys_timer_settime, ) #endif #ifndef OVERRIDE_64_sys_clock_nanosleep -SC_TRACE_EVENT(sys_clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, ) #endif #ifndef OVERRIDE_64_sys_vmsplice -SC_TRACE_EVENT(sys_vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(fd, iov, nr_segs, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(sys_vmsplice, ) #endif #ifndef OVERRIDE_64_sys_utimensat -SC_TRACE_EVENT(sys_utimensat, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(sys_utimensat, ) #endif #ifndef OVERRIDE_64_sys_timerfd_settime -SC_TRACE_EVENT(sys_timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, ) #endif #ifndef OVERRIDE_64_sys_rt_tgsigqueueinfo -SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_64_sys_sendmmsg -SC_TRACE_EVENT(sys_sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(sys_sendmmsg, ) #endif #ifndef OVERRIDE_64_sys_32_rt_sigaction -SC_TRACE_EVENT(sys_32_rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigaction, TP_PROTO(int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact) __field(unsigned int, sigsetsize)), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(sys_32_rt_sigaction, ) #endif #ifndef OVERRIDE_64_sys_32_rt_sigprocmask -SC_TRACE_EVENT(sys_32_rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_rt_sigprocmask, TP_PROTO(int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), TP_ARGS(how, set, oset, sigsetsize), TP_STRUCT__entry(__field(int, how) __field_hex(compat_sigset_t *, set) __field_hex(compat_sigset_t *, oset) __field(unsigned int, sigsetsize)), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(sys_32_rt_sigprocmask, ) #endif #ifndef OVERRIDE_64_sys_32_sendfile -SC_TRACE_EVENT(sys_32_sendfile, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_sendfile, TP_PROTO(long out_fd, long in_fd, compat_off_t * offset, s32 count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(long, out_fd) __field(long, in_fd) __field_hex(compat_off_t *, offset) __field(s32, count)), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(sys_32_sendfile, ) #endif #ifndef OVERRIDE_64_sys_socketpair -SC_TRACE_EVENT(sys_socketpair, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, TP_PROTO(int family, int type, int protocol, int * usockvec), TP_ARGS(family, type, protocol, usockvec), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(sys_socketpair, ) #endif #ifndef OVERRIDE_64_sys_reboot -SC_TRACE_EVENT(sys_reboot, +SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(sys_reboot, ) #endif #ifndef OVERRIDE_64_sys_quotactl -SC_TRACE_EVENT(sys_quotactl, +SC_LTTNG_TRACEPOINT_EVENT(sys_quotactl, TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(cmd, special, id, addr), TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(sys_quotactl, ) #endif #ifndef OVERRIDE_64_sys_getxattr -SC_TRACE_EVENT(sys_getxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(sys_getxattr, ) #endif #ifndef OVERRIDE_64_sys_lgetxattr -SC_TRACE_EVENT(sys_lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(sys_lgetxattr, ) #endif #ifndef OVERRIDE_64_sys_fgetxattr -SC_TRACE_EVENT(sys_fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(sys_fgetxattr, ) #endif #ifndef OVERRIDE_64_sys_epoll_ctl -SC_TRACE_EVENT(sys_epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, ) #endif #ifndef OVERRIDE_64_sys_epoll_wait -SC_TRACE_EVENT(sys_epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(sys_epoll_wait, ) #endif #ifndef OVERRIDE_64_sys_sendfile64 -SC_TRACE_EVENT(sys_sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(sys_sendfile64, ) #endif #ifndef OVERRIDE_64_sys_openat -SC_TRACE_EVENT(sys_openat, +SC_LTTNG_TRACEPOINT_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), TP_ARGS(dfd, filename, flags, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(sys_openat, ) #endif #ifndef OVERRIDE_64_sys_mknodat -SC_TRACE_EVENT(sys_mknodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(sys_mknodat, ) #endif #ifndef OVERRIDE_64_sys_newfstatat -SC_TRACE_EVENT(sys_newfstatat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstatat, TP_PROTO(int dfd, const char * filename, struct stat * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat *, statbuf) __field(int, flag)), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(sys_newfstatat, ) #endif #ifndef OVERRIDE_64_sys_renameat -SC_TRACE_EVENT(sys_renameat, +SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(sys_renameat, ) #endif #ifndef OVERRIDE_64_sys_readlinkat -SC_TRACE_EVENT(sys_readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(sys_readlinkat, ) #endif #ifndef OVERRIDE_64_sys_signalfd4 -SC_TRACE_EVENT(sys_signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(sys_signalfd4, ) #endif #ifndef OVERRIDE_64_sys_accept4 -SC_TRACE_EVENT(sys_accept4, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(sys_accept4, ) #endif #ifndef OVERRIDE_64_sys_prlimit64 -SC_TRACE_EVENT(sys_prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(sys_prlimit64, ) #endif #ifndef OVERRIDE_64_sys_32_llseek -SC_TRACE_EVENT(sys_32_llseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_llseek, TP_PROTO(unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), TP_ARGS(fd, offset_high, offset_low, result, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, offset_high) __field(unsigned int, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(sys_32_llseek, ) #endif #ifndef OVERRIDE_64_sys_32_waitid -SC_TRACE_EVENT(sys_32_waitid, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_waitid, TP_PROTO(int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), TP_ARGS(which, pid, uinfo, options, uru), TP_STRUCT__entry(__field(int, which) __field(compat_pid_t, pid) __field_hex(compat_siginfo_t *, uinfo) __field(int, options) __field_hex(struct compat_rusage *, uru)), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(sys_32_waitid, ) #endif #ifndef OVERRIDE_64_sys_select -SC_TRACE_EVENT(sys_select, +SC_LTTNG_TRACEPOINT_EVENT(sys_select, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(n, inp, outp, exp, tvp), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(sys_select, ) #endif #ifndef OVERRIDE_64_sys_setsockopt -SC_TRACE_EVENT(sys_setsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(sys_setsockopt, ) #endif #ifndef OVERRIDE_64_sys_msgrcv -SC_TRACE_EVENT(sys_msgrcv, +SC_LTTNG_TRACEPOINT_EVENT(sys_msgrcv, TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(sys_msgrcv, ) #endif #ifndef OVERRIDE_64_sys_mount -SC_TRACE_EVENT(sys_mount, +SC_LTTNG_TRACEPOINT_EVENT(sys_mount, TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(dev_name, dir_name, type, flags, data), TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(sys_mount, ) #endif #ifndef OVERRIDE_64_sys_io_getevents -SC_TRACE_EVENT(sys_io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(sys_io_getevents, ) #endif #ifndef OVERRIDE_64_sys_waitid -SC_TRACE_EVENT(sys_waitid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(which, upid, infop, options, ru), TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(sys_waitid, ) #endif #ifndef OVERRIDE_64_sys_ppoll -SC_TRACE_EVENT(sys_ppoll, +SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(sys_ppoll, ) #endif #ifndef OVERRIDE_64_sys_recvmmsg -SC_TRACE_EVENT(sys_recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(sys_recvmmsg, ) #endif #ifndef OVERRIDE_64_sys_getsockopt -SC_TRACE_EVENT(sys_getsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(sys_getsockopt, ) #endif #ifndef OVERRIDE_64_sys_setxattr -SC_TRACE_EVENT(sys_setxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(sys_setxattr, ) #endif #ifndef OVERRIDE_64_sys_lsetxattr -SC_TRACE_EVENT(sys_lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(sys_lsetxattr, ) #endif #ifndef OVERRIDE_64_sys_fsetxattr -SC_TRACE_EVENT(sys_fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(fd, name, value, size, flags), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(sys_fsetxattr, ) #endif #ifndef OVERRIDE_64_sys_fchownat -SC_TRACE_EVENT(sys_fchownat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(dfd, filename, user, group, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(sys_fchownat, ) #endif #ifndef OVERRIDE_64_sys_linkat -SC_TRACE_EVENT(sys_linkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(sys_linkat, ) #endif #ifndef OVERRIDE_64_sys_preadv -SC_TRACE_EVENT(sys_preadv, +SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(sys_preadv, ) #endif #ifndef OVERRIDE_64_sys_pwritev -SC_TRACE_EVENT(sys_pwritev, +SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(sys_pwritev, ) #endif #ifndef OVERRIDE_64_sys_32_pread -SC_TRACE_EVENT(sys_32_pread, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_pread, TP_PROTO(unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), TP_ARGS(fd, buf, count, unused, a4, a5), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(char *, buf) __field(size_t, count) __field(unsigned long, unused) __field(unsigned long, a4) __field(unsigned long, a5)), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(sys_32_pread, ) #endif #ifndef OVERRIDE_64_sys_32_pwrite -SC_TRACE_EVENT(sys_32_pwrite, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_pwrite, TP_PROTO(unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), TP_ARGS(fd, buf, count, unused, a4, a5), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(u32, unused) __field(u64, a4) __field(u64, a5)), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(sys_32_pwrite, ) #endif #ifndef OVERRIDE_64_sys_32_fanotify_mark -SC_TRACE_EVENT(sys_32_fanotify_mark, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_fanotify_mark, TP_PROTO(int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), TP_ARGS(fanotify_fd, flags, a3, a4, dfd, pathname), TP_STRUCT__entry(__field(int, fanotify_fd) __field(unsigned int, flags) __field(u64, a3) __field(u64, a4) __field(int, dfd) __string_from_user(pathname, pathname)), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(sys_32_fanotify_mark, ) #endif #ifndef OVERRIDE_64_sys_recvfrom -SC_TRACE_EVENT(sys_recvfrom, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), TP_ARGS(fd, ubuf, size, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(sys_recvfrom, ) #endif #ifndef OVERRIDE_64_sys_futex -SC_TRACE_EVENT(sys_futex, +SC_LTTNG_TRACEPOINT_EVENT(sys_futex, TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(sys_futex, ) #endif #ifndef OVERRIDE_64_sys_pselect6 -SC_TRACE_EVENT(sys_pselect6, +SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(sys_pselect6, ) #endif #ifndef OVERRIDE_64_sys_epoll_pwait -SC_TRACE_EVENT(sys_epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(sys_epoll_pwait, ) #endif #ifndef OVERRIDE_64_sys_process_vm_readv -SC_TRACE_EVENT(sys_process_vm_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_readv, TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), @@ -1630,7 +1630,7 @@ SC_TRACE_EVENT(sys_process_vm_readv, ) #endif #ifndef OVERRIDE_64_sys_process_vm_writev -SC_TRACE_EVENT(sys_process_vm_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_process_vm_writev, TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), @@ -1639,7 +1639,7 @@ SC_TRACE_EVENT(sys_process_vm_writev, ) #endif #ifndef OVERRIDE_64_sys_sendto -SC_TRACE_EVENT(sys_sendto, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), TP_ARGS(fd, buff, len, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), @@ -1648,7 +1648,7 @@ SC_TRACE_EVENT(sys_sendto, ) #endif #ifndef OVERRIDE_64_sys_32_futex -SC_TRACE_EVENT(sys_32_futex, +SC_LTTNG_TRACEPOINT_EVENT(sys_32_futex, TP_PROTO(u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct compat_timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), @@ -1657,7 +1657,7 @@ SC_TRACE_EVENT(sys_32_futex, ) #endif #ifndef OVERRIDE_64_sys_splice -SC_TRACE_EVENT(sys_splice, +SC_LTTNG_TRACEPOINT_EVENT(sys_splice, TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h index 5bf0573d..19f0a300 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h @@ -9,64 +9,64 @@ #include "powerpc-32-syscalls-3.0.34_integers_override.h" #include "syscalls_integers_override.h" -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_32_sys_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_restart_syscall) #endif #ifndef OVERRIDE_32_sys_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpid) #endif #ifndef OVERRIDE_32_sys_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getuid) #endif #ifndef OVERRIDE_32_sys_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_pause) #endif #ifndef OVERRIDE_32_sys_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sync) #endif #ifndef OVERRIDE_32_sys_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getgid) #endif #ifndef OVERRIDE_32_sys_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_geteuid) #endif #ifndef OVERRIDE_32_sys_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getegid) #endif #ifndef OVERRIDE_32_sys_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getppid) #endif #ifndef OVERRIDE_32_sys_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_getpgrp) #endif #ifndef OVERRIDE_32_sys_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_setsid) #endif #ifndef OVERRIDE_32_sys_sgetmask -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sgetmask) #endif #ifndef OVERRIDE_32_sys_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_vhangup) #endif #ifndef OVERRIDE_32_sys_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_munlockall) #endif #ifndef OVERRIDE_32_sys_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_sched_yield) #endif #ifndef OVERRIDE_32_sys_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_gettid) #endif #ifndef OVERRIDE_32_sys_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sys_inotify_init) #endif #ifndef OVERRIDE_32_sys_exit -SC_TRACE_EVENT(sys_exit, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -75,7 +75,7 @@ SC_TRACE_EVENT(sys_exit, ) #endif #ifndef OVERRIDE_32_sys_close -SC_TRACE_EVENT(sys_close, +SC_LTTNG_TRACEPOINT_EVENT(sys_close, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -84,7 +84,7 @@ SC_TRACE_EVENT(sys_close, ) #endif #ifndef OVERRIDE_32_sys_setuid -SC_TRACE_EVENT(sys_setuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -93,7 +93,7 @@ SC_TRACE_EVENT(sys_setuid, ) #endif #ifndef OVERRIDE_32_sys_alarm -SC_TRACE_EVENT(sys_alarm, +SC_LTTNG_TRACEPOINT_EVENT(sys_alarm, TP_PROTO(unsigned int seconds), TP_ARGS(seconds), TP_STRUCT__entry(__field(unsigned int, seconds)), @@ -102,7 +102,7 @@ SC_TRACE_EVENT(sys_alarm, ) #endif #ifndef OVERRIDE_32_sys_nice -SC_TRACE_EVENT(sys_nice, +SC_LTTNG_TRACEPOINT_EVENT(sys_nice, TP_PROTO(int increment), TP_ARGS(increment), TP_STRUCT__entry(__field(int, increment)), @@ -111,7 +111,7 @@ SC_TRACE_EVENT(sys_nice, ) #endif #ifndef OVERRIDE_32_sys_dup -SC_TRACE_EVENT(sys_dup, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup, TP_PROTO(unsigned int fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field(unsigned int, fildes)), @@ -120,7 +120,7 @@ SC_TRACE_EVENT(sys_dup, ) #endif #ifndef OVERRIDE_32_sys_brk -SC_TRACE_EVENT(sys_brk, +SC_LTTNG_TRACEPOINT_EVENT(sys_brk, TP_PROTO(unsigned long brk), TP_ARGS(brk), TP_STRUCT__entry(__field(unsigned long, brk)), @@ -129,7 +129,7 @@ SC_TRACE_EVENT(sys_brk, ) #endif #ifndef OVERRIDE_32_sys_setgid -SC_TRACE_EVENT(sys_setgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -138,7 +138,7 @@ SC_TRACE_EVENT(sys_setgid, ) #endif #ifndef OVERRIDE_32_sys_umask -SC_TRACE_EVENT(sys_umask, +SC_LTTNG_TRACEPOINT_EVENT(sys_umask, TP_PROTO(int mask), TP_ARGS(mask), TP_STRUCT__entry(__field(int, mask)), @@ -147,7 +147,7 @@ SC_TRACE_EVENT(sys_umask, ) #endif #ifndef OVERRIDE_32_sys_ssetmask -SC_TRACE_EVENT(sys_ssetmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_ssetmask, TP_PROTO(int newmask), TP_ARGS(newmask), TP_STRUCT__entry(__field(int, newmask)), @@ -156,7 +156,7 @@ SC_TRACE_EVENT(sys_ssetmask, ) #endif #ifndef OVERRIDE_32_sys_fsync -SC_TRACE_EVENT(sys_fsync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -165,7 +165,7 @@ SC_TRACE_EVENT(sys_fsync, ) #endif #ifndef OVERRIDE_32_sys_getpgid -SC_TRACE_EVENT(sys_getpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpgid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -174,7 +174,7 @@ SC_TRACE_EVENT(sys_getpgid, ) #endif #ifndef OVERRIDE_32_sys_fchdir -SC_TRACE_EVENT(sys_fchdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchdir, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -183,7 +183,7 @@ SC_TRACE_EVENT(sys_fchdir, ) #endif #ifndef OVERRIDE_32_sys_personality -SC_TRACE_EVENT(sys_personality, +SC_LTTNG_TRACEPOINT_EVENT(sys_personality, TP_PROTO(unsigned int personality), TP_ARGS(personality), TP_STRUCT__entry(__field(unsigned int, personality)), @@ -192,7 +192,7 @@ SC_TRACE_EVENT(sys_personality, ) #endif #ifndef OVERRIDE_32_sys_setfsuid -SC_TRACE_EVENT(sys_setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsuid, TP_PROTO(uid_t uid), TP_ARGS(uid), TP_STRUCT__entry(__field(uid_t, uid)), @@ -201,7 +201,7 @@ SC_TRACE_EVENT(sys_setfsuid, ) #endif #ifndef OVERRIDE_32_sys_setfsgid -SC_TRACE_EVENT(sys_setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setfsgid, TP_PROTO(gid_t gid), TP_ARGS(gid), TP_STRUCT__entry(__field(gid_t, gid)), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(sys_setfsgid, ) #endif #ifndef OVERRIDE_32_sys_getsid -SC_TRACE_EVENT(sys_getsid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsid, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(sys_getsid, ) #endif #ifndef OVERRIDE_32_sys_fdatasync -SC_TRACE_EVENT(sys_fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(sys_fdatasync, TP_PROTO(unsigned int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(unsigned int, fd)), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(sys_fdatasync, ) #endif #ifndef OVERRIDE_32_sys_mlockall -SC_TRACE_EVENT(sys_mlockall, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlockall, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(sys_mlockall, ) #endif #ifndef OVERRIDE_32_sys_sched_getscheduler -SC_TRACE_EVENT(sys_sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getscheduler, TP_PROTO(pid_t pid), TP_ARGS(pid), TP_STRUCT__entry(__field(pid_t, pid)), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(sys_sched_getscheduler, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_max -SC_TRACE_EVENT(sys_sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_max, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_max, ) #endif #ifndef OVERRIDE_32_sys_sched_get_priority_min -SC_TRACE_EVENT(sys_sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_get_priority_min, TP_PROTO(int policy), TP_ARGS(policy), TP_STRUCT__entry(__field(int, policy)), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(sys_sched_get_priority_min, ) #endif #ifndef OVERRIDE_32_sys_io_destroy -SC_TRACE_EVENT(sys_io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_destroy, TP_PROTO(aio_context_t ctx), TP_ARGS(ctx), TP_STRUCT__entry(__field(aio_context_t, ctx)), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(sys_io_destroy, ) #endif #ifndef OVERRIDE_32_sys_exit_group -SC_TRACE_EVENT(sys_exit_group, +SC_LTTNG_TRACEPOINT_EVENT(sys_exit_group, TP_PROTO(int error_code), TP_ARGS(error_code), TP_STRUCT__entry(__field(int, error_code)), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(sys_exit_group, ) #endif #ifndef OVERRIDE_32_sys_epoll_create -SC_TRACE_EVENT(sys_epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create, TP_PROTO(int size), TP_ARGS(size), TP_STRUCT__entry(__field(int, size)), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(sys_epoll_create, ) #endif #ifndef OVERRIDE_32_sys_timer_getoverrun -SC_TRACE_EVENT(sys_timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_getoverrun, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(sys_timer_getoverrun, ) #endif #ifndef OVERRIDE_32_sys_timer_delete -SC_TRACE_EVENT(sys_timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_delete, TP_PROTO(timer_t timer_id), TP_ARGS(timer_id), TP_STRUCT__entry(__field(timer_t, timer_id)), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(sys_timer_delete, ) #endif #ifndef OVERRIDE_32_sys_unshare -SC_TRACE_EVENT(sys_unshare, +SC_LTTNG_TRACEPOINT_EVENT(sys_unshare, TP_PROTO(unsigned long unshare_flags), TP_ARGS(unshare_flags), TP_STRUCT__entry(__field(unsigned long, unshare_flags)), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(sys_unshare, ) #endif #ifndef OVERRIDE_32_sys_eventfd -SC_TRACE_EVENT(sys_eventfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd, TP_PROTO(unsigned int count), TP_ARGS(count), TP_STRUCT__entry(__field(unsigned int, count)), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(sys_eventfd, ) #endif #ifndef OVERRIDE_32_sys_epoll_create1 -SC_TRACE_EVENT(sys_epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_create1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(sys_epoll_create1, ) #endif #ifndef OVERRIDE_32_sys_inotify_init1 -SC_TRACE_EVENT(sys_inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_init1, TP_PROTO(int flags), TP_ARGS(flags), TP_STRUCT__entry(__field(int, flags)), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(sys_inotify_init1, ) #endif #ifndef OVERRIDE_32_sys_syncfs -SC_TRACE_EVENT(sys_syncfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_syncfs, TP_PROTO(int fd), TP_ARGS(fd), TP_STRUCT__entry(__field(int, fd)), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(sys_syncfs, ) #endif #ifndef OVERRIDE_32_sys_kill -SC_TRACE_EVENT(sys_kill, +SC_LTTNG_TRACEPOINT_EVENT(sys_kill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sys_kill, ) #endif #ifndef OVERRIDE_32_sys_signal -SC_TRACE_EVENT(sys_signal, +SC_LTTNG_TRACEPOINT_EVENT(sys_signal, TP_PROTO(int sig, __sighandler_t handler), TP_ARGS(sig, handler), TP_STRUCT__entry(__field(int, sig) __field(__sighandler_t, handler)), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sys_signal, ) #endif #ifndef OVERRIDE_32_sys_setpgid -SC_TRACE_EVENT(sys_setpgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpgid, TP_PROTO(pid_t pid, pid_t pgid), TP_ARGS(pid, pgid), TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sys_setpgid, ) #endif #ifndef OVERRIDE_32_sys_dup2 -SC_TRACE_EVENT(sys_dup2, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup2, TP_PROTO(unsigned int oldfd, unsigned int newfd), TP_ARGS(oldfd, newfd), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(sys_dup2, ) #endif #ifndef OVERRIDE_32_sys_setreuid -SC_TRACE_EVENT(sys_setreuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setreuid, TP_PROTO(uid_t ruid, uid_t euid), TP_ARGS(ruid, euid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(sys_setreuid, ) #endif #ifndef OVERRIDE_32_sys_setregid -SC_TRACE_EVENT(sys_setregid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setregid, TP_PROTO(gid_t rgid, gid_t egid), TP_ARGS(rgid, egid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(sys_setregid, ) #endif #ifndef OVERRIDE_32_sys_munmap -SC_TRACE_EVENT(sys_munmap, +SC_LTTNG_TRACEPOINT_EVENT(sys_munmap, TP_PROTO(unsigned long addr, size_t len), TP_ARGS(addr, len), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(sys_munmap, ) #endif #ifndef OVERRIDE_32_sys_ftruncate -SC_TRACE_EVENT(sys_ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_ftruncate, TP_PROTO(unsigned int fd, unsigned long length), TP_ARGS(fd, length), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(sys_ftruncate, ) #endif #ifndef OVERRIDE_32_sys_fchmod -SC_TRACE_EVENT(sys_fchmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmod, TP_PROTO(unsigned int fd, mode_t mode), TP_ARGS(fd, mode), TP_STRUCT__entry(__field(unsigned int, fd) __field(mode_t, mode)), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(sys_fchmod, ) #endif #ifndef OVERRIDE_32_sys_getpriority -SC_TRACE_EVENT(sys_getpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpriority, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(sys_getpriority, ) #endif #ifndef OVERRIDE_32_sys_bdflush -SC_TRACE_EVENT(sys_bdflush, +SC_LTTNG_TRACEPOINT_EVENT(sys_bdflush, TP_PROTO(int func, long data), TP_ARGS(func, data), TP_STRUCT__entry(__field(int, func) __field(long, data)), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(sys_bdflush, ) #endif #ifndef OVERRIDE_32_sys_flock -SC_TRACE_EVENT(sys_flock, +SC_LTTNG_TRACEPOINT_EVENT(sys_flock, TP_PROTO(unsigned int fd, unsigned int cmd), TP_ARGS(fd, cmd), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(sys_flock, ) #endif #ifndef OVERRIDE_32_sys_mlock -SC_TRACE_EVENT(sys_mlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_mlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(sys_mlock, ) #endif #ifndef OVERRIDE_32_sys_munlock -SC_TRACE_EVENT(sys_munlock, +SC_LTTNG_TRACEPOINT_EVENT(sys_munlock, TP_PROTO(unsigned long start, size_t len), TP_ARGS(start, len), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), @@ -480,7 +480,7 @@ SC_TRACE_EVENT(sys_munlock, ) #endif #ifndef OVERRIDE_32_sys_tkill -SC_TRACE_EVENT(sys_tkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tkill, TP_PROTO(pid_t pid, int sig), TP_ARGS(pid, sig), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), @@ -489,7 +489,7 @@ SC_TRACE_EVENT(sys_tkill, ) #endif #ifndef OVERRIDE_32_sys_ioprio_get -SC_TRACE_EVENT(sys_ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_get, TP_PROTO(int which, int who), TP_ARGS(which, who), TP_STRUCT__entry(__field(int, which) __field(int, who)), @@ -498,7 +498,7 @@ SC_TRACE_EVENT(sys_ioprio_get, ) #endif #ifndef OVERRIDE_32_sys_inotify_rm_watch -SC_TRACE_EVENT(sys_inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_rm_watch, TP_PROTO(int fd, __s32 wd), TP_ARGS(fd, wd), TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), @@ -507,7 +507,7 @@ SC_TRACE_EVENT(sys_inotify_rm_watch, ) #endif #ifndef OVERRIDE_32_sys_timerfd_create -SC_TRACE_EVENT(sys_timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_create, TP_PROTO(int clockid, int flags), TP_ARGS(clockid, flags), TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), @@ -516,7 +516,7 @@ SC_TRACE_EVENT(sys_timerfd_create, ) #endif #ifndef OVERRIDE_32_sys_eventfd2 -SC_TRACE_EVENT(sys_eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(sys_eventfd2, TP_PROTO(unsigned int count, int flags), TP_ARGS(count, flags), TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), @@ -525,7 +525,7 @@ SC_TRACE_EVENT(sys_eventfd2, ) #endif #ifndef OVERRIDE_32_sys_listen -SC_TRACE_EVENT(sys_listen, +SC_LTTNG_TRACEPOINT_EVENT(sys_listen, TP_PROTO(int fd, int backlog), TP_ARGS(fd, backlog), TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), @@ -534,7 +534,7 @@ SC_TRACE_EVENT(sys_listen, ) #endif #ifndef OVERRIDE_32_sys_shutdown -SC_TRACE_EVENT(sys_shutdown, +SC_LTTNG_TRACEPOINT_EVENT(sys_shutdown, TP_PROTO(int fd, int how), TP_ARGS(fd, how), TP_STRUCT__entry(__field(int, fd) __field(int, how)), @@ -543,7 +543,7 @@ SC_TRACE_EVENT(sys_shutdown, ) #endif #ifndef OVERRIDE_32_sys_setns -SC_TRACE_EVENT(sys_setns, +SC_LTTNG_TRACEPOINT_EVENT(sys_setns, TP_PROTO(int fd, int nstype), TP_ARGS(fd, nstype), TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), @@ -552,7 +552,7 @@ SC_TRACE_EVENT(sys_setns, ) #endif #ifndef OVERRIDE_32_sys_lseek -SC_TRACE_EVENT(sys_lseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_lseek, TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(fd, offset, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), @@ -561,7 +561,7 @@ SC_TRACE_EVENT(sys_lseek, ) #endif #ifndef OVERRIDE_32_sys_ioctl -SC_TRACE_EVENT(sys_ioctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioctl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -570,7 +570,7 @@ SC_TRACE_EVENT(sys_ioctl, ) #endif #ifndef OVERRIDE_32_sys_fcntl -SC_TRACE_EVENT(sys_fcntl, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -579,7 +579,7 @@ SC_TRACE_EVENT(sys_fcntl, ) #endif #ifndef OVERRIDE_32_sys_fchown -SC_TRACE_EVENT(sys_fchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchown, TP_PROTO(unsigned int fd, uid_t user, gid_t group), TP_ARGS(fd, user, group), TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), @@ -588,7 +588,7 @@ SC_TRACE_EVENT(sys_fchown, ) #endif #ifndef OVERRIDE_32_sys_setpriority -SC_TRACE_EVENT(sys_setpriority, +SC_LTTNG_TRACEPOINT_EVENT(sys_setpriority, TP_PROTO(int which, int who, int niceval), TP_ARGS(which, who, niceval), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), @@ -597,7 +597,7 @@ SC_TRACE_EVENT(sys_setpriority, ) #endif #ifndef OVERRIDE_32_sys_mprotect -SC_TRACE_EVENT(sys_mprotect, +SC_LTTNG_TRACEPOINT_EVENT(sys_mprotect, TP_PROTO(unsigned long start, size_t len, unsigned long prot), TP_ARGS(start, len, prot), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), @@ -606,7 +606,7 @@ SC_TRACE_EVENT(sys_mprotect, ) #endif #ifndef OVERRIDE_32_sys_sysfs -SC_TRACE_EVENT(sys_sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysfs, TP_PROTO(int option, unsigned long arg1, unsigned long arg2), TP_ARGS(option, arg1, arg2), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), @@ -615,7 +615,7 @@ SC_TRACE_EVENT(sys_sysfs, ) #endif #ifndef OVERRIDE_32_sys_msync -SC_TRACE_EVENT(sys_msync, +SC_LTTNG_TRACEPOINT_EVENT(sys_msync, TP_PROTO(unsigned long start, size_t len, int flags), TP_ARGS(start, len, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), @@ -624,7 +624,7 @@ SC_TRACE_EVENT(sys_msync, ) #endif #ifndef OVERRIDE_32_sys_setresuid -SC_TRACE_EVENT(sys_setresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresuid, TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), @@ -633,7 +633,7 @@ SC_TRACE_EVENT(sys_setresuid, ) #endif #ifndef OVERRIDE_32_sys_setresgid -SC_TRACE_EVENT(sys_setresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_setresgid, TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), @@ -642,7 +642,7 @@ SC_TRACE_EVENT(sys_setresgid, ) #endif #ifndef OVERRIDE_32_sys_fcntl64 -SC_TRACE_EVENT(sys_fcntl64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fcntl64, TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(fd, cmd, arg), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), @@ -651,7 +651,7 @@ SC_TRACE_EVENT(sys_fcntl64, ) #endif #ifndef OVERRIDE_32_sys_madvise -SC_TRACE_EVENT(sys_madvise, +SC_LTTNG_TRACEPOINT_EVENT(sys_madvise, TP_PROTO(unsigned long start, size_t len_in, int behavior), TP_ARGS(start, len_in, behavior), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), @@ -660,7 +660,7 @@ SC_TRACE_EVENT(sys_madvise, ) #endif #ifndef OVERRIDE_32_sys_tgkill -SC_TRACE_EVENT(sys_tgkill, +SC_LTTNG_TRACEPOINT_EVENT(sys_tgkill, TP_PROTO(pid_t tgid, pid_t pid, int sig), TP_ARGS(tgid, pid, sig), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), @@ -669,7 +669,7 @@ SC_TRACE_EVENT(sys_tgkill, ) #endif #ifndef OVERRIDE_32_sys_ioprio_set -SC_TRACE_EVENT(sys_ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(sys_ioprio_set, TP_PROTO(int which, int who, int ioprio), TP_ARGS(which, who, ioprio), TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), @@ -678,7 +678,7 @@ SC_TRACE_EVENT(sys_ioprio_set, ) #endif #ifndef OVERRIDE_32_sys_dup3 -SC_TRACE_EVENT(sys_dup3, +SC_LTTNG_TRACEPOINT_EVENT(sys_dup3, TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(oldfd, newfd, flags), TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), @@ -687,7 +687,7 @@ SC_TRACE_EVENT(sys_dup3, ) #endif #ifndef OVERRIDE_32_sys_socket -SC_TRACE_EVENT(sys_socket, +SC_LTTNG_TRACEPOINT_EVENT(sys_socket, TP_PROTO(int family, int type, int protocol), TP_ARGS(family, type, protocol), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), @@ -696,7 +696,7 @@ SC_TRACE_EVENT(sys_socket, ) #endif #ifndef OVERRIDE_32_sys_ptrace -SC_TRACE_EVENT(sys_ptrace, +SC_LTTNG_TRACEPOINT_EVENT(sys_ptrace, TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(request, pid, addr, data), TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), @@ -705,7 +705,7 @@ SC_TRACE_EVENT(sys_ptrace, ) #endif #ifndef OVERRIDE_32_sys_tee -SC_TRACE_EVENT(sys_tee, +SC_LTTNG_TRACEPOINT_EVENT(sys_tee, TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(fdin, fdout, len, flags), TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), @@ -714,7 +714,7 @@ SC_TRACE_EVENT(sys_tee, ) #endif #ifndef OVERRIDE_32_sys_mremap -SC_TRACE_EVENT(sys_mremap, +SC_LTTNG_TRACEPOINT_EVENT(sys_mremap, TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), @@ -723,7 +723,7 @@ SC_TRACE_EVENT(sys_mremap, ) #endif #ifndef OVERRIDE_32_sys_prctl -SC_TRACE_EVENT(sys_prctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_prctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), @@ -732,7 +732,7 @@ SC_TRACE_EVENT(sys_prctl, ) #endif #ifndef OVERRIDE_32_sys_remap_file_pages -SC_TRACE_EVENT(sys_remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(sys_remap_file_pages, TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(start, size, prot, pgoff, flags), TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), @@ -741,7 +741,7 @@ SC_TRACE_EVENT(sys_remap_file_pages, ) #endif #ifndef OVERRIDE_32_sys_keyctl -SC_TRACE_EVENT(sys_keyctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_keyctl, TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h index eaabf47c..9c5eefda 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_sys_unlink -SC_TRACE_EVENT(sys_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(sys_unlink, ) #endif #ifndef OVERRIDE_32_sys_chdir -SC_TRACE_EVENT(sys_chdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(sys_chdir, ) #endif #ifndef OVERRIDE_32_sys_time -SC_TRACE_EVENT(sys_time, +SC_LTTNG_TRACEPOINT_EVENT(sys_time, TP_PROTO(time_t * tloc), TP_ARGS(tloc), TP_STRUCT__entry(__field_hex(time_t *, tloc)), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(sys_time, ) #endif #ifndef OVERRIDE_32_sys_oldumount -SC_TRACE_EVENT(sys_oldumount, +SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, TP_PROTO(char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(sys_oldumount, ) #endif #ifndef OVERRIDE_32_sys_stime -SC_TRACE_EVENT(sys_stime, +SC_LTTNG_TRACEPOINT_EVENT(sys_stime, TP_PROTO(time_t * tptr), TP_ARGS(tptr), TP_STRUCT__entry(__field_hex(time_t *, tptr)), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(sys_stime, ) #endif #ifndef OVERRIDE_32_sys_rmdir -SC_TRACE_EVENT(sys_rmdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, TP_PROTO(const char * pathname), TP_ARGS(pathname), TP_STRUCT__entry(__string_from_user(pathname, pathname)), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(sys_rmdir, ) #endif #ifndef OVERRIDE_32_sys_pipe -SC_TRACE_EVENT(sys_pipe, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe, TP_PROTO(int * fildes), TP_ARGS(fildes), TP_STRUCT__entry(__field_hex(int *, fildes)), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sys_pipe, ) #endif #ifndef OVERRIDE_32_sys_times -SC_TRACE_EVENT(sys_times, +SC_LTTNG_TRACEPOINT_EVENT(sys_times, TP_PROTO(struct tms * tbuf), TP_ARGS(tbuf), TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(sys_times, ) #endif #ifndef OVERRIDE_32_sys_acct -SC_TRACE_EVENT(sys_acct, +SC_LTTNG_TRACEPOINT_EVENT(sys_acct, TP_PROTO(const char * name), TP_ARGS(name), TP_STRUCT__entry(__string_from_user(name, name)), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sys_acct, ) #endif #ifndef OVERRIDE_32_sys_olduname -SC_TRACE_EVENT(sys_olduname, +SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, TP_PROTO(struct oldold_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(sys_olduname, ) #endif #ifndef OVERRIDE_32_sys_chroot -SC_TRACE_EVENT(sys_chroot, +SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, TP_PROTO(const char * filename), TP_ARGS(filename), TP_STRUCT__entry(__string_from_user(filename, filename)), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(sys_chroot, ) #endif #ifndef OVERRIDE_32_sys_sigpending -SC_TRACE_EVENT(sys_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, TP_PROTO(old_sigset_t * set), TP_ARGS(set), TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sys_sigpending, ) #endif #ifndef OVERRIDE_32_sys_uselib -SC_TRACE_EVENT(sys_uselib, +SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, TP_PROTO(const char * library), TP_ARGS(library), TP_STRUCT__entry(__field_hex(const char *, library)), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(sys_uselib, ) #endif #ifndef OVERRIDE_32_sys_uname -SC_TRACE_EVENT(sys_uname, +SC_LTTNG_TRACEPOINT_EVENT(sys_uname, TP_PROTO(struct old_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(sys_uname, ) #endif #ifndef OVERRIDE_32_sys_swapoff -SC_TRACE_EVENT(sys_swapoff, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapoff, TP_PROTO(const char * specialfile), TP_ARGS(specialfile), TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(sys_swapoff, ) #endif #ifndef OVERRIDE_32_sys_sysinfo -SC_TRACE_EVENT(sys_sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, TP_PROTO(struct sysinfo * info), TP_ARGS(info), TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(sys_sysinfo, ) #endif #ifndef OVERRIDE_32_sys_newuname -SC_TRACE_EVENT(sys_newuname, +SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, TP_PROTO(struct new_utsname * name), TP_ARGS(name), TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(sys_newuname, ) #endif #ifndef OVERRIDE_32_sys_adjtimex -SC_TRACE_EVENT(sys_adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, TP_PROTO(struct timex * txc_p), TP_ARGS(txc_p), TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sys_adjtimex, ) #endif #ifndef OVERRIDE_32_sys_sysctl -SC_TRACE_EVENT(sys_sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, TP_PROTO(struct __sysctl_args * args), TP_ARGS(args), TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(sys_sysctl, ) #endif #ifndef OVERRIDE_32_sys_set_tid_address -SC_TRACE_EVENT(sys_set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, TP_PROTO(int * tidptr), TP_ARGS(tidptr), TP_STRUCT__entry(__field_hex(int *, tidptr)), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(sys_set_tid_address, ) #endif #ifndef OVERRIDE_32_sys_mq_unlink -SC_TRACE_EVENT(sys_mq_unlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_unlink, TP_PROTO(const char * u_name), TP_ARGS(u_name), TP_STRUCT__entry(__string_from_user(u_name, u_name)), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sys_mq_unlink, ) #endif #ifndef OVERRIDE_32_sys_creat -SC_TRACE_EVENT(sys_creat, +SC_LTTNG_TRACEPOINT_EVENT(sys_creat, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(sys_creat, ) #endif #ifndef OVERRIDE_32_sys_link -SC_TRACE_EVENT(sys_link, +SC_LTTNG_TRACEPOINT_EVENT(sys_link, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(sys_link, ) #endif #ifndef OVERRIDE_32_sys_chmod -SC_TRACE_EVENT(sys_chmod, +SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, TP_PROTO(const char * filename, mode_t mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(mode_t, mode)), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(sys_chmod, ) #endif #ifndef OVERRIDE_32_sys_stat -SC_TRACE_EVENT(sys_stat, +SC_LTTNG_TRACEPOINT_EVENT(sys_stat, TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct __old_kernel_stat *, statbuf)), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(sys_stat, ) #endif #ifndef OVERRIDE_32_sys_fstat -SC_TRACE_EVENT(sys_fstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstat, TP_PROTO(unsigned int fd, struct __old_kernel_stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct __old_kernel_stat *, statbuf)), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(sys_fstat, ) #endif #ifndef OVERRIDE_32_sys_utime -SC_TRACE_EVENT(sys_utime, +SC_LTTNG_TRACEPOINT_EVENT(sys_utime, TP_PROTO(char * filename, struct utimbuf * times), TP_ARGS(filename, times), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(sys_utime, ) #endif #ifndef OVERRIDE_32_sys_access -SC_TRACE_EVENT(sys_access, +SC_LTTNG_TRACEPOINT_EVENT(sys_access, TP_PROTO(const char * filename, int mode), TP_ARGS(filename, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(sys_access, ) #endif #ifndef OVERRIDE_32_sys_rename -SC_TRACE_EVENT(sys_rename, +SC_LTTNG_TRACEPOINT_EVENT(sys_rename, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(sys_rename, ) #endif #ifndef OVERRIDE_32_sys_mkdir -SC_TRACE_EVENT(sys_mkdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, TP_PROTO(const char * pathname, int mode), TP_ARGS(pathname, mode), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(sys_mkdir, ) #endif #ifndef OVERRIDE_32_sys_umount -SC_TRACE_EVENT(sys_umount, +SC_LTTNG_TRACEPOINT_EVENT(sys_umount, TP_PROTO(char * name, int flags), TP_ARGS(name, flags), TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(sys_umount, ) #endif #ifndef OVERRIDE_32_sys_ustat -SC_TRACE_EVENT(sys_ustat, +SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, TP_PROTO(unsigned dev, struct ustat * ubuf), TP_ARGS(dev, ubuf), TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(sys_ustat, ) #endif #ifndef OVERRIDE_32_sys_sethostname -SC_TRACE_EVENT(sys_sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(sys_sethostname, ) #endif #ifndef OVERRIDE_32_sys_setrlimit -SC_TRACE_EVENT(sys_setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(sys_setrlimit, ) #endif #ifndef OVERRIDE_32_sys_old_getrlimit -SC_TRACE_EVENT(sys_old_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_old_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sys_old_getrlimit, ) #endif #ifndef OVERRIDE_32_sys_getrusage -SC_TRACE_EVENT(sys_getrusage, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, TP_PROTO(int who, struct rusage * ru), TP_ARGS(who, ru), TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(sys_getrusage, ) #endif #ifndef OVERRIDE_32_sys_gettimeofday -SC_TRACE_EVENT(sys_gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(sys_gettimeofday, ) #endif #ifndef OVERRIDE_32_sys_settimeofday -SC_TRACE_EVENT(sys_settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, TP_PROTO(struct timeval * tv, struct timezone * tz), TP_ARGS(tv, tz), TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sys_settimeofday, ) #endif #ifndef OVERRIDE_32_sys_getgroups -SC_TRACE_EVENT(sys_getgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(sys_getgroups, ) #endif #ifndef OVERRIDE_32_sys_setgroups -SC_TRACE_EVENT(sys_setgroups, +SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, TP_PROTO(int gidsetsize, gid_t * grouplist), TP_ARGS(gidsetsize, grouplist), TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(sys_setgroups, ) #endif #ifndef OVERRIDE_32_sys_symlink -SC_TRACE_EVENT(sys_symlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, TP_PROTO(const char * oldname, const char * newname), TP_ARGS(oldname, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(sys_symlink, ) #endif #ifndef OVERRIDE_32_sys_lstat -SC_TRACE_EVENT(sys_lstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_lstat, TP_PROTO(const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct __old_kernel_stat *, statbuf)), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(sys_lstat, ) #endif #ifndef OVERRIDE_32_sys_swapon -SC_TRACE_EVENT(sys_swapon, +SC_LTTNG_TRACEPOINT_EVENT(sys_swapon, TP_PROTO(const char * specialfile, int swap_flags), TP_ARGS(specialfile, swap_flags), TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sys_swapon, ) #endif #ifndef OVERRIDE_32_sys_truncate -SC_TRACE_EVENT(sys_truncate, +SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, TP_PROTO(const char * path, long length), TP_ARGS(path, length), TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sys_truncate, ) #endif #ifndef OVERRIDE_32_sys_statfs -SC_TRACE_EVENT(sys_statfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, TP_PROTO(const char * pathname, struct statfs * buf), TP_ARGS(pathname, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sys_statfs, ) #endif #ifndef OVERRIDE_32_sys_fstatfs -SC_TRACE_EVENT(sys_fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, TP_PROTO(unsigned int fd, struct statfs * buf), TP_ARGS(fd, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(sys_fstatfs, ) #endif #ifndef OVERRIDE_32_sys_socketcall -SC_TRACE_EVENT(sys_socketcall, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, TP_PROTO(int call, unsigned long * args), TP_ARGS(call, args), TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(sys_socketcall, ) #endif #ifndef OVERRIDE_32_sys_getitimer -SC_TRACE_EVENT(sys_getitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, TP_PROTO(int which, struct itimerval * value), TP_ARGS(which, value), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(sys_getitimer, ) #endif #ifndef OVERRIDE_32_sys_newstat -SC_TRACE_EVENT(sys_newstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(sys_newstat, ) #endif #ifndef OVERRIDE_32_sys_newlstat -SC_TRACE_EVENT(sys_newlstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, TP_PROTO(const char * filename, struct stat * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(sys_newlstat, ) #endif #ifndef OVERRIDE_32_sys_newfstat -SC_TRACE_EVENT(sys_newfstat, +SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, TP_PROTO(unsigned int fd, struct stat * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sys_newfstat, ) #endif #ifndef OVERRIDE_32_sys_setdomainname -SC_TRACE_EVENT(sys_setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, TP_PROTO(char * name, int len), TP_ARGS(name, len), TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(sys_setdomainname, ) #endif #ifndef OVERRIDE_32_sys_delete_module -SC_TRACE_EVENT(sys_delete_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, TP_PROTO(const char * name_user, unsigned int flags), TP_ARGS(name_user, flags), TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(sys_delete_module, ) #endif #ifndef OVERRIDE_32_sys_sched_setparam -SC_TRACE_EVENT(sys_sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(sys_sched_setparam, ) #endif #ifndef OVERRIDE_32_sys_sched_getparam -SC_TRACE_EVENT(sys_sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, TP_PROTO(pid_t pid, struct sched_param * param), TP_ARGS(pid, param), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(sys_sched_getparam, ) #endif #ifndef OVERRIDE_32_sys_sched_rr_get_interval -SC_TRACE_EVENT(sys_sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, TP_PROTO(pid_t pid, struct timespec * interval), TP_ARGS(pid, interval), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sys_sched_rr_get_interval, ) #endif #ifndef OVERRIDE_32_sys_nanosleep -SC_TRACE_EVENT(sys_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(rqtp, rmtp), TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sys_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_rt_sigpending -SC_TRACE_EVENT(sys_rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, TP_PROTO(sigset_t * set, size_t sigsetsize), TP_ARGS(set, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sys_rt_sigpending, ) #endif #ifndef OVERRIDE_32_sys_rt_sigsuspend -SC_TRACE_EVENT(sys_rt_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, TP_PROTO(sigset_t * unewset, size_t sigsetsize), TP_ARGS(unewset, sigsetsize), TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(sys_rt_sigsuspend, ) #endif #ifndef OVERRIDE_32_sys_getcwd -SC_TRACE_EVENT(sys_getcwd, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, TP_PROTO(char * buf, unsigned long size), TP_ARGS(buf, size), TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(sys_getcwd, ) #endif #ifndef OVERRIDE_32_sys_getrlimit -SC_TRACE_EVENT(sys_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, TP_PROTO(unsigned int resource, struct rlimit * rlim), TP_ARGS(resource, rlim), TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(sys_getrlimit, ) #endif #ifndef OVERRIDE_32_sys_stat64 -SC_TRACE_EVENT(sys_stat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(sys_stat64, ) #endif #ifndef OVERRIDE_32_sys_lstat64 -SC_TRACE_EVENT(sys_lstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, TP_PROTO(const char * filename, struct stat64 * statbuf), TP_ARGS(filename, statbuf), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(sys_lstat64, ) #endif #ifndef OVERRIDE_32_sys_fstat64 -SC_TRACE_EVENT(sys_fstat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, TP_PROTO(unsigned long fd, struct stat64 * statbuf), TP_ARGS(fd, statbuf), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(sys_fstat64, ) #endif #ifndef OVERRIDE_32_sys_pivot_root -SC_TRACE_EVENT(sys_pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, TP_PROTO(const char * new_root, const char * put_old), TP_ARGS(new_root, put_old), TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(sys_pivot_root, ) #endif #ifndef OVERRIDE_32_sys_removexattr -SC_TRACE_EVENT(sys_removexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(sys_removexattr, ) #endif #ifndef OVERRIDE_32_sys_lremovexattr -SC_TRACE_EVENT(sys_lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, TP_PROTO(const char * pathname, const char * name), TP_ARGS(pathname, name), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(sys_lremovexattr, ) #endif #ifndef OVERRIDE_32_sys_fremovexattr -SC_TRACE_EVENT(sys_fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, TP_PROTO(int fd, const char * name), TP_ARGS(fd, name), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(sys_fremovexattr, ) #endif #ifndef OVERRIDE_32_sys_io_setup -SC_TRACE_EVENT(sys_io_setup, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, TP_PROTO(unsigned nr_events, aio_context_t * ctxp), TP_ARGS(nr_events, ctxp), TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(sys_io_setup, ) #endif #ifndef OVERRIDE_32_sys_timer_gettime -SC_TRACE_EVENT(sys_timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, TP_PROTO(timer_t timer_id, struct itimerspec * setting), TP_ARGS(timer_id, setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(sys_timer_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_settime -SC_TRACE_EVENT(sys_clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, TP_PROTO(const clockid_t which_clock, const struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(sys_clock_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_gettime -SC_TRACE_EVENT(sys_clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(sys_clock_gettime, ) #endif #ifndef OVERRIDE_32_sys_clock_getres -SC_TRACE_EVENT(sys_clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, TP_PROTO(const clockid_t which_clock, struct timespec * tp), TP_ARGS(which_clock, tp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(sys_clock_getres, ) #endif #ifndef OVERRIDE_32_sys_utimes -SC_TRACE_EVENT(sys_utimes, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, TP_PROTO(char * filename, struct timeval * utimes), TP_ARGS(filename, utimes), TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(sys_utimes, ) #endif #ifndef OVERRIDE_32_sys_mq_notify -SC_TRACE_EVENT(sys_mq_notify, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_notify, TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(mqdes, u_notification), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct sigevent *, u_notification)), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(sys_mq_notify, ) #endif #ifndef OVERRIDE_32_sys_set_robust_list -SC_TRACE_EVENT(sys_set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, TP_PROTO(struct robust_list_head * head, size_t len), TP_ARGS(head, len), TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(sys_set_robust_list, ) #endif #ifndef OVERRIDE_32_sys_timerfd_gettime -SC_TRACE_EVENT(sys_timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, TP_PROTO(int ufd, struct itimerspec * otmr), TP_ARGS(ufd, otmr), TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(sys_timerfd_gettime, ) #endif #ifndef OVERRIDE_32_sys_pipe2 -SC_TRACE_EVENT(sys_pipe2, +SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, TP_PROTO(int * fildes, int flags), TP_ARGS(fildes, flags), TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(sys_pipe2, ) #endif #ifndef OVERRIDE_32_sys_clock_adjtime -SC_TRACE_EVENT(sys_clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, TP_PROTO(const clockid_t which_clock, struct timex * utx), TP_ARGS(which_clock, utx), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(sys_clock_adjtime, ) #endif #ifndef OVERRIDE_32_sys_read -SC_TRACE_EVENT(sys_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_read, TP_PROTO(unsigned int fd, char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(sys_read, ) #endif #ifndef OVERRIDE_32_sys_write -SC_TRACE_EVENT(sys_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_write, TP_PROTO(unsigned int fd, const char * buf, size_t count), TP_ARGS(fd, buf, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(sys_write, ) #endif #ifndef OVERRIDE_32_sys_open -SC_TRACE_EVENT(sys_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_open, TP_PROTO(const char * filename, int flags, int mode), TP_ARGS(filename, flags, mode), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(int, mode)), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(sys_open, ) #endif #ifndef OVERRIDE_32_sys_waitpid -SC_TRACE_EVENT(sys_waitpid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, TP_PROTO(pid_t pid, int * stat_addr, int options), TP_ARGS(pid, stat_addr, options), TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(sys_waitpid, ) #endif #ifndef OVERRIDE_32_sys_mknod -SC_TRACE_EVENT(sys_mknod, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, TP_PROTO(const char * filename, int mode, unsigned dev), TP_ARGS(filename, mode, dev), TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(sys_mknod, ) #endif #ifndef OVERRIDE_32_sys_lchown -SC_TRACE_EVENT(sys_lchown, +SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(sys_lchown, ) #endif #ifndef OVERRIDE_32_sys_readlink -SC_TRACE_EVENT(sys_readlink, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, TP_PROTO(const char * path, char * buf, int bufsiz), TP_ARGS(path, buf, bufsiz), TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(sys_readlink, ) #endif #ifndef OVERRIDE_32_sys_old_readdir -SC_TRACE_EVENT(sys_old_readdir, +SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(sys_old_readdir, ) #endif #ifndef OVERRIDE_32_sys_syslog -SC_TRACE_EVENT(sys_syslog, +SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, TP_PROTO(int type, char * buf, int len), TP_ARGS(type, buf, len), TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(sys_syslog, ) #endif #ifndef OVERRIDE_32_sys_setitimer -SC_TRACE_EVENT(sys_setitimer, +SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(which, value, ovalue), TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(sys_setitimer, ) #endif #ifndef OVERRIDE_32_sys_sigprocmask -SC_TRACE_EVENT(sys_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(how, nset, oset), TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(sys_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_init_module -SC_TRACE_EVENT(sys_init_module, +SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, TP_PROTO(void * umod, unsigned long len, const char * uargs), TP_ARGS(umod, len, uargs), TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(sys_init_module, ) #endif #ifndef OVERRIDE_32_sys_getdents -SC_TRACE_EVENT(sys_getdents, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(sys_getdents, ) #endif #ifndef OVERRIDE_32_sys_readv -SC_TRACE_EVENT(sys_readv, +SC_LTTNG_TRACEPOINT_EVENT(sys_readv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(sys_readv, ) #endif #ifndef OVERRIDE_32_sys_writev -SC_TRACE_EVENT(sys_writev, +SC_LTTNG_TRACEPOINT_EVENT(sys_writev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(fd, vec, vlen), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(sys_writev, ) #endif #ifndef OVERRIDE_32_sys_sched_setscheduler -SC_TRACE_EVENT(sys_sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, TP_PROTO(pid_t pid, int policy, struct sched_param * param), TP_ARGS(pid, policy, param), TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(sys_sched_setscheduler, ) #endif #ifndef OVERRIDE_32_sys_getresuid -SC_TRACE_EVENT(sys_getresuid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), TP_ARGS(ruid, euid, suid), TP_STRUCT__entry(__field_hex(uid_t *, ruid) __field_hex(uid_t *, euid) __field_hex(uid_t *, suid)), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(sys_getresuid, ) #endif #ifndef OVERRIDE_32_sys_poll -SC_TRACE_EVENT(sys_poll, +SC_LTTNG_TRACEPOINT_EVENT(sys_poll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, long timeout_msecs), TP_ARGS(ufds, nfds, timeout_msecs), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(long, timeout_msecs)), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(sys_poll, ) #endif #ifndef OVERRIDE_32_sys_nfsservctl -SC_TRACE_EVENT(sys_nfsservctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_nfsservctl, TP_PROTO(int cmd, struct nfsctl_arg * arg, void * res), TP_ARGS(cmd, arg, res), TP_STRUCT__entry(__field(int, cmd) __field_hex(struct nfsctl_arg *, arg) __field_hex(void *, res)), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(sys_nfsservctl, ) #endif #ifndef OVERRIDE_32_sys_getresgid -SC_TRACE_EVENT(sys_getresgid, +SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), TP_ARGS(rgid, egid, sgid), TP_STRUCT__entry(__field_hex(gid_t *, rgid) __field_hex(gid_t *, egid) __field_hex(gid_t *, sgid)), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(sys_getresgid, ) #endif #ifndef OVERRIDE_32_sys_rt_sigqueueinfo -SC_TRACE_EVENT(sys_rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(sys_rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_chown -SC_TRACE_EVENT(sys_chown, +SC_LTTNG_TRACEPOINT_EVENT(sys_chown, TP_PROTO(const char * filename, uid_t user, gid_t group), TP_ARGS(filename, user, group), TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(sys_chown, ) #endif #ifndef OVERRIDE_32_sys_getdents64 -SC_TRACE_EVENT(sys_getdents64, +SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(fd, dirent, count), TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(sys_getdents64, ) #endif #ifndef OVERRIDE_32_sys_mincore -SC_TRACE_EVENT(sys_mincore, +SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, TP_PROTO(unsigned long start, size_t len, unsigned char * vec), TP_ARGS(start, len, vec), TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(sys_mincore, ) #endif #ifndef OVERRIDE_32_sys_listxattr -SC_TRACE_EVENT(sys_listxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(sys_listxattr, ) #endif #ifndef OVERRIDE_32_sys_llistxattr -SC_TRACE_EVENT(sys_llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, TP_PROTO(const char * pathname, char * list, size_t size), TP_ARGS(pathname, list, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(sys_llistxattr, ) #endif #ifndef OVERRIDE_32_sys_flistxattr -SC_TRACE_EVENT(sys_flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, TP_PROTO(int fd, char * list, size_t size), TP_ARGS(fd, list, size), TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(sys_flistxattr, ) #endif #ifndef OVERRIDE_32_sys_sched_setaffinity -SC_TRACE_EVENT(sys_sched_setaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(sys_sched_setaffinity, ) #endif #ifndef OVERRIDE_32_sys_sched_getaffinity -SC_TRACE_EVENT(sys_sched_getaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getaffinity, TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(pid, len, user_mask_ptr), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(sys_sched_getaffinity, ) #endif #ifndef OVERRIDE_32_sys_io_submit -SC_TRACE_EVENT(sys_io_submit, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(ctx_id, nr, iocbpp), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(sys_io_submit, ) #endif #ifndef OVERRIDE_32_sys_io_cancel -SC_TRACE_EVENT(sys_io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(ctx_id, iocb, result), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(sys_io_cancel, ) #endif #ifndef OVERRIDE_32_sys_timer_create -SC_TRACE_EVENT(sys_timer_create, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(sys_timer_create, ) #endif #ifndef OVERRIDE_32_sys_statfs64 -SC_TRACE_EVENT(sys_statfs64, +SC_LTTNG_TRACEPOINT_EVENT(sys_statfs64, TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), TP_ARGS(pathname, sz, buf), TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(sys_statfs64, ) #endif #ifndef OVERRIDE_32_sys_fstatfs64 -SC_TRACE_EVENT(sys_fstatfs64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs64, TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), TP_ARGS(fd, sz, buf), TP_STRUCT__entry(__field(unsigned int, fd) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(sys_fstatfs64, ) #endif #ifndef OVERRIDE_32_sys_mq_getsetattr -SC_TRACE_EVENT(sys_mq_getsetattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_getsetattr, TP_PROTO(mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), TP_ARGS(mqdes, u_mqstat, u_omqstat), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct mq_attr *, u_mqstat) __field_hex(struct mq_attr *, u_omqstat)), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(sys_mq_getsetattr, ) #endif #ifndef OVERRIDE_32_sys_inotify_add_watch -SC_TRACE_EVENT(sys_inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, TP_PROTO(int fd, const char * pathname, u32 mask), TP_ARGS(fd, pathname, mask), TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(sys_inotify_add_watch, ) #endif #ifndef OVERRIDE_32_sys_mkdirat -SC_TRACE_EVENT(sys_mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, TP_PROTO(int dfd, const char * pathname, int mode), TP_ARGS(dfd, pathname, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, mode)), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(sys_mkdirat, ) #endif #ifndef OVERRIDE_32_sys_futimesat -SC_TRACE_EVENT(sys_futimesat, +SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, TP_PROTO(int dfd, const char * filename, struct timeval * utimes), TP_ARGS(dfd, filename, utimes), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(sys_futimesat, ) #endif #ifndef OVERRIDE_32_sys_unlinkat -SC_TRACE_EVENT(sys_unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, TP_PROTO(int dfd, const char * pathname, int flag), TP_ARGS(dfd, pathname, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(sys_unlinkat, ) #endif #ifndef OVERRIDE_32_sys_symlinkat -SC_TRACE_EVENT(sys_symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, TP_PROTO(const char * oldname, int newdfd, const char * newname), TP_ARGS(oldname, newdfd, newname), TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(sys_symlinkat, ) #endif #ifndef OVERRIDE_32_sys_fchmodat -SC_TRACE_EVENT(sys_fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, TP_PROTO(int dfd, const char * filename, mode_t mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(mode_t, mode)), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(sys_fchmodat, ) #endif #ifndef OVERRIDE_32_sys_faccessat -SC_TRACE_EVENT(sys_faccessat, +SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, TP_PROTO(int dfd, const char * filename, int mode), TP_ARGS(dfd, filename, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(sys_faccessat, ) #endif #ifndef OVERRIDE_32_sys_get_robust_list -SC_TRACE_EVENT(sys_get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(pid, head_ptr, len_ptr), TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(sys_get_robust_list, ) #endif #ifndef OVERRIDE_32_sys_getcpu -SC_TRACE_EVENT(sys_getcpu, +SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(cpup, nodep, unused), TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(sys_getcpu, ) #endif #ifndef OVERRIDE_32_sys_signalfd -SC_TRACE_EVENT(sys_signalfd, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(ufd, user_mask, sizemask), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(sys_signalfd, ) #endif #ifndef OVERRIDE_32_sys_bind -SC_TRACE_EVENT(sys_bind, +SC_LTTNG_TRACEPOINT_EVENT(sys_bind, TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(fd, umyaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(sys_bind, ) #endif #ifndef OVERRIDE_32_sys_connect -SC_TRACE_EVENT(sys_connect, +SC_LTTNG_TRACEPOINT_EVENT(sys_connect, TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(fd, uservaddr, addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(sys_connect, ) #endif #ifndef OVERRIDE_32_sys_accept -SC_TRACE_EVENT(sys_accept, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(sys_accept, ) #endif #ifndef OVERRIDE_32_sys_getsockname -SC_TRACE_EVENT(sys_getsockname, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(sys_getsockname, ) #endif #ifndef OVERRIDE_32_sys_getpeername -SC_TRACE_EVENT(sys_getpeername, +SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(fd, usockaddr, usockaddr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(sys_getpeername, ) #endif #ifndef OVERRIDE_32_sys_sendmsg -SC_TRACE_EVENT(sys_sendmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned, flags)), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(sys_sendmsg, ) #endif #ifndef OVERRIDE_32_sys_recvmsg -SC_TRACE_EVENT(sys_recvmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(fd, msg, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(sys_recvmsg, ) #endif #ifndef OVERRIDE_32_sys_reboot -SC_TRACE_EVENT(sys_reboot, +SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(magic1, magic2, cmd, arg), TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(sys_reboot, ) #endif #ifndef OVERRIDE_32_sys_wait4 -SC_TRACE_EVENT(sys_wait4, +SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(upid, stat_addr, options, ru), TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(sys_wait4, ) #endif #ifndef OVERRIDE_32_sys_rt_sigaction -SC_TRACE_EVENT(sys_rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sig, act, oact, sigsetsize), TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(sys_rt_sigaction, ) #endif #ifndef OVERRIDE_32_sys_rt_sigprocmask -SC_TRACE_EVENT(sys_rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(how, nset, oset, sigsetsize), TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(sys_rt_sigprocmask, ) #endif #ifndef OVERRIDE_32_sys_rt_sigtimedwait -SC_TRACE_EVENT(sys_rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(sys_rt_sigtimedwait, ) #endif #ifndef OVERRIDE_32_sys_sendfile -SC_TRACE_EVENT(sys_sendfile, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(sys_sendfile, ) #endif #ifndef OVERRIDE_32_sys_getxattr -SC_TRACE_EVENT(sys_getxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(sys_getxattr, ) #endif #ifndef OVERRIDE_32_sys_lgetxattr -SC_TRACE_EVENT(sys_lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, TP_PROTO(const char * pathname, const char * name, void * value, size_t size), TP_ARGS(pathname, name, value, size), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(sys_lgetxattr, ) #endif #ifndef OVERRIDE_32_sys_fgetxattr -SC_TRACE_EVENT(sys_fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, TP_PROTO(int fd, const char * name, void * value, size_t size), TP_ARGS(fd, name, value, size), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(sys_fgetxattr, ) #endif #ifndef OVERRIDE_32_sys_sendfile64 -SC_TRACE_EVENT(sys_sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(out_fd, in_fd, offset, count), TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(sys_sendfile64, ) #endif #ifndef OVERRIDE_32_sys_epoll_ctl -SC_TRACE_EVENT(sys_epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(epfd, op, fd, event), TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(sys_epoll_ctl, ) #endif #ifndef OVERRIDE_32_sys_epoll_wait -SC_TRACE_EVENT(sys_epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(epfd, events, maxevents, timeout), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(sys_epoll_wait, ) #endif #ifndef OVERRIDE_32_sys_timer_settime -SC_TRACE_EVENT(sys_timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(sys_timer_settime, ) #endif #ifndef OVERRIDE_32_sys_clock_nanosleep -SC_TRACE_EVENT(sys_clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(sys_clock_nanosleep, ) #endif #ifndef OVERRIDE_32_sys_mq_open -SC_TRACE_EVENT(sys_mq_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_open, TP_PROTO(const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), TP_ARGS(u_name, oflag, mode, u_attr), TP_STRUCT__entry(__string_from_user(u_name, u_name) __field(int, oflag) __field(mode_t, mode) __field_hex(struct mq_attr *, u_attr)), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(sys_mq_open, ) #endif #ifndef OVERRIDE_32_sys_request_key -SC_TRACE_EVENT(sys_request_key, +SC_LTTNG_TRACEPOINT_EVENT(sys_request_key, TP_PROTO(const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), TP_ARGS(_type, _description, _callout_info, destringid), TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const char *, _callout_info) __field(key_serial_t, destringid)), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(sys_request_key, ) #endif #ifndef OVERRIDE_32_sys_vmsplice -SC_TRACE_EVENT(sys_vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(fd, iov, nr_segs, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(sys_vmsplice, ) #endif #ifndef OVERRIDE_32_sys_openat -SC_TRACE_EVENT(sys_openat, +SC_LTTNG_TRACEPOINT_EVENT(sys_openat, TP_PROTO(int dfd, const char * filename, int flags, int mode), TP_ARGS(dfd, filename, flags, mode), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(int, mode)), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(sys_openat, ) #endif #ifndef OVERRIDE_32_sys_mknodat -SC_TRACE_EVENT(sys_mknodat, +SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, TP_PROTO(int dfd, const char * filename, int mode, unsigned dev), TP_ARGS(dfd, filename, mode, dev), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(sys_mknodat, ) #endif #ifndef OVERRIDE_32_sys_fstatat64 -SC_TRACE_EVENT(sys_fstatat64, +SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), TP_ARGS(dfd, filename, statbuf, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(sys_fstatat64, ) #endif #ifndef OVERRIDE_32_sys_renameat -SC_TRACE_EVENT(sys_renameat, +SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(olddfd, oldname, newdfd, newname), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(sys_renameat, ) #endif #ifndef OVERRIDE_32_sys_readlinkat -SC_TRACE_EVENT(sys_readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(dfd, pathname, buf, bufsiz), TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(sys_readlinkat, ) #endif #ifndef OVERRIDE_32_sys_utimensat -SC_TRACE_EVENT(sys_utimensat, +SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(dfd, filename, utimes, flags), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(sys_utimensat, ) #endif #ifndef OVERRIDE_32_sys_timerfd_settime -SC_TRACE_EVENT(sys_timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(ufd, flags, utmr, otmr), TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(sys_timerfd_settime, ) #endif #ifndef OVERRIDE_32_sys_signalfd4 -SC_TRACE_EVENT(sys_signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(ufd, user_mask, sizemask, flags), TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(sys_signalfd4, ) #endif #ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo -SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(tgid, pid, sig, uinfo), TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_32_sys_prlimit64 -SC_TRACE_EVENT(sys_prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(sys_prlimit64, ) #endif #ifndef OVERRIDE_32_sys_socketpair -SC_TRACE_EVENT(sys_socketpair, +SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, TP_PROTO(int family, int type, int protocol, int * usockvec), TP_ARGS(family, type, protocol, usockvec), TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(sys_socketpair, ) #endif #ifndef OVERRIDE_32_sys_send -SC_TRACE_EVENT(sys_send, +SC_LTTNG_TRACEPOINT_EVENT(sys_send, TP_PROTO(int fd, void * buff, size_t len, unsigned flags), TP_ARGS(fd, buff, len, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags)), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(sys_send, ) #endif #ifndef OVERRIDE_32_sys_accept4 -SC_TRACE_EVENT(sys_accept4, +SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(sys_accept4, ) #endif #ifndef OVERRIDE_32_sys_sendmmsg -SC_TRACE_EVENT(sys_sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(fd, mmsg, vlen, flags), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(sys_sendmmsg, ) #endif #ifndef OVERRIDE_32_sys_mount -SC_TRACE_EVENT(sys_mount, +SC_LTTNG_TRACEPOINT_EVENT(sys_mount, TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(dev_name, dir_name, type, flags, data), TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(sys_mount, ) #endif #ifndef OVERRIDE_32_sys_llseek -SC_TRACE_EVENT(sys_llseek, +SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), TP_ARGS(fd, offset_high, offset_low, result, origin), TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(sys_llseek, ) #endif #ifndef OVERRIDE_32_sys_select -SC_TRACE_EVENT(sys_select, +SC_LTTNG_TRACEPOINT_EVENT(sys_select, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(n, inp, outp, exp, tvp), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(sys_select, ) #endif #ifndef OVERRIDE_32_sys_pciconfig_read -SC_TRACE_EVENT(sys_pciconfig_read, +SC_LTTNG_TRACEPOINT_EVENT(sys_pciconfig_read, TP_PROTO(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), TP_ARGS(bus, dfn, off, len, buf), TP_STRUCT__entry(__field(unsigned long, bus) __field(unsigned long, dfn) __field(unsigned long, off) __field(unsigned long, len) __field_hex(void *, buf)), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(sys_pciconfig_read, ) #endif #ifndef OVERRIDE_32_sys_pciconfig_write -SC_TRACE_EVENT(sys_pciconfig_write, +SC_LTTNG_TRACEPOINT_EVENT(sys_pciconfig_write, TP_PROTO(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), TP_ARGS(bus, dfn, off, len, buf), TP_STRUCT__entry(__field(unsigned long, bus) __field(unsigned long, dfn) __field(unsigned long, off) __field(unsigned long, len) __field_hex(void *, buf)), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(sys_pciconfig_write, ) #endif #ifndef OVERRIDE_32_sys_setxattr -SC_TRACE_EVENT(sys_setxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(sys_setxattr, ) #endif #ifndef OVERRIDE_32_sys_lsetxattr -SC_TRACE_EVENT(sys_lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(pathname, name, value, size, flags), TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(sys_lsetxattr, ) #endif #ifndef OVERRIDE_32_sys_fsetxattr -SC_TRACE_EVENT(sys_fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(fd, name, value, size, flags), TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(sys_fsetxattr, ) #endif #ifndef OVERRIDE_32_sys_io_getevents -SC_TRACE_EVENT(sys_io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(sys_io_getevents, ) #endif #ifndef OVERRIDE_32_sys_mq_timedsend -SC_TRACE_EVENT(sys_mq_timedsend, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedsend, TP_PROTO(mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const char *, u_msg_ptr) __field(size_t, msg_len) __field(unsigned int, msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(sys_mq_timedsend, ) #endif #ifndef OVERRIDE_32_sys_mq_timedreceive -SC_TRACE_EVENT(sys_mq_timedreceive, +SC_LTTNG_TRACEPOINT_EVENT(sys_mq_timedreceive, TP_PROTO(mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(char *, u_msg_ptr) __field(size_t, msg_len) __field_hex(unsigned int *, u_msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(sys_mq_timedreceive, ) #endif #ifndef OVERRIDE_32_sys_add_key -SC_TRACE_EVENT(sys_add_key, +SC_LTTNG_TRACEPOINT_EVENT(sys_add_key, TP_PROTO(const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), TP_ARGS(_type, _description, _payload, plen, ringid), TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const void *, _payload) __field(size_t, plen) __field(key_serial_t, ringid)), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(sys_add_key, ) #endif #ifndef OVERRIDE_32_sys_waitid -SC_TRACE_EVENT(sys_waitid, +SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(which, upid, infop, options, ru), TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(sys_waitid, ) #endif #ifndef OVERRIDE_32_sys_ppoll -SC_TRACE_EVENT(sys_ppoll, +SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(sys_ppoll, ) #endif #ifndef OVERRIDE_32_sys_fchownat -SC_TRACE_EVENT(sys_fchownat, +SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(dfd, filename, user, group, flag), TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(sys_fchownat, ) #endif #ifndef OVERRIDE_32_sys_linkat -SC_TRACE_EVENT(sys_linkat, +SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(sys_linkat, ) #endif #ifndef OVERRIDE_32_sys_perf_event_open -SC_TRACE_EVENT(sys_perf_event_open, +SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(sys_perf_event_open, ) #endif #ifndef OVERRIDE_32_sys_preadv -SC_TRACE_EVENT(sys_preadv, +SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1630,7 +1630,7 @@ SC_TRACE_EVENT(sys_preadv, ) #endif #ifndef OVERRIDE_32_sys_pwritev -SC_TRACE_EVENT(sys_pwritev, +SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), @@ -1639,7 +1639,7 @@ SC_TRACE_EVENT(sys_pwritev, ) #endif #ifndef OVERRIDE_32_sys_setsockopt -SC_TRACE_EVENT(sys_setsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), @@ -1648,7 +1648,7 @@ SC_TRACE_EVENT(sys_setsockopt, ) #endif #ifndef OVERRIDE_32_sys_getsockopt -SC_TRACE_EVENT(sys_getsockopt, +SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(fd, level, optname, optval, optlen), TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), @@ -1657,7 +1657,7 @@ SC_TRACE_EVENT(sys_getsockopt, ) #endif #ifndef OVERRIDE_32_sys_recvmmsg -SC_TRACE_EVENT(sys_recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), @@ -1666,7 +1666,7 @@ SC_TRACE_EVENT(sys_recvmmsg, ) #endif #ifndef OVERRIDE_32_sys_ipc -SC_TRACE_EVENT(sys_ipc, +SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), TP_ARGS(call, first, second, third, ptr, fifth), TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), @@ -1675,7 +1675,7 @@ SC_TRACE_EVENT(sys_ipc, ) #endif #ifndef OVERRIDE_32_sys_futex -SC_TRACE_EVENT(sys_futex, +SC_LTTNG_TRACEPOINT_EVENT(sys_futex, TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), @@ -1684,7 +1684,7 @@ SC_TRACE_EVENT(sys_futex, ) #endif #ifndef OVERRIDE_32_sys_pselect6 -SC_TRACE_EVENT(sys_pselect6, +SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), @@ -1693,7 +1693,7 @@ SC_TRACE_EVENT(sys_pselect6, ) #endif #ifndef OVERRIDE_32_sys_splice -SC_TRACE_EVENT(sys_splice, +SC_LTTNG_TRACEPOINT_EVENT(sys_splice, TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), @@ -1702,7 +1702,7 @@ SC_TRACE_EVENT(sys_splice, ) #endif #ifndef OVERRIDE_32_sys_epoll_pwait -SC_TRACE_EVENT(sys_epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), @@ -1711,7 +1711,7 @@ SC_TRACE_EVENT(sys_epoll_pwait, ) #endif #ifndef OVERRIDE_32_sys_sendto -SC_TRACE_EVENT(sys_sendto, +SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, TP_PROTO(int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), TP_ARGS(fd, buff, len, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), @@ -1720,7 +1720,7 @@ SC_TRACE_EVENT(sys_sendto, ) #endif #ifndef OVERRIDE_32_sys_recvfrom -SC_TRACE_EVENT(sys_recvfrom, +SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, TP_PROTO(int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), TP_ARGS(fd, ubuf, size, flags, addr, addr_len), TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h index 7a5d1342..fdff68e9 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h @@ -2,7 +2,7 @@ #ifndef CREATE_SYSCALL_TABLE -SC_TRACE_EVENT(sys_mmap2, +SC_LTTNG_TRACEPOINT_EVENT(sys_mmap2, TP_PROTO(void *addr, size_t len, int prot, int flags, int fd, off_t pgoff), TP_ARGS(addr, len, prot, flags, fd, pgoff), diff --git a/instrumentation/syscalls/headers/syscalls_integers_override.h b/instrumentation/syscalls/headers/syscalls_integers_override.h index db913708..4bdde062 100644 --- a/instrumentation/syscalls/headers/syscalls_integers_override.h +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -3,7 +3,7 @@ #ifndef CREATE_SYSCALL_TABLE -SC_TRACE_EVENT(mmap, +SC_LTTNG_TRACEPOINT_EVENT(mmap, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len)) sc_in(__field(int, prot)) sc_in(__field(int, flags)) sc_in(__field(int, fd)) sc_in(__field(off_t, offset))), diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index b375395d..6d06098f 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -3,7 +3,7 @@ #ifndef CREATE_SYSCALL_TABLE -SC_TRACE_EVENT(execve, +SC_LTTNG_TRACEPOINT_EVENT(execve, TP_PROTO(sc_exit(long ret,) const char *filename, char *const *argv, char *const *envp), TP_ARGS(sc_exit(ret,) filename, argv, envp), TP_STRUCT__entry(sc_exit(__field(long, ret)) @@ -17,7 +17,7 @@ SC_TRACE_EVENT(execve, TP_printk() ) -SC_TRACE_EVENT(clone, +SC_LTTNG_TRACEPOINT_EVENT(clone, TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, void __user *parent_tid, void __user *child_tid), @@ -40,7 +40,7 @@ SC_TRACE_EVENT(clone, /* present in 32, missing in 64 due to old kernel headers */ #define OVERRIDE_32_getcpu #define OVERRIDE_64_getcpu -SC_TRACE_EVENT(getcpu, +SC_LTTNG_TRACEPOINT_EVENT(getcpu, TP_PROTO(sc_exit(long ret,) unsigned __user *cpup, unsigned __user *nodep, void *tcache), TP_ARGS(sc_exit(ret,) cpup, nodep, tcache), TP_STRUCT__entry( @@ -58,7 +58,7 @@ SC_TRACE_EVENT(getcpu, #define OVERRIDE_32_pipe #define OVERRIDE_64_pipe -SC_TRACE_EVENT(pipe, +SC_LTTNG_TRACEPOINT_EVENT(pipe, TP_PROTO(sc_exit(long ret,) int * fildes), TP_ARGS(sc_exit(ret,) fildes), TP_STRUCT__entry(sc_exit(__field(long, ret)) @@ -72,7 +72,7 @@ SC_TRACE_EVENT(pipe, #define OVERRIDE_32_pipe2 #define OVERRIDE_64_pipe2 -SC_TRACE_EVENT(pipe2, +SC_LTTNG_TRACEPOINT_EVENT(pipe2, TP_PROTO(sc_exit(long ret,) int * fildes, int flags), TP_ARGS(sc_exit(ret,) fildes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) 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 ba4ba604..e0e33f71 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 @@ -10,77 +10,77 @@ #include "syscalls_integers_override.h" #ifdef SC_ENTER -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_32_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif #ifndef OVERRIDE_32_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif #ifndef OVERRIDE_32_getuid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getuid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) #endif #ifndef OVERRIDE_32_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif #ifndef OVERRIDE_32_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif #ifndef OVERRIDE_32_getgid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getgid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) #endif #ifndef OVERRIDE_32_geteuid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, geteuid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) #endif #ifndef OVERRIDE_32_getegid16 -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getegid16) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) #endif #ifndef OVERRIDE_32_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif #ifndef OVERRIDE_32_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif #ifndef OVERRIDE_32_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif #ifndef OVERRIDE_32_sgetmask -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sgetmask) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) #endif #ifndef OVERRIDE_32_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif #ifndef OVERRIDE_32_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif #ifndef OVERRIDE_32_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif #ifndef OVERRIDE_32_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif #ifndef OVERRIDE_32_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif #ifndef OVERRIDE_32_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif #ifndef OVERRIDE_32_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif #ifndef OVERRIDE_32_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif #ifndef OVERRIDE_32_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif #else /* #ifdef SC_ENTER */ #ifndef OVERRIDE_32_restart_syscall -SC_TRACE_EVENT(restart_syscall, +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -89,7 +89,7 @@ SC_TRACE_EVENT(restart_syscall, ) #endif #ifndef OVERRIDE_32_getpid -SC_TRACE_EVENT(getpid, +SC_LTTNG_TRACEPOINT_EVENT(getpid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -98,7 +98,7 @@ SC_TRACE_EVENT(getpid, ) #endif #ifndef OVERRIDE_32_getuid16 -SC_TRACE_EVENT(getuid16, +SC_LTTNG_TRACEPOINT_EVENT(getuid16, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -107,7 +107,7 @@ SC_TRACE_EVENT(getuid16, ) #endif #ifndef OVERRIDE_32_pause -SC_TRACE_EVENT(pause, +SC_LTTNG_TRACEPOINT_EVENT(pause, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -116,7 +116,7 @@ SC_TRACE_EVENT(pause, ) #endif #ifndef OVERRIDE_32_sync -SC_TRACE_EVENT(sync, +SC_LTTNG_TRACEPOINT_EVENT(sync, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -125,7 +125,7 @@ SC_TRACE_EVENT(sync, ) #endif #ifndef OVERRIDE_32_getgid16 -SC_TRACE_EVENT(getgid16, +SC_LTTNG_TRACEPOINT_EVENT(getgid16, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -134,7 +134,7 @@ SC_TRACE_EVENT(getgid16, ) #endif #ifndef OVERRIDE_32_geteuid16 -SC_TRACE_EVENT(geteuid16, +SC_LTTNG_TRACEPOINT_EVENT(geteuid16, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -143,7 +143,7 @@ SC_TRACE_EVENT(geteuid16, ) #endif #ifndef OVERRIDE_32_getegid16 -SC_TRACE_EVENT(getegid16, +SC_LTTNG_TRACEPOINT_EVENT(getegid16, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -152,7 +152,7 @@ SC_TRACE_EVENT(getegid16, ) #endif #ifndef OVERRIDE_32_getppid -SC_TRACE_EVENT(getppid, +SC_LTTNG_TRACEPOINT_EVENT(getppid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -161,7 +161,7 @@ SC_TRACE_EVENT(getppid, ) #endif #ifndef OVERRIDE_32_getpgrp -SC_TRACE_EVENT(getpgrp, +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -170,7 +170,7 @@ SC_TRACE_EVENT(getpgrp, ) #endif #ifndef OVERRIDE_32_setsid -SC_TRACE_EVENT(setsid, +SC_LTTNG_TRACEPOINT_EVENT(setsid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -179,7 +179,7 @@ SC_TRACE_EVENT(setsid, ) #endif #ifndef OVERRIDE_32_sgetmask -SC_TRACE_EVENT(sgetmask, +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -188,7 +188,7 @@ SC_TRACE_EVENT(sgetmask, ) #endif #ifndef OVERRIDE_32_vhangup -SC_TRACE_EVENT(vhangup, +SC_LTTNG_TRACEPOINT_EVENT(vhangup, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -197,7 +197,7 @@ SC_TRACE_EVENT(vhangup, ) #endif #ifndef OVERRIDE_32_munlockall -SC_TRACE_EVENT(munlockall, +SC_LTTNG_TRACEPOINT_EVENT(munlockall, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -206,7 +206,7 @@ SC_TRACE_EVENT(munlockall, ) #endif #ifndef OVERRIDE_32_sched_yield -SC_TRACE_EVENT(sched_yield, +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -215,7 +215,7 @@ SC_TRACE_EVENT(sched_yield, ) #endif #ifndef OVERRIDE_32_getuid -SC_TRACE_EVENT(getuid, +SC_LTTNG_TRACEPOINT_EVENT(getuid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -224,7 +224,7 @@ SC_TRACE_EVENT(getuid, ) #endif #ifndef OVERRIDE_32_getgid -SC_TRACE_EVENT(getgid, +SC_LTTNG_TRACEPOINT_EVENT(getgid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -233,7 +233,7 @@ SC_TRACE_EVENT(getgid, ) #endif #ifndef OVERRIDE_32_geteuid -SC_TRACE_EVENT(geteuid, +SC_LTTNG_TRACEPOINT_EVENT(geteuid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -242,7 +242,7 @@ SC_TRACE_EVENT(geteuid, ) #endif #ifndef OVERRIDE_32_getegid -SC_TRACE_EVENT(getegid, +SC_LTTNG_TRACEPOINT_EVENT(getegid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -251,7 +251,7 @@ SC_TRACE_EVENT(getegid, ) #endif #ifndef OVERRIDE_32_gettid -SC_TRACE_EVENT(gettid, +SC_LTTNG_TRACEPOINT_EVENT(gettid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -260,7 +260,7 @@ SC_TRACE_EVENT(gettid, ) #endif #ifndef OVERRIDE_32_inotify_init -SC_TRACE_EVENT(inotify_init, +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -270,7 +270,7 @@ SC_TRACE_EVENT(inotify_init, #endif #endif /* else #ifdef SC_ENTER */ #ifndef OVERRIDE_32_exit -SC_TRACE_EVENT(exit, +SC_LTTNG_TRACEPOINT_EVENT(exit, TP_PROTO(sc_exit(long ret,) int error_code), TP_ARGS(sc_exit(ret,) error_code), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), @@ -279,7 +279,7 @@ SC_TRACE_EVENT(exit, ) #endif #ifndef OVERRIDE_32_close -SC_TRACE_EVENT(close, +SC_LTTNG_TRACEPOINT_EVENT(close, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -288,7 +288,7 @@ SC_TRACE_EVENT(close, ) #endif #ifndef OVERRIDE_32_setuid16 -SC_TRACE_EVENT(setuid16, +SC_LTTNG_TRACEPOINT_EVENT(setuid16, TP_PROTO(sc_exit(long ret,) old_uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), @@ -297,7 +297,7 @@ SC_TRACE_EVENT(setuid16, ) #endif #ifndef OVERRIDE_32_alarm -SC_TRACE_EVENT(alarm, +SC_LTTNG_TRACEPOINT_EVENT(alarm, TP_PROTO(sc_exit(long ret,) unsigned int seconds), TP_ARGS(sc_exit(ret,) seconds), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), @@ -306,7 +306,7 @@ SC_TRACE_EVENT(alarm, ) #endif #ifndef OVERRIDE_32_nice -SC_TRACE_EVENT(nice, +SC_LTTNG_TRACEPOINT_EVENT(nice, TP_PROTO(sc_exit(long ret,) int increment), TP_ARGS(sc_exit(ret,) increment), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), @@ -315,7 +315,7 @@ SC_TRACE_EVENT(nice, ) #endif #ifndef OVERRIDE_32_dup -SC_TRACE_EVENT(dup, +SC_LTTNG_TRACEPOINT_EVENT(dup, TP_PROTO(sc_exit(long ret,) unsigned int fildes), TP_ARGS(sc_exit(ret,) fildes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), @@ -324,7 +324,7 @@ SC_TRACE_EVENT(dup, ) #endif #ifndef OVERRIDE_32_brk -SC_TRACE_EVENT(brk, +SC_LTTNG_TRACEPOINT_EVENT(brk, TP_PROTO(sc_exit(long ret,) unsigned long brk), TP_ARGS(sc_exit(ret,) brk), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), @@ -333,7 +333,7 @@ SC_TRACE_EVENT(brk, ) #endif #ifndef OVERRIDE_32_setgid16 -SC_TRACE_EVENT(setgid16, +SC_LTTNG_TRACEPOINT_EVENT(setgid16, TP_PROTO(sc_exit(long ret,) old_gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), @@ -342,7 +342,7 @@ SC_TRACE_EVENT(setgid16, ) #endif #ifndef OVERRIDE_32_umask -SC_TRACE_EVENT(umask, +SC_LTTNG_TRACEPOINT_EVENT(umask, TP_PROTO(sc_exit(long ret,) int mask), TP_ARGS(sc_exit(ret,) mask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), @@ -351,7 +351,7 @@ SC_TRACE_EVENT(umask, ) #endif #ifndef OVERRIDE_32_ssetmask -SC_TRACE_EVENT(ssetmask, +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, TP_PROTO(sc_exit(long ret,) int newmask), TP_ARGS(sc_exit(ret,) newmask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, newmask))), @@ -360,7 +360,7 @@ SC_TRACE_EVENT(ssetmask, ) #endif #ifndef OVERRIDE_32_fsync -SC_TRACE_EVENT(fsync, +SC_LTTNG_TRACEPOINT_EVENT(fsync, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -369,7 +369,7 @@ SC_TRACE_EVENT(fsync, ) #endif #ifndef OVERRIDE_32_getpgid -SC_TRACE_EVENT(getpgid, +SC_LTTNG_TRACEPOINT_EVENT(getpgid, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -378,7 +378,7 @@ SC_TRACE_EVENT(getpgid, ) #endif #ifndef OVERRIDE_32_fchdir -SC_TRACE_EVENT(fchdir, +SC_LTTNG_TRACEPOINT_EVENT(fchdir, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -387,7 +387,7 @@ SC_TRACE_EVENT(fchdir, ) #endif #ifndef OVERRIDE_32_personality -SC_TRACE_EVENT(personality, +SC_LTTNG_TRACEPOINT_EVENT(personality, TP_PROTO(sc_exit(long ret,) unsigned int personality), TP_ARGS(sc_exit(ret,) personality), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), @@ -396,7 +396,7 @@ SC_TRACE_EVENT(personality, ) #endif #ifndef OVERRIDE_32_setfsuid16 -SC_TRACE_EVENT(setfsuid16, +SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, TP_PROTO(sc_exit(long ret,) old_uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), @@ -405,7 +405,7 @@ SC_TRACE_EVENT(setfsuid16, ) #endif #ifndef OVERRIDE_32_setfsgid16 -SC_TRACE_EVENT(setfsgid16, +SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, TP_PROTO(sc_exit(long ret,) old_gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), @@ -414,7 +414,7 @@ SC_TRACE_EVENT(setfsgid16, ) #endif #ifndef OVERRIDE_32_getsid -SC_TRACE_EVENT(getsid, +SC_LTTNG_TRACEPOINT_EVENT(getsid, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -423,7 +423,7 @@ SC_TRACE_EVENT(getsid, ) #endif #ifndef OVERRIDE_32_fdatasync -SC_TRACE_EVENT(fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -432,7 +432,7 @@ SC_TRACE_EVENT(fdatasync, ) #endif #ifndef OVERRIDE_32_mlockall -SC_TRACE_EVENT(mlockall, +SC_LTTNG_TRACEPOINT_EVENT(mlockall, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -441,7 +441,7 @@ SC_TRACE_EVENT(mlockall, ) #endif #ifndef OVERRIDE_32_sched_getscheduler -SC_TRACE_EVENT(sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -450,7 +450,7 @@ SC_TRACE_EVENT(sched_getscheduler, ) #endif #ifndef OVERRIDE_32_sched_get_priority_max -SC_TRACE_EVENT(sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, TP_PROTO(sc_exit(long ret,) int policy), TP_ARGS(sc_exit(ret,) policy), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), @@ -459,7 +459,7 @@ SC_TRACE_EVENT(sched_get_priority_max, ) #endif #ifndef OVERRIDE_32_sched_get_priority_min -SC_TRACE_EVENT(sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, TP_PROTO(sc_exit(long ret,) int policy), TP_ARGS(sc_exit(ret,) policy), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), @@ -468,7 +468,7 @@ SC_TRACE_EVENT(sched_get_priority_min, ) #endif #ifndef OVERRIDE_32_setuid -SC_TRACE_EVENT(setuid, +SC_LTTNG_TRACEPOINT_EVENT(setuid, TP_PROTO(sc_exit(long ret,) uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), @@ -477,7 +477,7 @@ SC_TRACE_EVENT(setuid, ) #endif #ifndef OVERRIDE_32_setgid -SC_TRACE_EVENT(setgid, +SC_LTTNG_TRACEPOINT_EVENT(setgid, TP_PROTO(sc_exit(long ret,) gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), @@ -486,7 +486,7 @@ SC_TRACE_EVENT(setgid, ) #endif #ifndef OVERRIDE_32_setfsuid -SC_TRACE_EVENT(setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, TP_PROTO(sc_exit(long ret,) uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), @@ -495,7 +495,7 @@ SC_TRACE_EVENT(setfsuid, ) #endif #ifndef OVERRIDE_32_setfsgid -SC_TRACE_EVENT(setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, TP_PROTO(sc_exit(long ret,) gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), @@ -504,7 +504,7 @@ SC_TRACE_EVENT(setfsgid, ) #endif #ifndef OVERRIDE_32_io_destroy -SC_TRACE_EVENT(io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, TP_PROTO(sc_exit(long ret,) aio_context_t ctx), TP_ARGS(sc_exit(ret,) ctx), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), @@ -513,7 +513,7 @@ SC_TRACE_EVENT(io_destroy, ) #endif #ifndef OVERRIDE_32_exit_group -SC_TRACE_EVENT(exit_group, +SC_LTTNG_TRACEPOINT_EVENT(exit_group, TP_PROTO(sc_exit(long ret,) int error_code), TP_ARGS(sc_exit(ret,) error_code), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), @@ -522,7 +522,7 @@ SC_TRACE_EVENT(exit_group, ) #endif #ifndef OVERRIDE_32_epoll_create -SC_TRACE_EVENT(epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, TP_PROTO(sc_exit(long ret,) int size), TP_ARGS(sc_exit(ret,) size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), @@ -531,7 +531,7 @@ SC_TRACE_EVENT(epoll_create, ) #endif #ifndef OVERRIDE_32_timer_getoverrun -SC_TRACE_EVENT(timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, TP_PROTO(sc_exit(long ret,) timer_t timer_id), TP_ARGS(sc_exit(ret,) timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), @@ -540,7 +540,7 @@ SC_TRACE_EVENT(timer_getoverrun, ) #endif #ifndef OVERRIDE_32_timer_delete -SC_TRACE_EVENT(timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, TP_PROTO(sc_exit(long ret,) timer_t timer_id), TP_ARGS(sc_exit(ret,) timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), @@ -549,7 +549,7 @@ SC_TRACE_EVENT(timer_delete, ) #endif #ifndef OVERRIDE_32_unshare -SC_TRACE_EVENT(unshare, +SC_LTTNG_TRACEPOINT_EVENT(unshare, TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), TP_ARGS(sc_exit(ret,) unshare_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), @@ -558,7 +558,7 @@ SC_TRACE_EVENT(unshare, ) #endif #ifndef OVERRIDE_32_eventfd -SC_TRACE_EVENT(eventfd, +SC_LTTNG_TRACEPOINT_EVENT(eventfd, TP_PROTO(sc_exit(long ret,) unsigned int count), TP_ARGS(sc_exit(ret,) count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), @@ -567,7 +567,7 @@ SC_TRACE_EVENT(eventfd, ) #endif #ifndef OVERRIDE_32_epoll_create1 -SC_TRACE_EVENT(epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -576,7 +576,7 @@ SC_TRACE_EVENT(epoll_create1, ) #endif #ifndef OVERRIDE_32_inotify_init1 -SC_TRACE_EVENT(inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -585,7 +585,7 @@ SC_TRACE_EVENT(inotify_init1, ) #endif #ifndef OVERRIDE_32_syncfs -SC_TRACE_EVENT(syncfs, +SC_LTTNG_TRACEPOINT_EVENT(syncfs, TP_PROTO(sc_exit(long ret,) int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), @@ -594,7 +594,7 @@ SC_TRACE_EVENT(syncfs, ) #endif #ifndef OVERRIDE_32_kill -SC_TRACE_EVENT(kill, +SC_LTTNG_TRACEPOINT_EVENT(kill, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), TP_ARGS(sc_exit(ret,) pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -603,7 +603,7 @@ SC_TRACE_EVENT(kill, ) #endif #ifndef OVERRIDE_32_signal -SC_TRACE_EVENT(signal, +SC_LTTNG_TRACEPOINT_EVENT(signal, TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), TP_ARGS(sc_exit(ret,) sig, handler), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, sig)) sc_inout(__field(__sighandler_t, handler))), @@ -612,7 +612,7 @@ SC_TRACE_EVENT(signal, ) #endif #ifndef OVERRIDE_32_setpgid -SC_TRACE_EVENT(setpgid, +SC_LTTNG_TRACEPOINT_EVENT(setpgid, TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), TP_ARGS(sc_exit(ret,) pid, pgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), @@ -621,7 +621,7 @@ SC_TRACE_EVENT(setpgid, ) #endif #ifndef OVERRIDE_32_dup2 -SC_TRACE_EVENT(dup2, +SC_LTTNG_TRACEPOINT_EVENT(dup2, TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), TP_ARGS(sc_exit(ret,) oldfd, newfd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), @@ -630,7 +630,7 @@ SC_TRACE_EVENT(dup2, ) #endif #ifndef OVERRIDE_32_setreuid16 -SC_TRACE_EVENT(setreuid16, +SC_LTTNG_TRACEPOINT_EVENT(setreuid16, TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), TP_ARGS(sc_exit(ret,) ruid, euid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid))), @@ -639,7 +639,7 @@ SC_TRACE_EVENT(setreuid16, ) #endif #ifndef OVERRIDE_32_setregid16 -SC_TRACE_EVENT(setregid16, +SC_LTTNG_TRACEPOINT_EVENT(setregid16, TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), TP_ARGS(sc_exit(ret,) rgid, egid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid))), @@ -648,7 +648,7 @@ SC_TRACE_EVENT(setregid16, ) #endif #ifndef OVERRIDE_32_munmap -SC_TRACE_EVENT(munmap, +SC_LTTNG_TRACEPOINT_EVENT(munmap, TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), TP_ARGS(sc_exit(ret,) addr, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), @@ -657,7 +657,7 @@ SC_TRACE_EVENT(munmap, ) #endif #ifndef OVERRIDE_32_ftruncate -SC_TRACE_EVENT(ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), TP_ARGS(sc_exit(ret,) fd, length), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), @@ -666,7 +666,7 @@ SC_TRACE_EVENT(ftruncate, ) #endif #ifndef OVERRIDE_32_fchmod -SC_TRACE_EVENT(fchmod, +SC_LTTNG_TRACEPOINT_EVENT(fchmod, TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), TP_ARGS(sc_exit(ret,) fd, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(mode_t, mode))), @@ -675,7 +675,7 @@ SC_TRACE_EVENT(fchmod, ) #endif #ifndef OVERRIDE_32_getpriority -SC_TRACE_EVENT(getpriority, +SC_LTTNG_TRACEPOINT_EVENT(getpriority, TP_PROTO(sc_exit(long ret,) int which, int who), TP_ARGS(sc_exit(ret,) which, who), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), @@ -684,7 +684,7 @@ SC_TRACE_EVENT(getpriority, ) #endif #ifndef OVERRIDE_32_bdflush -SC_TRACE_EVENT(bdflush, +SC_LTTNG_TRACEPOINT_EVENT(bdflush, TP_PROTO(sc_exit(long ret,) int func, long data), TP_ARGS(sc_exit(ret,) func, data), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), @@ -693,7 +693,7 @@ SC_TRACE_EVENT(bdflush, ) #endif #ifndef OVERRIDE_32_flock -SC_TRACE_EVENT(flock, +SC_LTTNG_TRACEPOINT_EVENT(flock, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), TP_ARGS(sc_exit(ret,) fd, cmd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), @@ -702,7 +702,7 @@ SC_TRACE_EVENT(flock, ) #endif #ifndef OVERRIDE_32_mlock -SC_TRACE_EVENT(mlock, +SC_LTTNG_TRACEPOINT_EVENT(mlock, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), TP_ARGS(sc_exit(ret,) start, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), @@ -711,7 +711,7 @@ SC_TRACE_EVENT(mlock, ) #endif #ifndef OVERRIDE_32_munlock -SC_TRACE_EVENT(munlock, +SC_LTTNG_TRACEPOINT_EVENT(munlock, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), TP_ARGS(sc_exit(ret,) start, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), @@ -720,7 +720,7 @@ SC_TRACE_EVENT(munlock, ) #endif #ifndef OVERRIDE_32_setreuid -SC_TRACE_EVENT(setreuid, +SC_LTTNG_TRACEPOINT_EVENT(setreuid, TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), TP_ARGS(sc_exit(ret,) ruid, euid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), @@ -729,7 +729,7 @@ SC_TRACE_EVENT(setreuid, ) #endif #ifndef OVERRIDE_32_setregid -SC_TRACE_EVENT(setregid, +SC_LTTNG_TRACEPOINT_EVENT(setregid, TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), TP_ARGS(sc_exit(ret,) rgid, egid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), @@ -738,7 +738,7 @@ SC_TRACE_EVENT(setregid, ) #endif #ifndef OVERRIDE_32_tkill -SC_TRACE_EVENT(tkill, +SC_LTTNG_TRACEPOINT_EVENT(tkill, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), TP_ARGS(sc_exit(ret,) pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -747,7 +747,7 @@ SC_TRACE_EVENT(tkill, ) #endif #ifndef OVERRIDE_32_ioprio_get -SC_TRACE_EVENT(ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, TP_PROTO(sc_exit(long ret,) int which, int who), TP_ARGS(sc_exit(ret,) which, who), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), @@ -756,7 +756,7 @@ SC_TRACE_EVENT(ioprio_get, ) #endif #ifndef OVERRIDE_32_inotify_rm_watch -SC_TRACE_EVENT(inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), TP_ARGS(sc_exit(ret,) fd, wd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), @@ -765,7 +765,7 @@ SC_TRACE_EVENT(inotify_rm_watch, ) #endif #ifndef OVERRIDE_32_timerfd_create -SC_TRACE_EVENT(timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, TP_PROTO(sc_exit(long ret,) int clockid, int flags), TP_ARGS(sc_exit(ret,) clockid, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), @@ -774,7 +774,7 @@ SC_TRACE_EVENT(timerfd_create, ) #endif #ifndef OVERRIDE_32_eventfd2 -SC_TRACE_EVENT(eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), TP_ARGS(sc_exit(ret,) count, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), @@ -783,7 +783,7 @@ SC_TRACE_EVENT(eventfd2, ) #endif #ifndef OVERRIDE_32_fanotify_init -SC_TRACE_EVENT(fanotify_init, +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), TP_ARGS(sc_exit(ret,) flags, event_f_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, flags)) sc_in(__field(unsigned int, event_f_flags))), @@ -792,7 +792,7 @@ SC_TRACE_EVENT(fanotify_init, ) #endif #ifndef OVERRIDE_32_setns -SC_TRACE_EVENT(setns, +SC_LTTNG_TRACEPOINT_EVENT(setns, TP_PROTO(sc_exit(long ret,) int fd, int nstype), TP_ARGS(sc_exit(ret,) fd, nstype), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), @@ -801,7 +801,7 @@ SC_TRACE_EVENT(setns, ) #endif #ifndef OVERRIDE_32_lseek -SC_TRACE_EVENT(lseek, +SC_LTTNG_TRACEPOINT_EVENT(lseek, TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), TP_ARGS(sc_exit(ret,) fd, offset, origin), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, origin))), @@ -810,7 +810,7 @@ SC_TRACE_EVENT(lseek, ) #endif #ifndef OVERRIDE_32_ioctl -SC_TRACE_EVENT(ioctl, +SC_LTTNG_TRACEPOINT_EVENT(ioctl, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) fd, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -819,7 +819,7 @@ SC_TRACE_EVENT(ioctl, ) #endif #ifndef OVERRIDE_32_fcntl -SC_TRACE_EVENT(fcntl, +SC_LTTNG_TRACEPOINT_EVENT(fcntl, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) fd, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -828,7 +828,7 @@ SC_TRACE_EVENT(fcntl, ) #endif #ifndef OVERRIDE_32_fchown16 -SC_TRACE_EVENT(fchown16, +SC_LTTNG_TRACEPOINT_EVENT(fchown16, TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), TP_ARGS(sc_exit(ret,) fd, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), @@ -837,7 +837,7 @@ SC_TRACE_EVENT(fchown16, ) #endif #ifndef OVERRIDE_32_setpriority -SC_TRACE_EVENT(setpriority, +SC_LTTNG_TRACEPOINT_EVENT(setpriority, TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), TP_ARGS(sc_exit(ret,) which, who, niceval), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), @@ -846,7 +846,7 @@ SC_TRACE_EVENT(setpriority, ) #endif #ifndef OVERRIDE_32_mprotect -SC_TRACE_EVENT(mprotect, +SC_LTTNG_TRACEPOINT_EVENT(mprotect, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), TP_ARGS(sc_exit(ret,) start, len, prot), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), @@ -855,7 +855,7 @@ SC_TRACE_EVENT(mprotect, ) #endif #ifndef OVERRIDE_32_sysfs -SC_TRACE_EVENT(sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sysfs, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), TP_ARGS(sc_exit(ret,) option, arg1, arg2), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), @@ -864,7 +864,7 @@ SC_TRACE_EVENT(sysfs, ) #endif #ifndef OVERRIDE_32_msync -SC_TRACE_EVENT(msync, +SC_LTTNG_TRACEPOINT_EVENT(msync, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), TP_ARGS(sc_exit(ret,) start, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), @@ -873,7 +873,7 @@ SC_TRACE_EVENT(msync, ) #endif #ifndef OVERRIDE_32_setresuid16 -SC_TRACE_EVENT(setresuid16, +SC_LTTNG_TRACEPOINT_EVENT(setresuid16, TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), TP_ARGS(sc_exit(ret,) ruid, euid, suid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid)) sc_inout(__field(old_uid_t, suid))), @@ -882,7 +882,7 @@ SC_TRACE_EVENT(setresuid16, ) #endif #ifndef OVERRIDE_32_setresgid16 -SC_TRACE_EVENT(setresgid16, +SC_LTTNG_TRACEPOINT_EVENT(setresgid16, TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), TP_ARGS(sc_exit(ret,) rgid, egid, sgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid)) sc_inout(__field(old_gid_t, sgid))), @@ -891,7 +891,7 @@ SC_TRACE_EVENT(setresgid16, ) #endif #ifndef OVERRIDE_32_fchown -SC_TRACE_EVENT(fchown, +SC_LTTNG_TRACEPOINT_EVENT(fchown, TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) fd, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -900,7 +900,7 @@ SC_TRACE_EVENT(fchown, ) #endif #ifndef OVERRIDE_32_setresuid -SC_TRACE_EVENT(setresuid, +SC_LTTNG_TRACEPOINT_EVENT(setresuid, TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(sc_exit(ret,) ruid, euid, suid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), @@ -909,7 +909,7 @@ SC_TRACE_EVENT(setresuid, ) #endif #ifndef OVERRIDE_32_setresgid -SC_TRACE_EVENT(setresgid, +SC_LTTNG_TRACEPOINT_EVENT(setresgid, TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(sc_exit(ret,) rgid, egid, sgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), @@ -918,7 +918,7 @@ SC_TRACE_EVENT(setresgid, ) #endif #ifndef OVERRIDE_32_madvise -SC_TRACE_EVENT(madvise, +SC_LTTNG_TRACEPOINT_EVENT(madvise, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), TP_ARGS(sc_exit(ret,) start, len_in, behavior), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), @@ -927,7 +927,7 @@ SC_TRACE_EVENT(madvise, ) #endif #ifndef OVERRIDE_32_fcntl64 -SC_TRACE_EVENT(fcntl64, +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) fd, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -936,7 +936,7 @@ SC_TRACE_EVENT(fcntl64, ) #endif #ifndef OVERRIDE_32_tgkill -SC_TRACE_EVENT(tgkill, +SC_LTTNG_TRACEPOINT_EVENT(tgkill, TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), TP_ARGS(sc_exit(ret,) tgid, pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -945,7 +945,7 @@ SC_TRACE_EVENT(tgkill, ) #endif #ifndef OVERRIDE_32_ioprio_set -SC_TRACE_EVENT(ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), TP_ARGS(sc_exit(ret,) which, who, ioprio), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), @@ -954,7 +954,7 @@ SC_TRACE_EVENT(ioprio_set, ) #endif #ifndef OVERRIDE_32_dup3 -SC_TRACE_EVENT(dup3, +SC_LTTNG_TRACEPOINT_EVENT(dup3, TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), @@ -963,7 +963,7 @@ SC_TRACE_EVENT(dup3, ) #endif #ifndef OVERRIDE_32_ptrace -SC_TRACE_EVENT(ptrace, +SC_LTTNG_TRACEPOINT_EVENT(ptrace, TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(sc_exit(ret,) request, pid, addr, data), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), @@ -972,7 +972,7 @@ SC_TRACE_EVENT(ptrace, ) #endif #ifndef OVERRIDE_32_tee -SC_TRACE_EVENT(tee, +SC_LTTNG_TRACEPOINT_EVENT(tee, TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), @@ -981,7 +981,7 @@ SC_TRACE_EVENT(tee, ) #endif #ifndef OVERRIDE_32_mremap -SC_TRACE_EVENT(mremap, +SC_LTTNG_TRACEPOINT_EVENT(mremap, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), @@ -990,7 +990,7 @@ SC_TRACE_EVENT(mremap, ) #endif #ifndef OVERRIDE_32_prctl -SC_TRACE_EVENT(prctl, +SC_LTTNG_TRACEPOINT_EVENT(prctl, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), @@ -999,7 +999,7 @@ SC_TRACE_EVENT(prctl, ) #endif #ifndef OVERRIDE_32_remap_file_pages -SC_TRACE_EVENT(remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), @@ -1008,7 +1008,7 @@ SC_TRACE_EVENT(remap_file_pages, ) #endif #ifndef OVERRIDE_32_keyctl -SC_TRACE_EVENT(keyctl, +SC_LTTNG_TRACEPOINT_EVENT(keyctl, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_inout(__field(unsigned long, arg3)) sc_inout(__field(unsigned long, arg4)) sc_inout(__field(unsigned long, arg5))), @@ -1017,7 +1017,7 @@ SC_TRACE_EVENT(keyctl, ) #endif #ifndef OVERRIDE_32_mmap_pgoff -SC_TRACE_EVENT(mmap_pgoff, +SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(unsigned long, pgoff))), 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 c1e8c49b..1cd5bdc3 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 @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_unlink -SC_TRACE_EVENT(unlink, +SC_LTTNG_TRACEPOINT_EVENT(unlink, TP_PROTO(sc_exit(long ret,) const char * pathname), TP_ARGS(sc_exit(ret,) pathname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(unlink, ) #endif #ifndef OVERRIDE_32_chdir -SC_TRACE_EVENT(chdir, +SC_LTTNG_TRACEPOINT_EVENT(chdir, TP_PROTO(sc_exit(long ret,) const char * filename), TP_ARGS(sc_exit(ret,) filename), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(chdir, ) #endif #ifndef OVERRIDE_32_time -SC_TRACE_EVENT(time, +SC_LTTNG_TRACEPOINT_EVENT(time, TP_PROTO(sc_exit(long ret,) time_t * tloc), TP_ARGS(sc_exit(ret,) tloc), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(time, ) #endif #ifndef OVERRIDE_32_oldumount -SC_TRACE_EVENT(oldumount, +SC_LTTNG_TRACEPOINT_EVENT(oldumount, TP_PROTO(sc_exit(long ret,) char * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(name, name))), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(oldumount, ) #endif #ifndef OVERRIDE_32_stime -SC_TRACE_EVENT(stime, +SC_LTTNG_TRACEPOINT_EVENT(stime, TP_PROTO(sc_exit(long ret,) time_t * tptr), TP_ARGS(sc_exit(ret,) tptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(time_t *, tptr))), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(stime, ) #endif #ifndef OVERRIDE_32_rmdir -SC_TRACE_EVENT(rmdir, +SC_LTTNG_TRACEPOINT_EVENT(rmdir, TP_PROTO(sc_exit(long ret,) const char * pathname), TP_ARGS(sc_exit(ret,) pathname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(rmdir, ) #endif #ifndef OVERRIDE_32_pipe -SC_TRACE_EVENT(pipe, +SC_LTTNG_TRACEPOINT_EVENT(pipe, TP_PROTO(sc_exit(long ret,) int * fildes), TP_ARGS(sc_exit(ret,) fildes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(pipe, ) #endif #ifndef OVERRIDE_32_times -SC_TRACE_EVENT(times, +SC_LTTNG_TRACEPOINT_EVENT(times, TP_PROTO(sc_exit(long ret,) struct tms * tbuf), TP_ARGS(sc_exit(ret,) tbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(times, ) #endif #ifndef OVERRIDE_32_acct -SC_TRACE_EVENT(acct, +SC_LTTNG_TRACEPOINT_EVENT(acct, TP_PROTO(sc_exit(long ret,) const char * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(acct, ) #endif #ifndef OVERRIDE_32_olduname -SC_TRACE_EVENT(olduname, +SC_LTTNG_TRACEPOINT_EVENT(olduname, TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct oldold_utsname *, name))), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(olduname, ) #endif #ifndef OVERRIDE_32_chroot -SC_TRACE_EVENT(chroot, +SC_LTTNG_TRACEPOINT_EVENT(chroot, TP_PROTO(sc_exit(long ret,) const char * filename), TP_ARGS(sc_exit(ret,) filename), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(chroot, ) #endif #ifndef OVERRIDE_32_sigpending -SC_TRACE_EVENT(sigpending, +SC_LTTNG_TRACEPOINT_EVENT(sigpending, TP_PROTO(sc_exit(long ret,) old_sigset_t * set), TP_ARGS(sc_exit(ret,) set), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_sigset_t *, set))), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(sigpending, ) #endif #ifndef OVERRIDE_32_old_select -SC_TRACE_EVENT(old_select, +SC_LTTNG_TRACEPOINT_EVENT(old_select, TP_PROTO(sc_exit(long ret,) struct sel_arg_struct * arg), TP_ARGS(sc_exit(ret,) arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct sel_arg_struct *, arg))), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(old_select, ) #endif #ifndef OVERRIDE_32_uselib -SC_TRACE_EVENT(uselib, +SC_LTTNG_TRACEPOINT_EVENT(uselib, TP_PROTO(sc_exit(long ret,) const char * library), TP_ARGS(sc_exit(ret,) library), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(uselib, ) #endif #ifndef OVERRIDE_32_old_mmap -SC_TRACE_EVENT(old_mmap, +SC_LTTNG_TRACEPOINT_EVENT(old_mmap, TP_PROTO(sc_exit(long ret,) struct mmap_arg_struct * arg), TP_ARGS(sc_exit(ret,) arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct mmap_arg_struct *, arg))), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(old_mmap, ) #endif #ifndef OVERRIDE_32_uname -SC_TRACE_EVENT(uname, +SC_LTTNG_TRACEPOINT_EVENT(uname, TP_PROTO(sc_exit(long ret,) struct old_utsname * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct old_utsname *, name))), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(uname, ) #endif #ifndef OVERRIDE_32_swapoff -SC_TRACE_EVENT(swapoff, +SC_LTTNG_TRACEPOINT_EVENT(swapoff, TP_PROTO(sc_exit(long ret,) const char * specialfile), TP_ARGS(sc_exit(ret,) specialfile), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(swapoff, ) #endif #ifndef OVERRIDE_32_sysinfo -SC_TRACE_EVENT(sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, TP_PROTO(sc_exit(long ret,) struct sysinfo * info), TP_ARGS(sc_exit(ret,) info), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(sysinfo, ) #endif #ifndef OVERRIDE_32_newuname -SC_TRACE_EVENT(newuname, +SC_LTTNG_TRACEPOINT_EVENT(newuname, TP_PROTO(sc_exit(long ret,) struct new_utsname * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(newuname, ) #endif #ifndef OVERRIDE_32_adjtimex -SC_TRACE_EVENT(adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, TP_PROTO(sc_exit(long ret,) struct timex * txc_p), TP_ARGS(sc_exit(ret,) txc_p), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(adjtimex, ) #endif #ifndef OVERRIDE_32_sysctl -SC_TRACE_EVENT(sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sysctl, TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), TP_ARGS(sc_exit(ret,) args), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(sysctl, ) #endif #ifndef OVERRIDE_32_set_tid_address -SC_TRACE_EVENT(set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, TP_PROTO(sc_exit(long ret,) int * tidptr), TP_ARGS(sc_exit(ret,) tidptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(set_tid_address, ) #endif #ifndef OVERRIDE_32_mq_unlink -SC_TRACE_EVENT(mq_unlink, +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, TP_PROTO(sc_exit(long ret,) const char * u_name), TP_ARGS(sc_exit(ret,) u_name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(mq_unlink, ) #endif #ifndef OVERRIDE_32_creat -SC_TRACE_EVENT(creat, +SC_LTTNG_TRACEPOINT_EVENT(creat, TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), TP_ARGS(sc_exit(ret,) pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(creat, ) #endif #ifndef OVERRIDE_32_link -SC_TRACE_EVENT(link, +SC_LTTNG_TRACEPOINT_EVENT(link, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(link, ) #endif #ifndef OVERRIDE_32_chmod -SC_TRACE_EVENT(chmod, +SC_LTTNG_TRACEPOINT_EVENT(chmod, TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(chmod, ) #endif #ifndef OVERRIDE_32_stat -SC_TRACE_EVENT(stat, +SC_LTTNG_TRACEPOINT_EVENT(stat, TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(stat, ) #endif #ifndef OVERRIDE_32_fstat -SC_TRACE_EVENT(fstat, +SC_LTTNG_TRACEPOINT_EVENT(fstat, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), TP_ARGS(sc_exit(ret,) fd, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(fstat, ) #endif #ifndef OVERRIDE_32_utime -SC_TRACE_EVENT(utime, +SC_LTTNG_TRACEPOINT_EVENT(utime, TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), TP_ARGS(sc_exit(ret,) filename, times), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(utime, ) #endif #ifndef OVERRIDE_32_access -SC_TRACE_EVENT(access, +SC_LTTNG_TRACEPOINT_EVENT(access, TP_PROTO(sc_exit(long ret,) const char * filename, int mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(access, ) #endif #ifndef OVERRIDE_32_rename -SC_TRACE_EVENT(rename, +SC_LTTNG_TRACEPOINT_EVENT(rename, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(rename, ) #endif #ifndef OVERRIDE_32_mkdir -SC_TRACE_EVENT(mkdir, +SC_LTTNG_TRACEPOINT_EVENT(mkdir, TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), TP_ARGS(sc_exit(ret,) pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(mkdir, ) #endif #ifndef OVERRIDE_32_umount -SC_TRACE_EVENT(umount, +SC_LTTNG_TRACEPOINT_EVENT(umount, TP_PROTO(sc_exit(long ret,) char * name, int flags), TP_ARGS(sc_exit(ret,) name, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(umount, ) #endif #ifndef OVERRIDE_32_ustat -SC_TRACE_EVENT(ustat, +SC_LTTNG_TRACEPOINT_EVENT(ustat, TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), TP_ARGS(sc_exit(ret,) dev, ubuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(ustat, ) #endif #ifndef OVERRIDE_32_sethostname -SC_TRACE_EVENT(sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sethostname, TP_PROTO(sc_exit(long ret,) char * name, int len), TP_ARGS(sc_exit(ret,) name, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(sethostname, ) #endif #ifndef OVERRIDE_32_setrlimit -SC_TRACE_EVENT(setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), TP_ARGS(sc_exit(ret,) resource, rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(setrlimit, ) #endif #ifndef OVERRIDE_32_old_getrlimit -SC_TRACE_EVENT(old_getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), TP_ARGS(sc_exit(ret,) resource, rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, resource)) sc_inout(__field_hex(struct rlimit *, rlim))), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(old_getrlimit, ) #endif #ifndef OVERRIDE_32_getrusage -SC_TRACE_EVENT(getrusage, +SC_LTTNG_TRACEPOINT_EVENT(getrusage, TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), TP_ARGS(sc_exit(ret,) who, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(getrusage, ) #endif #ifndef OVERRIDE_32_gettimeofday -SC_TRACE_EVENT(gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), TP_ARGS(sc_exit(ret,) tv, tz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(gettimeofday, ) #endif #ifndef OVERRIDE_32_settimeofday -SC_TRACE_EVENT(settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), TP_ARGS(sc_exit(ret,) tv, tz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(settimeofday, ) #endif #ifndef OVERRIDE_32_getgroups16 -SC_TRACE_EVENT(getgroups16, +SC_LTTNG_TRACEPOINT_EVENT(getgroups16, TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(getgroups16, ) #endif #ifndef OVERRIDE_32_setgroups16 -SC_TRACE_EVENT(setgroups16, +SC_LTTNG_TRACEPOINT_EVENT(setgroups16, TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(setgroups16, ) #endif #ifndef OVERRIDE_32_symlink -SC_TRACE_EVENT(symlink, +SC_LTTNG_TRACEPOINT_EVENT(symlink, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(symlink, ) #endif #ifndef OVERRIDE_32_lstat -SC_TRACE_EVENT(lstat, +SC_LTTNG_TRACEPOINT_EVENT(lstat, TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(lstat, ) #endif #ifndef OVERRIDE_32_swapon -SC_TRACE_EVENT(swapon, +SC_LTTNG_TRACEPOINT_EVENT(swapon, TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), TP_ARGS(sc_exit(ret,) specialfile, swap_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(swapon, ) #endif #ifndef OVERRIDE_32_truncate -SC_TRACE_EVENT(truncate, +SC_LTTNG_TRACEPOINT_EVENT(truncate, TP_PROTO(sc_exit(long ret,) const char * path, long length), TP_ARGS(sc_exit(ret,) path, length), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(truncate, ) #endif #ifndef OVERRIDE_32_statfs -SC_TRACE_EVENT(statfs, +SC_LTTNG_TRACEPOINT_EVENT(statfs, TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), TP_ARGS(sc_exit(ret,) pathname, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(statfs, ) #endif #ifndef OVERRIDE_32_fstatfs -SC_TRACE_EVENT(fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), TP_ARGS(sc_exit(ret,) fd, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(fstatfs, ) #endif #ifndef OVERRIDE_32_socketcall -SC_TRACE_EVENT(socketcall, +SC_LTTNG_TRACEPOINT_EVENT(socketcall, TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), TP_ARGS(sc_exit(ret,) call, args), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, call)) sc_inout(__field_hex(unsigned long *, args))), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(socketcall, ) #endif #ifndef OVERRIDE_32_getitimer -SC_TRACE_EVENT(getitimer, +SC_LTTNG_TRACEPOINT_EVENT(getitimer, TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), TP_ARGS(sc_exit(ret,) which, value), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(getitimer, ) #endif #ifndef OVERRIDE_32_newstat -SC_TRACE_EVENT(newstat, +SC_LTTNG_TRACEPOINT_EVENT(newstat, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(newstat, ) #endif #ifndef OVERRIDE_32_newlstat -SC_TRACE_EVENT(newlstat, +SC_LTTNG_TRACEPOINT_EVENT(newlstat, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(newlstat, ) #endif #ifndef OVERRIDE_32_newfstat -SC_TRACE_EVENT(newfstat, +SC_LTTNG_TRACEPOINT_EVENT(newfstat, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), TP_ARGS(sc_exit(ret,) fd, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(newfstat, ) #endif #ifndef OVERRIDE_32_setdomainname -SC_TRACE_EVENT(setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, TP_PROTO(sc_exit(long ret,) char * name, int len), TP_ARGS(sc_exit(ret,) name, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(setdomainname, ) #endif #ifndef OVERRIDE_32_delete_module -SC_TRACE_EVENT(delete_module, +SC_LTTNG_TRACEPOINT_EVENT(delete_module, TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), TP_ARGS(sc_exit(ret,) name_user, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(delete_module, ) #endif #ifndef OVERRIDE_32_sched_setparam -SC_TRACE_EVENT(sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(sched_setparam, ) #endif #ifndef OVERRIDE_32_sched_getparam -SC_TRACE_EVENT(sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(sched_getparam, ) #endif #ifndef OVERRIDE_32_sched_rr_get_interval -SC_TRACE_EVENT(sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), TP_ARGS(sc_exit(ret,) pid, interval), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(sched_rr_get_interval, ) #endif #ifndef OVERRIDE_32_nanosleep -SC_TRACE_EVENT(nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(sc_exit(ret,) rqtp, rmtp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(nanosleep, ) #endif #ifndef OVERRIDE_32_rt_sigpending -SC_TRACE_EVENT(rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), TP_ARGS(sc_exit(ret,) set, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, set)) sc_in(__field(size_t, sigsetsize))), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(rt_sigpending, ) #endif #ifndef OVERRIDE_32_rt_sigsuspend -SC_TRACE_EVENT(rt_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), TP_ARGS(sc_exit(ret,) unewset, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(rt_sigsuspend, ) #endif #ifndef OVERRIDE_32_getcwd -SC_TRACE_EVENT(getcwd, +SC_LTTNG_TRACEPOINT_EVENT(getcwd, TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), TP_ARGS(sc_exit(ret,) buf, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(getcwd, ) #endif #ifndef OVERRIDE_32_getrlimit -SC_TRACE_EVENT(getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), TP_ARGS(sc_exit(ret,) resource, rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(getrlimit, ) #endif #ifndef OVERRIDE_32_stat64 -SC_TRACE_EVENT(stat64, +SC_LTTNG_TRACEPOINT_EVENT(stat64, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(stat64, ) #endif #ifndef OVERRIDE_32_lstat64 -SC_TRACE_EVENT(lstat64, +SC_LTTNG_TRACEPOINT_EVENT(lstat64, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(lstat64, ) #endif #ifndef OVERRIDE_32_fstat64 -SC_TRACE_EVENT(fstat64, +SC_LTTNG_TRACEPOINT_EVENT(fstat64, TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), TP_ARGS(sc_exit(ret,) fd, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(struct stat64 *, statbuf))), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(fstat64, ) #endif #ifndef OVERRIDE_32_getgroups -SC_TRACE_EVENT(getgroups, +SC_LTTNG_TRACEPOINT_EVENT(getgroups, TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(getgroups, ) #endif #ifndef OVERRIDE_32_setgroups -SC_TRACE_EVENT(setgroups, +SC_LTTNG_TRACEPOINT_EVENT(setgroups, TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(setgroups, ) #endif #ifndef OVERRIDE_32_pivot_root -SC_TRACE_EVENT(pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), TP_ARGS(sc_exit(ret,) new_root, put_old), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(pivot_root, ) #endif #ifndef OVERRIDE_32_removexattr -SC_TRACE_EVENT(removexattr, +SC_LTTNG_TRACEPOINT_EVENT(removexattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), TP_ARGS(sc_exit(ret,) pathname, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(removexattr, ) #endif #ifndef OVERRIDE_32_lremovexattr -SC_TRACE_EVENT(lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), TP_ARGS(sc_exit(ret,) pathname, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(lremovexattr, ) #endif #ifndef OVERRIDE_32_fremovexattr -SC_TRACE_EVENT(fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name), TP_ARGS(sc_exit(ret,) fd, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(fremovexattr, ) #endif #ifndef OVERRIDE_32_io_setup -SC_TRACE_EVENT(io_setup, +SC_LTTNG_TRACEPOINT_EVENT(io_setup, TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), TP_ARGS(sc_exit(ret,) nr_events, ctxp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(io_setup, ) #endif #ifndef OVERRIDE_32_timer_gettime -SC_TRACE_EVENT(timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), TP_ARGS(sc_exit(ret,) timer_id, setting), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(timer_gettime, ) #endif #ifndef OVERRIDE_32_clock_settime -SC_TRACE_EVENT(clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(clock_settime, ) #endif #ifndef OVERRIDE_32_clock_gettime -SC_TRACE_EVENT(clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(clock_gettime, ) #endif #ifndef OVERRIDE_32_clock_getres -SC_TRACE_EVENT(clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(clock_getres, ) #endif #ifndef OVERRIDE_32_utimes -SC_TRACE_EVENT(utimes, +SC_LTTNG_TRACEPOINT_EVENT(utimes, TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), TP_ARGS(sc_exit(ret,) filename, utimes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(utimes, ) #endif #ifndef OVERRIDE_32_mq_notify -SC_TRACE_EVENT(mq_notify, +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(sc_exit(ret,) mqdes, u_notification), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(mq_notify, ) #endif #ifndef OVERRIDE_32_set_robust_list -SC_TRACE_EVENT(set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), TP_ARGS(sc_exit(ret,) head, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(set_robust_list, ) #endif #ifndef OVERRIDE_32_timerfd_gettime -SC_TRACE_EVENT(timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), TP_ARGS(sc_exit(ret,) ufd, otmr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(timerfd_gettime, ) #endif #ifndef OVERRIDE_32_pipe2 -SC_TRACE_EVENT(pipe2, +SC_LTTNG_TRACEPOINT_EVENT(pipe2, TP_PROTO(sc_exit(long ret,) int * fildes, int flags), TP_ARGS(sc_exit(ret,) fildes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(pipe2, ) #endif #ifndef OVERRIDE_32_clock_adjtime -SC_TRACE_EVENT(clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), TP_ARGS(sc_exit(ret,) which_clock, utx), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(clock_adjtime, ) #endif #ifndef OVERRIDE_32_read -SC_TRACE_EVENT(read, +SC_LTTNG_TRACEPOINT_EVENT(read, TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), TP_ARGS(sc_exit(ret,) fd, buf, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(read, ) #endif #ifndef OVERRIDE_32_write -SC_TRACE_EVENT(write, +SC_LTTNG_TRACEPOINT_EVENT(write, TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), TP_ARGS(sc_exit(ret,) fd, buf, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(write, ) #endif #ifndef OVERRIDE_32_open -SC_TRACE_EVENT(open, +SC_LTTNG_TRACEPOINT_EVENT(open, TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), TP_ARGS(sc_exit(ret,) filename, flags, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(open, ) #endif #ifndef OVERRIDE_32_waitpid -SC_TRACE_EVENT(waitpid, +SC_LTTNG_TRACEPOINT_EVENT(waitpid, TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), TP_ARGS(sc_exit(ret,) pid, stat_addr, options), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(pid_t, pid)) sc_inout(__field_hex(int *, stat_addr)) sc_inout(__field(int, options))), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(waitpid, ) #endif #ifndef OVERRIDE_32_mknod -SC_TRACE_EVENT(mknod, +SC_LTTNG_TRACEPOINT_EVENT(mknod, TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), TP_ARGS(sc_exit(ret,) filename, mode, dev), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(mknod, ) #endif #ifndef OVERRIDE_32_lchown16 -SC_TRACE_EVENT(lchown16, +SC_LTTNG_TRACEPOINT_EVENT(lchown16, TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(lchown16, ) #endif #ifndef OVERRIDE_32_readlink -SC_TRACE_EVENT(readlink, +SC_LTTNG_TRACEPOINT_EVENT(readlink, TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), TP_ARGS(sc_exit(ret,) path, buf, bufsiz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(readlink, ) #endif #ifndef OVERRIDE_32_old_readdir -SC_TRACE_EVENT(old_readdir, +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), TP_ARGS(sc_exit(ret,) fd, dirent, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct old_linux_dirent *, dirent)) sc_inout(__field(unsigned int, count))), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(old_readdir, ) #endif #ifndef OVERRIDE_32_syslog -SC_TRACE_EVENT(syslog, +SC_LTTNG_TRACEPOINT_EVENT(syslog, TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), TP_ARGS(sc_exit(ret,) type, buf, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(syslog, ) #endif #ifndef OVERRIDE_32_setitimer -SC_TRACE_EVENT(setitimer, +SC_LTTNG_TRACEPOINT_EVENT(setitimer, TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(sc_exit(ret,) which, value, ovalue), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(setitimer, ) #endif #ifndef OVERRIDE_32_sigprocmask -SC_TRACE_EVENT(sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), TP_ARGS(sc_exit(ret,) how, nset, oset), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(old_sigset_t *, nset)) sc_inout(__field_hex(old_sigset_t *, oset))), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(sigprocmask, ) #endif #ifndef OVERRIDE_32_init_module -SC_TRACE_EVENT(init_module, +SC_LTTNG_TRACEPOINT_EVENT(init_module, TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), TP_ARGS(sc_exit(ret,) umod, len, uargs), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(init_module, ) #endif #ifndef OVERRIDE_32_getdents -SC_TRACE_EVENT(getdents, +SC_LTTNG_TRACEPOINT_EVENT(getdents, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(sc_exit(ret,) fd, dirent, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(getdents, ) #endif #ifndef OVERRIDE_32_readv -SC_TRACE_EVENT(readv, +SC_LTTNG_TRACEPOINT_EVENT(readv, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(sc_exit(ret,) fd, vec, vlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(readv, ) #endif #ifndef OVERRIDE_32_writev -SC_TRACE_EVENT(writev, +SC_LTTNG_TRACEPOINT_EVENT(writev, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(sc_exit(ret,) fd, vec, vlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(writev, ) #endif #ifndef OVERRIDE_32_sched_setscheduler -SC_TRACE_EVENT(sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, policy, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(sched_setscheduler, ) #endif #ifndef OVERRIDE_32_getresuid16 -SC_TRACE_EVENT(getresuid16, +SC_LTTNG_TRACEPOINT_EVENT(getresuid16, TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), TP_ARGS(sc_exit(ret,) ruid, euid, suid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_uid_t *, ruid)) sc_inout(__field_hex(old_uid_t *, euid)) sc_inout(__field_hex(old_uid_t *, suid))), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(getresuid16, ) #endif #ifndef OVERRIDE_32_poll -SC_TRACE_EVENT(poll, +SC_LTTNG_TRACEPOINT_EVENT(poll, TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(long, timeout_msecs))), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(poll, ) #endif #ifndef OVERRIDE_32_getresgid16 -SC_TRACE_EVENT(getresgid16, +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), TP_ARGS(sc_exit(ret,) rgid, egid, sgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_gid_t *, rgid)) sc_inout(__field_hex(old_gid_t *, egid)) sc_inout(__field_hex(old_gid_t *, sgid))), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(getresgid16, ) #endif #ifndef OVERRIDE_32_rt_sigqueueinfo -SC_TRACE_EVENT(rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(sc_exit(ret,) pid, sig, uinfo), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_32_chown16 -SC_TRACE_EVENT(chown16, +SC_LTTNG_TRACEPOINT_EVENT(chown16, TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(chown16, ) #endif #ifndef OVERRIDE_32_lchown -SC_TRACE_EVENT(lchown, +SC_LTTNG_TRACEPOINT_EVENT(lchown, TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(lchown, ) #endif #ifndef OVERRIDE_32_getresuid -SC_TRACE_EVENT(getresuid, +SC_LTTNG_TRACEPOINT_EVENT(getresuid, TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), TP_ARGS(sc_exit(ret,) ruid, euid, suid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruid)) sc_out(__field_hex(uid_t *, euid)) sc_out(__field_hex(uid_t *, suid))), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(getresuid, ) #endif #ifndef OVERRIDE_32_getresgid -SC_TRACE_EVENT(getresgid, +SC_LTTNG_TRACEPOINT_EVENT(getresgid, TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), TP_ARGS(sc_exit(ret,) rgid, egid, sgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgid)) sc_out(__field_hex(gid_t *, egid)) sc_out(__field_hex(gid_t *, sgid))), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(getresgid, ) #endif #ifndef OVERRIDE_32_chown -SC_TRACE_EVENT(chown, +SC_LTTNG_TRACEPOINT_EVENT(chown, TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(chown, ) #endif #ifndef OVERRIDE_32_mincore -SC_TRACE_EVENT(mincore, +SC_LTTNG_TRACEPOINT_EVENT(mincore, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), TP_ARGS(sc_exit(ret,) start, len, vec), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(mincore, ) #endif #ifndef OVERRIDE_32_getdents64 -SC_TRACE_EVENT(getdents64, +SC_LTTNG_TRACEPOINT_EVENT(getdents64, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(sc_exit(ret,) fd, dirent, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(getdents64, ) #endif #ifndef OVERRIDE_32_listxattr -SC_TRACE_EVENT(listxattr, +SC_LTTNG_TRACEPOINT_EVENT(listxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), TP_ARGS(sc_exit(ret,) pathname, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(listxattr, ) #endif #ifndef OVERRIDE_32_llistxattr -SC_TRACE_EVENT(llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), TP_ARGS(sc_exit(ret,) pathname, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(llistxattr, ) #endif #ifndef OVERRIDE_32_flistxattr -SC_TRACE_EVENT(flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), TP_ARGS(sc_exit(ret,) fd, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(flistxattr, ) #endif #ifndef OVERRIDE_32_sched_setaffinity -SC_TRACE_EVENT(sched_setaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(sched_setaffinity, ) #endif #ifndef OVERRIDE_32_sched_getaffinity -SC_TRACE_EVENT(sched_getaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(sched_getaffinity, ) #endif #ifndef OVERRIDE_32_io_submit -SC_TRACE_EVENT(io_submit, +SC_LTTNG_TRACEPOINT_EVENT(io_submit, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(io_submit, ) #endif #ifndef OVERRIDE_32_io_cancel -SC_TRACE_EVENT(io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(io_cancel, ) #endif #ifndef OVERRIDE_32_timer_create -SC_TRACE_EVENT(timer_create, +SC_LTTNG_TRACEPOINT_EVENT(timer_create, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(timer_create, ) #endif #ifndef OVERRIDE_32_statfs64 -SC_TRACE_EVENT(statfs64, +SC_LTTNG_TRACEPOINT_EVENT(statfs64, TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), TP_ARGS(sc_exit(ret,) pathname, sz, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(pathname, pathname)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(statfs64, ) #endif #ifndef OVERRIDE_32_fstatfs64 -SC_TRACE_EVENT(fstatfs64, +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), TP_ARGS(sc_exit(ret,) fd, sz, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(fstatfs64, ) #endif #ifndef OVERRIDE_32_mq_getsetattr -SC_TRACE_EVENT(mq_getsetattr, +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(mq_getsetattr, ) #endif #ifndef OVERRIDE_32_inotify_add_watch -SC_TRACE_EVENT(inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), TP_ARGS(sc_exit(ret,) fd, pathname, mask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(inotify_add_watch, ) #endif #ifndef OVERRIDE_32_mkdirat -SC_TRACE_EVENT(mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), TP_ARGS(sc_exit(ret,) dfd, pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(mkdirat, ) #endif #ifndef OVERRIDE_32_futimesat -SC_TRACE_EVENT(futimesat, +SC_LTTNG_TRACEPOINT_EVENT(futimesat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), TP_ARGS(sc_exit(ret,) dfd, filename, utimes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(futimesat, ) #endif #ifndef OVERRIDE_32_unlinkat -SC_TRACE_EVENT(unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), TP_ARGS(sc_exit(ret,) dfd, pathname, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(unlinkat, ) #endif #ifndef OVERRIDE_32_symlinkat -SC_TRACE_EVENT(symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(symlinkat, ) #endif #ifndef OVERRIDE_32_fchmodat -SC_TRACE_EVENT(fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), TP_ARGS(sc_exit(ret,) dfd, filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(fchmodat, ) #endif #ifndef OVERRIDE_32_faccessat -SC_TRACE_EVENT(faccessat, +SC_LTTNG_TRACEPOINT_EVENT(faccessat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), TP_ARGS(sc_exit(ret,) dfd, filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(faccessat, ) #endif #ifndef OVERRIDE_32_get_robust_list -SC_TRACE_EVENT(get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(get_robust_list, ) #endif #ifndef OVERRIDE_32_getcpu -SC_TRACE_EVENT(getcpu, +SC_LTTNG_TRACEPOINT_EVENT(getcpu, TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(sc_exit(ret,) cpup, nodep, unused), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(getcpu, ) #endif #ifndef OVERRIDE_32_signalfd -SC_TRACE_EVENT(signalfd, +SC_LTTNG_TRACEPOINT_EVENT(signalfd, TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(signalfd, ) #endif #ifndef OVERRIDE_32_reboot -SC_TRACE_EVENT(reboot, +SC_LTTNG_TRACEPOINT_EVENT(reboot, TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(reboot, ) #endif #ifndef OVERRIDE_32_wait4 -SC_TRACE_EVENT(wait4, +SC_LTTNG_TRACEPOINT_EVENT(wait4, TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(wait4, ) #endif #ifndef OVERRIDE_32_quotactl -SC_TRACE_EVENT(quotactl, +SC_LTTNG_TRACEPOINT_EVENT(quotactl, TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(sc_exit(ret,) cmd, special, id, addr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(quotactl, ) #endif #ifndef OVERRIDE_32_rt_sigaction -SC_TRACE_EVENT(rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(rt_sigaction, ) #endif #ifndef OVERRIDE_32_rt_sigprocmask -SC_TRACE_EVENT(rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(rt_sigprocmask, ) #endif #ifndef OVERRIDE_32_rt_sigtimedwait -SC_TRACE_EVENT(rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(rt_sigtimedwait, ) #endif #ifndef OVERRIDE_32_sendfile -SC_TRACE_EVENT(sendfile, +SC_LTTNG_TRACEPOINT_EVENT(sendfile, TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, out_fd)) sc_inout(__field(int, in_fd)) sc_inout(__field_hex(off_t *, offset)) sc_inout(__field(size_t, count))), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(sendfile, ) #endif #ifndef OVERRIDE_32_getxattr -SC_TRACE_EVENT(getxattr, +SC_LTTNG_TRACEPOINT_EVENT(getxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) pathname, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(getxattr, ) #endif #ifndef OVERRIDE_32_lgetxattr -SC_TRACE_EVENT(lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) pathname, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(lgetxattr, ) #endif #ifndef OVERRIDE_32_fgetxattr -SC_TRACE_EVENT(fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) fd, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(fgetxattr, ) #endif #ifndef OVERRIDE_32_sendfile64 -SC_TRACE_EVENT(sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(sendfile64, ) #endif #ifndef OVERRIDE_32_epoll_ctl -SC_TRACE_EVENT(epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(sc_exit(ret,) epfd, op, fd, event), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(epoll_ctl, ) #endif #ifndef OVERRIDE_32_epoll_wait -SC_TRACE_EVENT(epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(epoll_wait, ) #endif #ifndef OVERRIDE_32_timer_settime -SC_TRACE_EVENT(timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(timer_settime, ) #endif #ifndef OVERRIDE_32_clock_nanosleep -SC_TRACE_EVENT(clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(clock_nanosleep, ) #endif #ifndef OVERRIDE_32_mq_open -SC_TRACE_EVENT(mq_open, +SC_LTTNG_TRACEPOINT_EVENT(mq_open, TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(mode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(mq_open, ) #endif #ifndef OVERRIDE_32_kexec_load -SC_TRACE_EVENT(kexec_load, +SC_LTTNG_TRACEPOINT_EVENT(kexec_load, TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, entry)) sc_in(__field(unsigned long, nr_segments)) sc_in(__field_hex(struct kexec_segment *, segments)) sc_in(__field(unsigned long, flags))), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(kexec_load, ) #endif #ifndef OVERRIDE_32_request_key -SC_TRACE_EVENT(request_key, +SC_LTTNG_TRACEPOINT_EVENT(request_key, TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(request_key, ) #endif #ifndef OVERRIDE_32_openat -SC_TRACE_EVENT(openat, +SC_LTTNG_TRACEPOINT_EVENT(openat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(openat, ) #endif #ifndef OVERRIDE_32_mknodat -SC_TRACE_EVENT(mknodat, +SC_LTTNG_TRACEPOINT_EVENT(mknodat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(mknodat, ) #endif #ifndef OVERRIDE_32_fstatat64 -SC_TRACE_EVENT(fstatat64, +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf)) sc_inout(__field(int, flag))), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(fstatat64, ) #endif #ifndef OVERRIDE_32_renameat -SC_TRACE_EVENT(renameat, +SC_LTTNG_TRACEPOINT_EVENT(renameat, TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(renameat, ) #endif #ifndef OVERRIDE_32_readlinkat -SC_TRACE_EVENT(readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(readlinkat, ) #endif #ifndef OVERRIDE_32_vmsplice -SC_TRACE_EVENT(vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(vmsplice, ) #endif #ifndef OVERRIDE_32_utimensat -SC_TRACE_EVENT(utimensat, +SC_LTTNG_TRACEPOINT_EVENT(utimensat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(utimensat, ) #endif #ifndef OVERRIDE_32_timerfd_settime -SC_TRACE_EVENT(timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(timerfd_settime, ) #endif #ifndef OVERRIDE_32_signalfd4 -SC_TRACE_EVENT(signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(signalfd4, ) #endif #ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_TRACE_EVENT(rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_32_prlimit64 -SC_TRACE_EVENT(prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(prlimit64, ) #endif #ifndef OVERRIDE_32_sendmmsg -SC_TRACE_EVENT(sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(sendmmsg, ) #endif #ifndef OVERRIDE_32_mount -SC_TRACE_EVENT(mount, +SC_LTTNG_TRACEPOINT_EVENT(mount, TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(mount, ) #endif #ifndef OVERRIDE_32_llseek -SC_TRACE_EVENT(llseek, +SC_LTTNG_TRACEPOINT_EVENT(llseek, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned long, offset_high)) sc_inout(__field(unsigned long, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, origin))), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(llseek, ) #endif #ifndef OVERRIDE_32_select -SC_TRACE_EVENT(select, +SC_LTTNG_TRACEPOINT_EVENT(select, TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(select, ) #endif #ifndef OVERRIDE_32_setxattr -SC_TRACE_EVENT(setxattr, +SC_LTTNG_TRACEPOINT_EVENT(setxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(setxattr, ) #endif #ifndef OVERRIDE_32_lsetxattr -SC_TRACE_EVENT(lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(lsetxattr, ) #endif #ifndef OVERRIDE_32_fsetxattr -SC_TRACE_EVENT(fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(fsetxattr, ) #endif #ifndef OVERRIDE_32_io_getevents -SC_TRACE_EVENT(io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(io_getevents, ) #endif #ifndef OVERRIDE_32_mq_timedsend -SC_TRACE_EVENT(mq_timedsend, +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(mq_timedsend, ) #endif #ifndef OVERRIDE_32_mq_timedreceive -SC_TRACE_EVENT(mq_timedreceive, +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(mq_timedreceive, ) #endif #ifndef OVERRIDE_32_waitid -SC_TRACE_EVENT(waitid, +SC_LTTNG_TRACEPOINT_EVENT(waitid, TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(waitid, ) #endif #ifndef OVERRIDE_32_add_key -SC_TRACE_EVENT(add_key, +SC_LTTNG_TRACEPOINT_EVENT(add_key, TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(add_key, ) #endif #ifndef OVERRIDE_32_fchownat -SC_TRACE_EVENT(fchownat, +SC_LTTNG_TRACEPOINT_EVENT(fchownat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(fchownat, ) #endif #ifndef OVERRIDE_32_linkat -SC_TRACE_EVENT(linkat, +SC_LTTNG_TRACEPOINT_EVENT(linkat, TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(linkat, ) #endif #ifndef OVERRIDE_32_ppoll -SC_TRACE_EVENT(ppoll, +SC_LTTNG_TRACEPOINT_EVENT(ppoll, TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(ppoll, ) #endif #ifndef OVERRIDE_32_preadv -SC_TRACE_EVENT(preadv, +SC_LTTNG_TRACEPOINT_EVENT(preadv, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(preadv, ) #endif #ifndef OVERRIDE_32_pwritev -SC_TRACE_EVENT(pwritev, +SC_LTTNG_TRACEPOINT_EVENT(pwritev, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(pwritev, ) #endif #ifndef OVERRIDE_32_perf_event_open -SC_TRACE_EVENT(perf_event_open, +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(perf_event_open, ) #endif #ifndef OVERRIDE_32_recvmmsg -SC_TRACE_EVENT(recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(recvmmsg, ) #endif #ifndef OVERRIDE_32_ipc -SC_TRACE_EVENT(ipc, +SC_LTTNG_TRACEPOINT_EVENT(ipc, TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, call)) sc_inout(__field(int, first)) sc_inout(__field(unsigned long, second)) sc_inout(__field(unsigned long, third)) sc_inout(__field_hex(void *, ptr)) sc_inout(__field(long, fifth))), @@ -1630,7 +1630,7 @@ SC_TRACE_EVENT(ipc, ) #endif #ifndef OVERRIDE_32_futex -SC_TRACE_EVENT(futex, +SC_LTTNG_TRACEPOINT_EVENT(futex, TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), @@ -1639,7 +1639,7 @@ SC_TRACE_EVENT(futex, ) #endif #ifndef OVERRIDE_32_pselect6 -SC_TRACE_EVENT(pselect6, +SC_LTTNG_TRACEPOINT_EVENT(pselect6, TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), @@ -1648,7 +1648,7 @@ SC_TRACE_EVENT(pselect6, ) #endif #ifndef OVERRIDE_32_splice -SC_TRACE_EVENT(splice, +SC_LTTNG_TRACEPOINT_EVENT(splice, TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), @@ -1657,7 +1657,7 @@ SC_TRACE_EVENT(splice, ) #endif #ifndef OVERRIDE_32_epoll_pwait -SC_TRACE_EVENT(epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h index 30832aeb..2eaa93ca 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h @@ -10,62 +10,62 @@ #include "syscalls_integers_override.h" #ifdef SC_ENTER -SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, TP_STRUCT__entry(), TP_fast_assign(), TP_printk() ) #ifndef OVERRIDE_64_sched_yield -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sched_yield) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) #endif #ifndef OVERRIDE_64_pause -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, pause) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) #endif #ifndef OVERRIDE_64_getpid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getpid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) #endif #ifndef OVERRIDE_64_getuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) #endif #ifndef OVERRIDE_64_getgid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getgid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) #endif #ifndef OVERRIDE_64_geteuid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, geteuid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) #endif #ifndef OVERRIDE_64_getegid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getegid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) #endif #ifndef OVERRIDE_64_getppid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getppid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) #endif #ifndef OVERRIDE_64_getpgrp -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, getpgrp) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) #endif #ifndef OVERRIDE_64_setsid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, setsid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) #endif #ifndef OVERRIDE_64_munlockall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, munlockall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) #endif #ifndef OVERRIDE_64_vhangup -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, vhangup) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) #endif #ifndef OVERRIDE_64_sync -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sync) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) #endif #ifndef OVERRIDE_64_gettid -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, gettid) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) #endif #ifndef OVERRIDE_64_restart_syscall -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, restart_syscall) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) #endif #ifndef OVERRIDE_64_inotify_init -SC_DEFINE_EVENT_NOARGS(syscalls_noargs, inotify_init) +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) #endif #else /* #ifdef SC_ENTER */ #ifndef OVERRIDE_64_sched_yield -SC_TRACE_EVENT(sched_yield, +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -74,7 +74,7 @@ SC_TRACE_EVENT(sched_yield, ) #endif #ifndef OVERRIDE_64_pause -SC_TRACE_EVENT(pause, +SC_LTTNG_TRACEPOINT_EVENT(pause, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -83,7 +83,7 @@ SC_TRACE_EVENT(pause, ) #endif #ifndef OVERRIDE_64_getpid -SC_TRACE_EVENT(getpid, +SC_LTTNG_TRACEPOINT_EVENT(getpid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -92,7 +92,7 @@ SC_TRACE_EVENT(getpid, ) #endif #ifndef OVERRIDE_64_getuid -SC_TRACE_EVENT(getuid, +SC_LTTNG_TRACEPOINT_EVENT(getuid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -101,7 +101,7 @@ SC_TRACE_EVENT(getuid, ) #endif #ifndef OVERRIDE_64_getgid -SC_TRACE_EVENT(getgid, +SC_LTTNG_TRACEPOINT_EVENT(getgid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -110,7 +110,7 @@ SC_TRACE_EVENT(getgid, ) #endif #ifndef OVERRIDE_64_geteuid -SC_TRACE_EVENT(geteuid, +SC_LTTNG_TRACEPOINT_EVENT(geteuid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -119,7 +119,7 @@ SC_TRACE_EVENT(geteuid, ) #endif #ifndef OVERRIDE_64_getegid -SC_TRACE_EVENT(getegid, +SC_LTTNG_TRACEPOINT_EVENT(getegid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -128,7 +128,7 @@ SC_TRACE_EVENT(getegid, ) #endif #ifndef OVERRIDE_64_getppid -SC_TRACE_EVENT(getppid, +SC_LTTNG_TRACEPOINT_EVENT(getppid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -137,7 +137,7 @@ SC_TRACE_EVENT(getppid, ) #endif #ifndef OVERRIDE_64_getpgrp -SC_TRACE_EVENT(getpgrp, +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -146,7 +146,7 @@ SC_TRACE_EVENT(getpgrp, ) #endif #ifndef OVERRIDE_64_setsid -SC_TRACE_EVENT(setsid, +SC_LTTNG_TRACEPOINT_EVENT(setsid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -155,7 +155,7 @@ SC_TRACE_EVENT(setsid, ) #endif #ifndef OVERRIDE_64_munlockall -SC_TRACE_EVENT(munlockall, +SC_LTTNG_TRACEPOINT_EVENT(munlockall, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -164,7 +164,7 @@ SC_TRACE_EVENT(munlockall, ) #endif #ifndef OVERRIDE_64_vhangup -SC_TRACE_EVENT(vhangup, +SC_LTTNG_TRACEPOINT_EVENT(vhangup, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -173,7 +173,7 @@ SC_TRACE_EVENT(vhangup, ) #endif #ifndef OVERRIDE_64_sync -SC_TRACE_EVENT(sync, +SC_LTTNG_TRACEPOINT_EVENT(sync, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -182,7 +182,7 @@ SC_TRACE_EVENT(sync, ) #endif #ifndef OVERRIDE_64_gettid -SC_TRACE_EVENT(gettid, +SC_LTTNG_TRACEPOINT_EVENT(gettid, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -191,7 +191,7 @@ SC_TRACE_EVENT(gettid, ) #endif #ifndef OVERRIDE_64_restart_syscall -SC_TRACE_EVENT(restart_syscall, +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -200,7 +200,7 @@ SC_TRACE_EVENT(restart_syscall, ) #endif #ifndef OVERRIDE_64_inotify_init -SC_TRACE_EVENT(inotify_init, +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, TP_PROTO(sc_exit(long ret)), TP_ARGS(sc_exit(ret)), TP_STRUCT__entry(sc_exit(__field(long, ret))), @@ -210,7 +210,7 @@ SC_TRACE_EVENT(inotify_init, #endif #endif /* else #ifdef SC_ENTER */ #ifndef OVERRIDE_64_close -SC_TRACE_EVENT(close, +SC_LTTNG_TRACEPOINT_EVENT(close, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -219,7 +219,7 @@ SC_TRACE_EVENT(close, ) #endif #ifndef OVERRIDE_64_brk -SC_TRACE_EVENT(brk, +SC_LTTNG_TRACEPOINT_EVENT(brk, TP_PROTO(sc_exit(long ret,) unsigned long brk), TP_ARGS(sc_exit(ret,) brk), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), @@ -228,7 +228,7 @@ SC_TRACE_EVENT(brk, ) #endif #ifndef OVERRIDE_64_dup -SC_TRACE_EVENT(dup, +SC_LTTNG_TRACEPOINT_EVENT(dup, TP_PROTO(sc_exit(long ret,) unsigned int fildes), TP_ARGS(sc_exit(ret,) fildes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), @@ -237,7 +237,7 @@ SC_TRACE_EVENT(dup, ) #endif #ifndef OVERRIDE_64_alarm -SC_TRACE_EVENT(alarm, +SC_LTTNG_TRACEPOINT_EVENT(alarm, TP_PROTO(sc_exit(long ret,) unsigned int seconds), TP_ARGS(sc_exit(ret,) seconds), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), @@ -246,7 +246,7 @@ SC_TRACE_EVENT(alarm, ) #endif #ifndef OVERRIDE_64_exit -SC_TRACE_EVENT(exit, +SC_LTTNG_TRACEPOINT_EVENT(exit, TP_PROTO(sc_exit(long ret,) int error_code), TP_ARGS(sc_exit(ret,) error_code), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), @@ -255,7 +255,7 @@ SC_TRACE_EVENT(exit, ) #endif #ifndef OVERRIDE_64_fsync -SC_TRACE_EVENT(fsync, +SC_LTTNG_TRACEPOINT_EVENT(fsync, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -264,7 +264,7 @@ SC_TRACE_EVENT(fsync, ) #endif #ifndef OVERRIDE_64_fdatasync -SC_TRACE_EVENT(fdatasync, +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -273,7 +273,7 @@ SC_TRACE_EVENT(fdatasync, ) #endif #ifndef OVERRIDE_64_fchdir -SC_TRACE_EVENT(fchdir, +SC_LTTNG_TRACEPOINT_EVENT(fchdir, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), @@ -282,7 +282,7 @@ SC_TRACE_EVENT(fchdir, ) #endif #ifndef OVERRIDE_64_umask -SC_TRACE_EVENT(umask, +SC_LTTNG_TRACEPOINT_EVENT(umask, TP_PROTO(sc_exit(long ret,) int mask), TP_ARGS(sc_exit(ret,) mask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), @@ -291,7 +291,7 @@ SC_TRACE_EVENT(umask, ) #endif #ifndef OVERRIDE_64_setuid -SC_TRACE_EVENT(setuid, +SC_LTTNG_TRACEPOINT_EVENT(setuid, TP_PROTO(sc_exit(long ret,) uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), @@ -300,7 +300,7 @@ SC_TRACE_EVENT(setuid, ) #endif #ifndef OVERRIDE_64_setgid -SC_TRACE_EVENT(setgid, +SC_LTTNG_TRACEPOINT_EVENT(setgid, TP_PROTO(sc_exit(long ret,) gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), @@ -309,7 +309,7 @@ SC_TRACE_EVENT(setgid, ) #endif #ifndef OVERRIDE_64_getpgid -SC_TRACE_EVENT(getpgid, +SC_LTTNG_TRACEPOINT_EVENT(getpgid, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -318,7 +318,7 @@ SC_TRACE_EVENT(getpgid, ) #endif #ifndef OVERRIDE_64_setfsuid -SC_TRACE_EVENT(setfsuid, +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, TP_PROTO(sc_exit(long ret,) uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), @@ -327,7 +327,7 @@ SC_TRACE_EVENT(setfsuid, ) #endif #ifndef OVERRIDE_64_setfsgid -SC_TRACE_EVENT(setfsgid, +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, TP_PROTO(sc_exit(long ret,) gid_t gid), TP_ARGS(sc_exit(ret,) gid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), @@ -336,7 +336,7 @@ SC_TRACE_EVENT(setfsgid, ) #endif #ifndef OVERRIDE_64_getsid -SC_TRACE_EVENT(getsid, +SC_LTTNG_TRACEPOINT_EVENT(getsid, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -345,7 +345,7 @@ SC_TRACE_EVENT(getsid, ) #endif #ifndef OVERRIDE_64_personality -SC_TRACE_EVENT(personality, +SC_LTTNG_TRACEPOINT_EVENT(personality, TP_PROTO(sc_exit(long ret,) unsigned int personality), TP_ARGS(sc_exit(ret,) personality), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), @@ -354,7 +354,7 @@ SC_TRACE_EVENT(personality, ) #endif #ifndef OVERRIDE_64_sched_getscheduler -SC_TRACE_EVENT(sched_getscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, TP_PROTO(sc_exit(long ret,) pid_t pid), TP_ARGS(sc_exit(ret,) pid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), @@ -363,7 +363,7 @@ SC_TRACE_EVENT(sched_getscheduler, ) #endif #ifndef OVERRIDE_64_sched_get_priority_max -SC_TRACE_EVENT(sched_get_priority_max, +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, TP_PROTO(sc_exit(long ret,) int policy), TP_ARGS(sc_exit(ret,) policy), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), @@ -372,7 +372,7 @@ SC_TRACE_EVENT(sched_get_priority_max, ) #endif #ifndef OVERRIDE_64_sched_get_priority_min -SC_TRACE_EVENT(sched_get_priority_min, +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, TP_PROTO(sc_exit(long ret,) int policy), TP_ARGS(sc_exit(ret,) policy), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), @@ -381,7 +381,7 @@ SC_TRACE_EVENT(sched_get_priority_min, ) #endif #ifndef OVERRIDE_64_mlockall -SC_TRACE_EVENT(mlockall, +SC_LTTNG_TRACEPOINT_EVENT(mlockall, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -390,7 +390,7 @@ SC_TRACE_EVENT(mlockall, ) #endif #ifndef OVERRIDE_64_io_destroy -SC_TRACE_EVENT(io_destroy, +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, TP_PROTO(sc_exit(long ret,) aio_context_t ctx), TP_ARGS(sc_exit(ret,) ctx), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), @@ -399,7 +399,7 @@ SC_TRACE_EVENT(io_destroy, ) #endif #ifndef OVERRIDE_64_epoll_create -SC_TRACE_EVENT(epoll_create, +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, TP_PROTO(sc_exit(long ret,) int size), TP_ARGS(sc_exit(ret,) size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), @@ -408,7 +408,7 @@ SC_TRACE_EVENT(epoll_create, ) #endif #ifndef OVERRIDE_64_timer_getoverrun -SC_TRACE_EVENT(timer_getoverrun, +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, TP_PROTO(sc_exit(long ret,) timer_t timer_id), TP_ARGS(sc_exit(ret,) timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), @@ -417,7 +417,7 @@ SC_TRACE_EVENT(timer_getoverrun, ) #endif #ifndef OVERRIDE_64_timer_delete -SC_TRACE_EVENT(timer_delete, +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, TP_PROTO(sc_exit(long ret,) timer_t timer_id), TP_ARGS(sc_exit(ret,) timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), @@ -426,7 +426,7 @@ SC_TRACE_EVENT(timer_delete, ) #endif #ifndef OVERRIDE_64_exit_group -SC_TRACE_EVENT(exit_group, +SC_LTTNG_TRACEPOINT_EVENT(exit_group, TP_PROTO(sc_exit(long ret,) int error_code), TP_ARGS(sc_exit(ret,) error_code), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), @@ -435,7 +435,7 @@ SC_TRACE_EVENT(exit_group, ) #endif #ifndef OVERRIDE_64_unshare -SC_TRACE_EVENT(unshare, +SC_LTTNG_TRACEPOINT_EVENT(unshare, TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), TP_ARGS(sc_exit(ret,) unshare_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), @@ -444,7 +444,7 @@ SC_TRACE_EVENT(unshare, ) #endif #ifndef OVERRIDE_64_eventfd -SC_TRACE_EVENT(eventfd, +SC_LTTNG_TRACEPOINT_EVENT(eventfd, TP_PROTO(sc_exit(long ret,) unsigned int count), TP_ARGS(sc_exit(ret,) count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), @@ -453,7 +453,7 @@ SC_TRACE_EVENT(eventfd, ) #endif #ifndef OVERRIDE_64_epoll_create1 -SC_TRACE_EVENT(epoll_create1, +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -462,7 +462,7 @@ SC_TRACE_EVENT(epoll_create1, ) #endif #ifndef OVERRIDE_64_inotify_init1 -SC_TRACE_EVENT(inotify_init1, +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, TP_PROTO(sc_exit(long ret,) int flags), TP_ARGS(sc_exit(ret,) flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), @@ -471,7 +471,7 @@ SC_TRACE_EVENT(inotify_init1, ) #endif #ifndef OVERRIDE_64_syncfs -SC_TRACE_EVENT(syncfs, +SC_LTTNG_TRACEPOINT_EVENT(syncfs, TP_PROTO(sc_exit(long ret,) int fd), TP_ARGS(sc_exit(ret,) fd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), @@ -480,7 +480,7 @@ SC_TRACE_EVENT(syncfs, ) #endif #ifndef OVERRIDE_64_munmap -SC_TRACE_EVENT(munmap, +SC_LTTNG_TRACEPOINT_EVENT(munmap, TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), TP_ARGS(sc_exit(ret,) addr, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), @@ -489,7 +489,7 @@ SC_TRACE_EVENT(munmap, ) #endif #ifndef OVERRIDE_64_dup2 -SC_TRACE_EVENT(dup2, +SC_LTTNG_TRACEPOINT_EVENT(dup2, TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), TP_ARGS(sc_exit(ret,) oldfd, newfd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), @@ -498,7 +498,7 @@ SC_TRACE_EVENT(dup2, ) #endif #ifndef OVERRIDE_64_shutdown -SC_TRACE_EVENT(shutdown, +SC_LTTNG_TRACEPOINT_EVENT(shutdown, TP_PROTO(sc_exit(long ret,) int fd, int how), TP_ARGS(sc_exit(ret,) fd, how), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))), @@ -507,7 +507,7 @@ SC_TRACE_EVENT(shutdown, ) #endif #ifndef OVERRIDE_64_listen -SC_TRACE_EVENT(listen, +SC_LTTNG_TRACEPOINT_EVENT(listen, TP_PROTO(sc_exit(long ret,) int fd, int backlog), TP_ARGS(sc_exit(ret,) fd, backlog), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))), @@ -516,7 +516,7 @@ SC_TRACE_EVENT(listen, ) #endif #ifndef OVERRIDE_64_kill -SC_TRACE_EVENT(kill, +SC_LTTNG_TRACEPOINT_EVENT(kill, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), TP_ARGS(sc_exit(ret,) pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -525,7 +525,7 @@ SC_TRACE_EVENT(kill, ) #endif #ifndef OVERRIDE_64_msgget -SC_TRACE_EVENT(msgget, +SC_LTTNG_TRACEPOINT_EVENT(msgget, TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), TP_ARGS(sc_exit(ret,) key, msgflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, msgflg))), @@ -534,7 +534,7 @@ SC_TRACE_EVENT(msgget, ) #endif #ifndef OVERRIDE_64_flock -SC_TRACE_EVENT(flock, +SC_LTTNG_TRACEPOINT_EVENT(flock, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), TP_ARGS(sc_exit(ret,) fd, cmd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), @@ -543,7 +543,7 @@ SC_TRACE_EVENT(flock, ) #endif #ifndef OVERRIDE_64_ftruncate -SC_TRACE_EVENT(ftruncate, +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), TP_ARGS(sc_exit(ret,) fd, length), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), @@ -552,7 +552,7 @@ SC_TRACE_EVENT(ftruncate, ) #endif #ifndef OVERRIDE_64_fchmod -SC_TRACE_EVENT(fchmod, +SC_LTTNG_TRACEPOINT_EVENT(fchmod, TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), TP_ARGS(sc_exit(ret,) fd, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(umode_t, mode))), @@ -561,7 +561,7 @@ SC_TRACE_EVENT(fchmod, ) #endif #ifndef OVERRIDE_64_setpgid -SC_TRACE_EVENT(setpgid, +SC_LTTNG_TRACEPOINT_EVENT(setpgid, TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), TP_ARGS(sc_exit(ret,) pid, pgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), @@ -570,7 +570,7 @@ SC_TRACE_EVENT(setpgid, ) #endif #ifndef OVERRIDE_64_setreuid -SC_TRACE_EVENT(setreuid, +SC_LTTNG_TRACEPOINT_EVENT(setreuid, TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), TP_ARGS(sc_exit(ret,) ruid, euid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), @@ -579,7 +579,7 @@ SC_TRACE_EVENT(setreuid, ) #endif #ifndef OVERRIDE_64_setregid -SC_TRACE_EVENT(setregid, +SC_LTTNG_TRACEPOINT_EVENT(setregid, TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), TP_ARGS(sc_exit(ret,) rgid, egid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), @@ -588,7 +588,7 @@ SC_TRACE_EVENT(setregid, ) #endif #ifndef OVERRIDE_64_getpriority -SC_TRACE_EVENT(getpriority, +SC_LTTNG_TRACEPOINT_EVENT(getpriority, TP_PROTO(sc_exit(long ret,) int which, int who), TP_ARGS(sc_exit(ret,) which, who), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), @@ -597,7 +597,7 @@ SC_TRACE_EVENT(getpriority, ) #endif #ifndef OVERRIDE_64_mlock -SC_TRACE_EVENT(mlock, +SC_LTTNG_TRACEPOINT_EVENT(mlock, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), TP_ARGS(sc_exit(ret,) start, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), @@ -606,7 +606,7 @@ SC_TRACE_EVENT(mlock, ) #endif #ifndef OVERRIDE_64_munlock -SC_TRACE_EVENT(munlock, +SC_LTTNG_TRACEPOINT_EVENT(munlock, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), TP_ARGS(sc_exit(ret,) start, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), @@ -615,7 +615,7 @@ SC_TRACE_EVENT(munlock, ) #endif #ifndef OVERRIDE_64_tkill -SC_TRACE_EVENT(tkill, +SC_LTTNG_TRACEPOINT_EVENT(tkill, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), TP_ARGS(sc_exit(ret,) pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -624,7 +624,7 @@ SC_TRACE_EVENT(tkill, ) #endif #ifndef OVERRIDE_64_ioprio_get -SC_TRACE_EVENT(ioprio_get, +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, TP_PROTO(sc_exit(long ret,) int which, int who), TP_ARGS(sc_exit(ret,) which, who), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), @@ -633,7 +633,7 @@ SC_TRACE_EVENT(ioprio_get, ) #endif #ifndef OVERRIDE_64_inotify_rm_watch -SC_TRACE_EVENT(inotify_rm_watch, +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), TP_ARGS(sc_exit(ret,) fd, wd), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), @@ -642,7 +642,7 @@ SC_TRACE_EVENT(inotify_rm_watch, ) #endif #ifndef OVERRIDE_64_timerfd_create -SC_TRACE_EVENT(timerfd_create, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, TP_PROTO(sc_exit(long ret,) int clockid, int flags), TP_ARGS(sc_exit(ret,) clockid, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), @@ -651,7 +651,7 @@ SC_TRACE_EVENT(timerfd_create, ) #endif #ifndef OVERRIDE_64_eventfd2 -SC_TRACE_EVENT(eventfd2, +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), TP_ARGS(sc_exit(ret,) count, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), @@ -660,7 +660,7 @@ SC_TRACE_EVENT(eventfd2, ) #endif #ifndef OVERRIDE_64_fanotify_init -SC_TRACE_EVENT(fanotify_init, +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), TP_ARGS(sc_exit(ret,) flags, event_f_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, flags)) sc_in(__field(unsigned int, event_f_flags))), @@ -669,7 +669,7 @@ SC_TRACE_EVENT(fanotify_init, ) #endif #ifndef OVERRIDE_64_setns -SC_TRACE_EVENT(setns, +SC_LTTNG_TRACEPOINT_EVENT(setns, TP_PROTO(sc_exit(long ret,) int fd, int nstype), TP_ARGS(sc_exit(ret,) fd, nstype), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), @@ -678,7 +678,7 @@ SC_TRACE_EVENT(setns, ) #endif #ifndef OVERRIDE_64_lseek -SC_TRACE_EVENT(lseek, +SC_LTTNG_TRACEPOINT_EVENT(lseek, TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), TP_ARGS(sc_exit(ret,) fd, offset, whence), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, whence))), @@ -687,7 +687,7 @@ SC_TRACE_EVENT(lseek, ) #endif #ifndef OVERRIDE_64_mprotect -SC_TRACE_EVENT(mprotect, +SC_LTTNG_TRACEPOINT_EVENT(mprotect, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), TP_ARGS(sc_exit(ret,) start, len, prot), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), @@ -696,7 +696,7 @@ SC_TRACE_EVENT(mprotect, ) #endif #ifndef OVERRIDE_64_ioctl -SC_TRACE_EVENT(ioctl, +SC_LTTNG_TRACEPOINT_EVENT(ioctl, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) fd, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -705,7 +705,7 @@ SC_TRACE_EVENT(ioctl, ) #endif #ifndef OVERRIDE_64_msync -SC_TRACE_EVENT(msync, +SC_LTTNG_TRACEPOINT_EVENT(msync, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), TP_ARGS(sc_exit(ret,) start, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), @@ -714,7 +714,7 @@ SC_TRACE_EVENT(msync, ) #endif #ifndef OVERRIDE_64_madvise -SC_TRACE_EVENT(madvise, +SC_LTTNG_TRACEPOINT_EVENT(madvise, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), TP_ARGS(sc_exit(ret,) start, len_in, behavior), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), @@ -723,7 +723,7 @@ SC_TRACE_EVENT(madvise, ) #endif #ifndef OVERRIDE_64_shmget -SC_TRACE_EVENT(shmget, +SC_LTTNG_TRACEPOINT_EVENT(shmget, TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), TP_ARGS(sc_exit(ret,) key, size, shmflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(size_t, size)) sc_in(__field(int, shmflg))), @@ -732,7 +732,7 @@ SC_TRACE_EVENT(shmget, ) #endif #ifndef OVERRIDE_64_socket -SC_TRACE_EVENT(socket, +SC_LTTNG_TRACEPOINT_EVENT(socket, TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), TP_ARGS(sc_exit(ret,) family, type, protocol), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))), @@ -741,7 +741,7 @@ SC_TRACE_EVENT(socket, ) #endif #ifndef OVERRIDE_64_semget -SC_TRACE_EVENT(semget, +SC_LTTNG_TRACEPOINT_EVENT(semget, TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), TP_ARGS(sc_exit(ret,) key, nsems, semflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, nsems)) sc_in(__field(int, semflg))), @@ -750,7 +750,7 @@ SC_TRACE_EVENT(semget, ) #endif #ifndef OVERRIDE_64_fcntl -SC_TRACE_EVENT(fcntl, +SC_LTTNG_TRACEPOINT_EVENT(fcntl, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) fd, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -759,7 +759,7 @@ SC_TRACE_EVENT(fcntl, ) #endif #ifndef OVERRIDE_64_fchown -SC_TRACE_EVENT(fchown, +SC_LTTNG_TRACEPOINT_EVENT(fchown, TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) fd, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -768,7 +768,7 @@ SC_TRACE_EVENT(fchown, ) #endif #ifndef OVERRIDE_64_setresuid -SC_TRACE_EVENT(setresuid, +SC_LTTNG_TRACEPOINT_EVENT(setresuid, TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), TP_ARGS(sc_exit(ret,) ruid, euid, suid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), @@ -777,7 +777,7 @@ SC_TRACE_EVENT(setresuid, ) #endif #ifndef OVERRIDE_64_setresgid -SC_TRACE_EVENT(setresgid, +SC_LTTNG_TRACEPOINT_EVENT(setresgid, TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), TP_ARGS(sc_exit(ret,) rgid, egid, sgid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), @@ -786,7 +786,7 @@ SC_TRACE_EVENT(setresgid, ) #endif #ifndef OVERRIDE_64_sysfs -SC_TRACE_EVENT(sysfs, +SC_LTTNG_TRACEPOINT_EVENT(sysfs, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), TP_ARGS(sc_exit(ret,) option, arg1, arg2), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), @@ -795,7 +795,7 @@ SC_TRACE_EVENT(sysfs, ) #endif #ifndef OVERRIDE_64_setpriority -SC_TRACE_EVENT(setpriority, +SC_LTTNG_TRACEPOINT_EVENT(setpriority, TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), TP_ARGS(sc_exit(ret,) which, who, niceval), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), @@ -804,7 +804,7 @@ SC_TRACE_EVENT(setpriority, ) #endif #ifndef OVERRIDE_64_readahead -SC_TRACE_EVENT(readahead, +SC_LTTNG_TRACEPOINT_EVENT(readahead, TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), TP_ARGS(sc_exit(ret,) fd, offset, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(size_t, count))), @@ -813,7 +813,7 @@ SC_TRACE_EVENT(readahead, ) #endif #ifndef OVERRIDE_64_tgkill -SC_TRACE_EVENT(tgkill, +SC_LTTNG_TRACEPOINT_EVENT(tgkill, TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), TP_ARGS(sc_exit(ret,) tgid, pid, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), @@ -822,7 +822,7 @@ SC_TRACE_EVENT(tgkill, ) #endif #ifndef OVERRIDE_64_ioprio_set -SC_TRACE_EVENT(ioprio_set, +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), TP_ARGS(sc_exit(ret,) which, who, ioprio), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), @@ -831,7 +831,7 @@ SC_TRACE_EVENT(ioprio_set, ) #endif #ifndef OVERRIDE_64_dup3 -SC_TRACE_EVENT(dup3, +SC_LTTNG_TRACEPOINT_EVENT(dup3, TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), @@ -840,7 +840,7 @@ SC_TRACE_EVENT(dup3, ) #endif #ifndef OVERRIDE_64_semctl -SC_TRACE_EVENT(semctl, +SC_LTTNG_TRACEPOINT_EVENT(semctl, TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field(int, semnum)) sc_in(__field(int, cmd)) sc_inout(__field(unsigned long, arg))), @@ -849,7 +849,7 @@ SC_TRACE_EVENT(semctl, ) #endif #ifndef OVERRIDE_64_ptrace -SC_TRACE_EVENT(ptrace, +SC_LTTNG_TRACEPOINT_EVENT(ptrace, TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), TP_ARGS(sc_exit(ret,) request, pid, addr, data), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), @@ -858,7 +858,7 @@ SC_TRACE_EVENT(ptrace, ) #endif #ifndef OVERRIDE_64_fadvise64 -SC_TRACE_EVENT(fadvise64, +SC_LTTNG_TRACEPOINT_EVENT(fadvise64, TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice), TP_ARGS(sc_exit(ret,) fd, offset, len, advice), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(size_t, len)) sc_in(__field(int, advice))), @@ -867,7 +867,7 @@ SC_TRACE_EVENT(fadvise64, ) #endif #ifndef OVERRIDE_64_tee -SC_TRACE_EVENT(tee, +SC_LTTNG_TRACEPOINT_EVENT(tee, TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), @@ -876,7 +876,7 @@ SC_TRACE_EVENT(tee, ) #endif #ifndef OVERRIDE_64_sync_file_range -SC_TRACE_EVENT(sync_file_range, +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, nbytes)) sc_in(__field(unsigned int, flags))), @@ -885,7 +885,7 @@ SC_TRACE_EVENT(sync_file_range, ) #endif #ifndef OVERRIDE_64_fallocate -SC_TRACE_EVENT(fallocate, +SC_LTTNG_TRACEPOINT_EVENT(fallocate, TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), TP_ARGS(sc_exit(ret,) fd, mode, offset, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, mode)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, len))), @@ -894,7 +894,7 @@ SC_TRACE_EVENT(fallocate, ) #endif #ifndef OVERRIDE_64_mremap -SC_TRACE_EVENT(mremap, +SC_LTTNG_TRACEPOINT_EVENT(mremap, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), @@ -903,7 +903,7 @@ SC_TRACE_EVENT(mremap, ) #endif #ifndef OVERRIDE_64_prctl -SC_TRACE_EVENT(prctl, +SC_LTTNG_TRACEPOINT_EVENT(prctl, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), @@ -912,7 +912,7 @@ SC_TRACE_EVENT(prctl, ) #endif #ifndef OVERRIDE_64_remap_file_pages -SC_TRACE_EVENT(remap_file_pages, +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), @@ -921,7 +921,7 @@ SC_TRACE_EVENT(remap_file_pages, ) #endif #ifndef OVERRIDE_64_keyctl -SC_TRACE_EVENT(keyctl, +SC_LTTNG_TRACEPOINT_EVENT(keyctl, TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_inout(__field(unsigned long, arg3)) sc_inout(__field(unsigned long, arg4)) sc_inout(__field(unsigned long, arg5))), @@ -930,7 +930,7 @@ SC_TRACE_EVENT(keyctl, ) #endif #ifndef OVERRIDE_64_mmap -SC_TRACE_EVENT(mmap, +SC_LTTNG_TRACEPOINT_EVENT(mmap, TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, len)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, flags)) sc_in(__field(unsigned long, fd)) sc_in(__field(unsigned long, off))), diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h index 97bdc89c..24cd6dfb 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h @@ -10,7 +10,7 @@ #include "syscalls_pointers_override.h" #ifndef OVERRIDE_64_pipe -SC_TRACE_EVENT(pipe, +SC_LTTNG_TRACEPOINT_EVENT(pipe, TP_PROTO(sc_exit(long ret,) int * fildes), TP_ARGS(sc_exit(ret,) fildes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))), @@ -19,7 +19,7 @@ SC_TRACE_EVENT(pipe, ) #endif #ifndef OVERRIDE_64_newuname -SC_TRACE_EVENT(newuname, +SC_LTTNG_TRACEPOINT_EVENT(newuname, TP_PROTO(sc_exit(long ret,) struct new_utsname * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), @@ -28,7 +28,7 @@ SC_TRACE_EVENT(newuname, ) #endif #ifndef OVERRIDE_64_shmdt -SC_TRACE_EVENT(shmdt, +SC_LTTNG_TRACEPOINT_EVENT(shmdt, TP_PROTO(sc_exit(long ret,) char * shmaddr), TP_ARGS(sc_exit(ret,) shmaddr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(char *, shmaddr))), @@ -37,7 +37,7 @@ SC_TRACE_EVENT(shmdt, ) #endif #ifndef OVERRIDE_64_chdir -SC_TRACE_EVENT(chdir, +SC_LTTNG_TRACEPOINT_EVENT(chdir, TP_PROTO(sc_exit(long ret,) const char * filename), TP_ARGS(sc_exit(ret,) filename), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), @@ -46,7 +46,7 @@ SC_TRACE_EVENT(chdir, ) #endif #ifndef OVERRIDE_64_rmdir -SC_TRACE_EVENT(rmdir, +SC_LTTNG_TRACEPOINT_EVENT(rmdir, TP_PROTO(sc_exit(long ret,) const char * pathname), TP_ARGS(sc_exit(ret,) pathname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), @@ -55,7 +55,7 @@ SC_TRACE_EVENT(rmdir, ) #endif #ifndef OVERRIDE_64_unlink -SC_TRACE_EVENT(unlink, +SC_LTTNG_TRACEPOINT_EVENT(unlink, TP_PROTO(sc_exit(long ret,) const char * pathname), TP_ARGS(sc_exit(ret,) pathname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), @@ -64,7 +64,7 @@ SC_TRACE_EVENT(unlink, ) #endif #ifndef OVERRIDE_64_sysinfo -SC_TRACE_EVENT(sysinfo, +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, TP_PROTO(sc_exit(long ret,) struct sysinfo * info), TP_ARGS(sc_exit(ret,) info), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), @@ -73,7 +73,7 @@ SC_TRACE_EVENT(sysinfo, ) #endif #ifndef OVERRIDE_64_times -SC_TRACE_EVENT(times, +SC_LTTNG_TRACEPOINT_EVENT(times, TP_PROTO(sc_exit(long ret,) struct tms * tbuf), TP_ARGS(sc_exit(ret,) tbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), @@ -82,7 +82,7 @@ SC_TRACE_EVENT(times, ) #endif #ifndef OVERRIDE_64_sysctl -SC_TRACE_EVENT(sysctl, +SC_LTTNG_TRACEPOINT_EVENT(sysctl, TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), TP_ARGS(sc_exit(ret,) args), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), @@ -91,7 +91,7 @@ SC_TRACE_EVENT(sysctl, ) #endif #ifndef OVERRIDE_64_adjtimex -SC_TRACE_EVENT(adjtimex, +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, TP_PROTO(sc_exit(long ret,) struct timex * txc_p), TP_ARGS(sc_exit(ret,) txc_p), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), @@ -100,7 +100,7 @@ SC_TRACE_EVENT(adjtimex, ) #endif #ifndef OVERRIDE_64_chroot -SC_TRACE_EVENT(chroot, +SC_LTTNG_TRACEPOINT_EVENT(chroot, TP_PROTO(sc_exit(long ret,) const char * filename), TP_ARGS(sc_exit(ret,) filename), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), @@ -109,7 +109,7 @@ SC_TRACE_EVENT(chroot, ) #endif #ifndef OVERRIDE_64_acct -SC_TRACE_EVENT(acct, +SC_LTTNG_TRACEPOINT_EVENT(acct, TP_PROTO(sc_exit(long ret,) const char * name), TP_ARGS(sc_exit(ret,) name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))), @@ -118,7 +118,7 @@ SC_TRACE_EVENT(acct, ) #endif #ifndef OVERRIDE_64_swapoff -SC_TRACE_EVENT(swapoff, +SC_LTTNG_TRACEPOINT_EVENT(swapoff, TP_PROTO(sc_exit(long ret,) const char * specialfile), TP_ARGS(sc_exit(ret,) specialfile), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), @@ -127,7 +127,7 @@ SC_TRACE_EVENT(swapoff, ) #endif #ifndef OVERRIDE_64_time -SC_TRACE_EVENT(time, +SC_LTTNG_TRACEPOINT_EVENT(time, TP_PROTO(sc_exit(long ret,) time_t * tloc), TP_ARGS(sc_exit(ret,) tloc), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))), @@ -136,7 +136,7 @@ SC_TRACE_EVENT(time, ) #endif #ifndef OVERRIDE_64_set_tid_address -SC_TRACE_EVENT(set_tid_address, +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, TP_PROTO(sc_exit(long ret,) int * tidptr), TP_ARGS(sc_exit(ret,) tidptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), @@ -145,7 +145,7 @@ SC_TRACE_EVENT(set_tid_address, ) #endif #ifndef OVERRIDE_64_mq_unlink -SC_TRACE_EVENT(mq_unlink, +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, TP_PROTO(sc_exit(long ret,) const char * u_name), TP_ARGS(sc_exit(ret,) u_name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))), @@ -154,7 +154,7 @@ SC_TRACE_EVENT(mq_unlink, ) #endif #ifndef OVERRIDE_64_newstat -SC_TRACE_EVENT(newstat, +SC_LTTNG_TRACEPOINT_EVENT(newstat, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), @@ -163,7 +163,7 @@ SC_TRACE_EVENT(newstat, ) #endif #ifndef OVERRIDE_64_newfstat -SC_TRACE_EVENT(newfstat, +SC_LTTNG_TRACEPOINT_EVENT(newfstat, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), TP_ARGS(sc_exit(ret,) fd, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), @@ -172,7 +172,7 @@ SC_TRACE_EVENT(newfstat, ) #endif #ifndef OVERRIDE_64_newlstat -SC_TRACE_EVENT(newlstat, +SC_LTTNG_TRACEPOINT_EVENT(newlstat, TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), @@ -181,7 +181,7 @@ SC_TRACE_EVENT(newlstat, ) #endif #ifndef OVERRIDE_64_access -SC_TRACE_EVENT(access, +SC_LTTNG_TRACEPOINT_EVENT(access, TP_PROTO(sc_exit(long ret,) const char * filename, int mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), @@ -190,7 +190,7 @@ SC_TRACE_EVENT(access, ) #endif #ifndef OVERRIDE_64_nanosleep -SC_TRACE_EVENT(nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(sc_exit(ret,) rqtp, rmtp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), @@ -199,7 +199,7 @@ SC_TRACE_EVENT(nanosleep, ) #endif #ifndef OVERRIDE_64_getitimer -SC_TRACE_EVENT(getitimer, +SC_LTTNG_TRACEPOINT_EVENT(getitimer, TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), TP_ARGS(sc_exit(ret,) which, value), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), @@ -208,7 +208,7 @@ SC_TRACE_EVENT(getitimer, ) #endif #ifndef OVERRIDE_64_truncate -SC_TRACE_EVENT(truncate, +SC_LTTNG_TRACEPOINT_EVENT(truncate, TP_PROTO(sc_exit(long ret,) const char * path, long length), TP_ARGS(sc_exit(ret,) path, length), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), @@ -217,7 +217,7 @@ SC_TRACE_EVENT(truncate, ) #endif #ifndef OVERRIDE_64_getcwd -SC_TRACE_EVENT(getcwd, +SC_LTTNG_TRACEPOINT_EVENT(getcwd, TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), TP_ARGS(sc_exit(ret,) buf, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), @@ -226,7 +226,7 @@ SC_TRACE_EVENT(getcwd, ) #endif #ifndef OVERRIDE_64_rename -SC_TRACE_EVENT(rename, +SC_LTTNG_TRACEPOINT_EVENT(rename, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -235,7 +235,7 @@ SC_TRACE_EVENT(rename, ) #endif #ifndef OVERRIDE_64_mkdir -SC_TRACE_EVENT(mkdir, +SC_LTTNG_TRACEPOINT_EVENT(mkdir, TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), TP_ARGS(sc_exit(ret,) pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), @@ -244,7 +244,7 @@ SC_TRACE_EVENT(mkdir, ) #endif #ifndef OVERRIDE_64_creat -SC_TRACE_EVENT(creat, +SC_LTTNG_TRACEPOINT_EVENT(creat, TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), TP_ARGS(sc_exit(ret,) pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), @@ -253,7 +253,7 @@ SC_TRACE_EVENT(creat, ) #endif #ifndef OVERRIDE_64_link -SC_TRACE_EVENT(link, +SC_LTTNG_TRACEPOINT_EVENT(link, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -262,7 +262,7 @@ SC_TRACE_EVENT(link, ) #endif #ifndef OVERRIDE_64_symlink -SC_TRACE_EVENT(symlink, +SC_LTTNG_TRACEPOINT_EVENT(symlink, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), @@ -271,7 +271,7 @@ SC_TRACE_EVENT(symlink, ) #endif #ifndef OVERRIDE_64_chmod -SC_TRACE_EVENT(chmod, +SC_LTTNG_TRACEPOINT_EVENT(chmod, TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), @@ -280,7 +280,7 @@ SC_TRACE_EVENT(chmod, ) #endif #ifndef OVERRIDE_64_gettimeofday -SC_TRACE_EVENT(gettimeofday, +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), TP_ARGS(sc_exit(ret,) tv, tz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), @@ -289,7 +289,7 @@ SC_TRACE_EVENT(gettimeofday, ) #endif #ifndef OVERRIDE_64_getrlimit -SC_TRACE_EVENT(getrlimit, +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), TP_ARGS(sc_exit(ret,) resource, rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), @@ -298,7 +298,7 @@ SC_TRACE_EVENT(getrlimit, ) #endif #ifndef OVERRIDE_64_getrusage -SC_TRACE_EVENT(getrusage, +SC_LTTNG_TRACEPOINT_EVENT(getrusage, TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), TP_ARGS(sc_exit(ret,) who, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), @@ -307,7 +307,7 @@ SC_TRACE_EVENT(getrusage, ) #endif #ifndef OVERRIDE_64_getgroups -SC_TRACE_EVENT(getgroups, +SC_LTTNG_TRACEPOINT_EVENT(getgroups, TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), @@ -316,7 +316,7 @@ SC_TRACE_EVENT(getgroups, ) #endif #ifndef OVERRIDE_64_setgroups -SC_TRACE_EVENT(setgroups, +SC_LTTNG_TRACEPOINT_EVENT(setgroups, TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), @@ -325,7 +325,7 @@ SC_TRACE_EVENT(setgroups, ) #endif #ifndef OVERRIDE_64_rt_sigpending -SC_TRACE_EVENT(rt_sigpending, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), TP_ARGS(sc_exit(ret,) uset, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, uset)) sc_in(__field(size_t, sigsetsize))), @@ -334,7 +334,7 @@ SC_TRACE_EVENT(rt_sigpending, ) #endif #ifndef OVERRIDE_64_rt_sigsuspend -SC_TRACE_EVENT(rt_sigsuspend, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), TP_ARGS(sc_exit(ret,) unewset, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), @@ -343,7 +343,7 @@ SC_TRACE_EVENT(rt_sigsuspend, ) #endif #ifndef OVERRIDE_64_sigaltstack -SC_TRACE_EVENT(sigaltstack, +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), TP_ARGS(sc_exit(ret,) uss, uoss), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(const stack_t *, uss)) sc_inout(__field_hex(stack_t *, uoss))), @@ -352,7 +352,7 @@ SC_TRACE_EVENT(sigaltstack, ) #endif #ifndef OVERRIDE_64_utime -SC_TRACE_EVENT(utime, +SC_LTTNG_TRACEPOINT_EVENT(utime, TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), TP_ARGS(sc_exit(ret,) filename, times), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), @@ -361,7 +361,7 @@ SC_TRACE_EVENT(utime, ) #endif #ifndef OVERRIDE_64_ustat -SC_TRACE_EVENT(ustat, +SC_LTTNG_TRACEPOINT_EVENT(ustat, TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), TP_ARGS(sc_exit(ret,) dev, ubuf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), @@ -370,7 +370,7 @@ SC_TRACE_EVENT(ustat, ) #endif #ifndef OVERRIDE_64_statfs -SC_TRACE_EVENT(statfs, +SC_LTTNG_TRACEPOINT_EVENT(statfs, TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), TP_ARGS(sc_exit(ret,) pathname, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), @@ -379,7 +379,7 @@ SC_TRACE_EVENT(statfs, ) #endif #ifndef OVERRIDE_64_fstatfs -SC_TRACE_EVENT(fstatfs, +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), TP_ARGS(sc_exit(ret,) fd, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), @@ -388,7 +388,7 @@ SC_TRACE_EVENT(fstatfs, ) #endif #ifndef OVERRIDE_64_sched_setparam -SC_TRACE_EVENT(sched_setparam, +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), @@ -397,7 +397,7 @@ SC_TRACE_EVENT(sched_setparam, ) #endif #ifndef OVERRIDE_64_sched_getparam -SC_TRACE_EVENT(sched_getparam, +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), @@ -406,7 +406,7 @@ SC_TRACE_EVENT(sched_getparam, ) #endif #ifndef OVERRIDE_64_sched_rr_get_interval -SC_TRACE_EVENT(sched_rr_get_interval, +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), TP_ARGS(sc_exit(ret,) pid, interval), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), @@ -415,7 +415,7 @@ SC_TRACE_EVENT(sched_rr_get_interval, ) #endif #ifndef OVERRIDE_64_pivot_root -SC_TRACE_EVENT(pivot_root, +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), TP_ARGS(sc_exit(ret,) new_root, put_old), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), @@ -424,7 +424,7 @@ SC_TRACE_EVENT(pivot_root, ) #endif #ifndef OVERRIDE_64_setrlimit -SC_TRACE_EVENT(setrlimit, +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), TP_ARGS(sc_exit(ret,) resource, rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), @@ -433,7 +433,7 @@ SC_TRACE_EVENT(setrlimit, ) #endif #ifndef OVERRIDE_64_settimeofday -SC_TRACE_EVENT(settimeofday, +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), TP_ARGS(sc_exit(ret,) tv, tz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), @@ -442,7 +442,7 @@ SC_TRACE_EVENT(settimeofday, ) #endif #ifndef OVERRIDE_64_umount -SC_TRACE_EVENT(umount, +SC_LTTNG_TRACEPOINT_EVENT(umount, TP_PROTO(sc_exit(long ret,) char * name, int flags), TP_ARGS(sc_exit(ret,) name, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), @@ -451,7 +451,7 @@ SC_TRACE_EVENT(umount, ) #endif #ifndef OVERRIDE_64_swapon -SC_TRACE_EVENT(swapon, +SC_LTTNG_TRACEPOINT_EVENT(swapon, TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), TP_ARGS(sc_exit(ret,) specialfile, swap_flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), @@ -460,7 +460,7 @@ SC_TRACE_EVENT(swapon, ) #endif #ifndef OVERRIDE_64_sethostname -SC_TRACE_EVENT(sethostname, +SC_LTTNG_TRACEPOINT_EVENT(sethostname, TP_PROTO(sc_exit(long ret,) char * name, int len), TP_ARGS(sc_exit(ret,) name, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), @@ -469,7 +469,7 @@ SC_TRACE_EVENT(sethostname, ) #endif #ifndef OVERRIDE_64_setdomainname -SC_TRACE_EVENT(setdomainname, +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, TP_PROTO(sc_exit(long ret,) char * name, int len), TP_ARGS(sc_exit(ret,) name, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), @@ -478,7 +478,7 @@ SC_TRACE_EVENT(setdomainname, ) #endif #ifndef OVERRIDE_64_delete_module -SC_TRACE_EVENT(delete_module, +SC_LTTNG_TRACEPOINT_EVENT(delete_module, TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), TP_ARGS(sc_exit(ret,) name_user, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), @@ -487,7 +487,7 @@ SC_TRACE_EVENT(delete_module, ) #endif #ifndef OVERRIDE_64_removexattr -SC_TRACE_EVENT(removexattr, +SC_LTTNG_TRACEPOINT_EVENT(removexattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), TP_ARGS(sc_exit(ret,) pathname, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), @@ -496,7 +496,7 @@ SC_TRACE_EVENT(removexattr, ) #endif #ifndef OVERRIDE_64_lremovexattr -SC_TRACE_EVENT(lremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), TP_ARGS(sc_exit(ret,) pathname, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), @@ -505,7 +505,7 @@ SC_TRACE_EVENT(lremovexattr, ) #endif #ifndef OVERRIDE_64_fremovexattr -SC_TRACE_EVENT(fremovexattr, +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name), TP_ARGS(sc_exit(ret,) fd, name), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), @@ -514,7 +514,7 @@ SC_TRACE_EVENT(fremovexattr, ) #endif #ifndef OVERRIDE_64_io_setup -SC_TRACE_EVENT(io_setup, +SC_LTTNG_TRACEPOINT_EVENT(io_setup, TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), TP_ARGS(sc_exit(ret,) nr_events, ctxp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), @@ -523,7 +523,7 @@ SC_TRACE_EVENT(io_setup, ) #endif #ifndef OVERRIDE_64_timer_gettime -SC_TRACE_EVENT(timer_gettime, +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), TP_ARGS(sc_exit(ret,) timer_id, setting), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), @@ -532,7 +532,7 @@ SC_TRACE_EVENT(timer_gettime, ) #endif #ifndef OVERRIDE_64_clock_settime -SC_TRACE_EVENT(clock_settime, +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), @@ -541,7 +541,7 @@ SC_TRACE_EVENT(clock_settime, ) #endif #ifndef OVERRIDE_64_clock_gettime -SC_TRACE_EVENT(clock_gettime, +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), @@ -550,7 +550,7 @@ SC_TRACE_EVENT(clock_gettime, ) #endif #ifndef OVERRIDE_64_clock_getres -SC_TRACE_EVENT(clock_getres, +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), TP_ARGS(sc_exit(ret,) which_clock, tp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), @@ -559,7 +559,7 @@ SC_TRACE_EVENT(clock_getres, ) #endif #ifndef OVERRIDE_64_utimes -SC_TRACE_EVENT(utimes, +SC_LTTNG_TRACEPOINT_EVENT(utimes, TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), TP_ARGS(sc_exit(ret,) filename, utimes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), @@ -568,7 +568,7 @@ SC_TRACE_EVENT(utimes, ) #endif #ifndef OVERRIDE_64_mq_notify -SC_TRACE_EVENT(mq_notify, +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), TP_ARGS(sc_exit(ret,) mqdes, u_notification), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))), @@ -577,7 +577,7 @@ SC_TRACE_EVENT(mq_notify, ) #endif #ifndef OVERRIDE_64_set_robust_list -SC_TRACE_EVENT(set_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), TP_ARGS(sc_exit(ret,) head, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), @@ -586,7 +586,7 @@ SC_TRACE_EVENT(set_robust_list, ) #endif #ifndef OVERRIDE_64_timerfd_gettime -SC_TRACE_EVENT(timerfd_gettime, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), TP_ARGS(sc_exit(ret,) ufd, otmr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), @@ -595,7 +595,7 @@ SC_TRACE_EVENT(timerfd_gettime, ) #endif #ifndef OVERRIDE_64_pipe2 -SC_TRACE_EVENT(pipe2, +SC_LTTNG_TRACEPOINT_EVENT(pipe2, TP_PROTO(sc_exit(long ret,) int * fildes, int flags), TP_ARGS(sc_exit(ret,) fildes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), @@ -604,7 +604,7 @@ SC_TRACE_EVENT(pipe2, ) #endif #ifndef OVERRIDE_64_clock_adjtime -SC_TRACE_EVENT(clock_adjtime, +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), TP_ARGS(sc_exit(ret,) which_clock, utx), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), @@ -613,7 +613,7 @@ SC_TRACE_EVENT(clock_adjtime, ) #endif #ifndef OVERRIDE_64_read -SC_TRACE_EVENT(read, +SC_LTTNG_TRACEPOINT_EVENT(read, TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), TP_ARGS(sc_exit(ret,) fd, buf, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), @@ -622,7 +622,7 @@ SC_TRACE_EVENT(read, ) #endif #ifndef OVERRIDE_64_write -SC_TRACE_EVENT(write, +SC_LTTNG_TRACEPOINT_EVENT(write, TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), TP_ARGS(sc_exit(ret,) fd, buf, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), @@ -631,7 +631,7 @@ SC_TRACE_EVENT(write, ) #endif #ifndef OVERRIDE_64_open -SC_TRACE_EVENT(open, +SC_LTTNG_TRACEPOINT_EVENT(open, TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), TP_ARGS(sc_exit(ret,) filename, flags, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), @@ -640,7 +640,7 @@ SC_TRACE_EVENT(open, ) #endif #ifndef OVERRIDE_64_poll -SC_TRACE_EVENT(poll, +SC_LTTNG_TRACEPOINT_EVENT(poll, TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(int, timeout_msecs))), @@ -649,7 +649,7 @@ SC_TRACE_EVENT(poll, ) #endif #ifndef OVERRIDE_64_readv -SC_TRACE_EVENT(readv, +SC_LTTNG_TRACEPOINT_EVENT(readv, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(sc_exit(ret,) fd, vec, vlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), @@ -658,7 +658,7 @@ SC_TRACE_EVENT(readv, ) #endif #ifndef OVERRIDE_64_writev -SC_TRACE_EVENT(writev, +SC_LTTNG_TRACEPOINT_EVENT(writev, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), TP_ARGS(sc_exit(ret,) fd, vec, vlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), @@ -667,7 +667,7 @@ SC_TRACE_EVENT(writev, ) #endif #ifndef OVERRIDE_64_mincore -SC_TRACE_EVENT(mincore, +SC_LTTNG_TRACEPOINT_EVENT(mincore, TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), TP_ARGS(sc_exit(ret,) start, len, vec), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), @@ -676,7 +676,7 @@ SC_TRACE_EVENT(mincore, ) #endif #ifndef OVERRIDE_64_shmat -SC_TRACE_EVENT(shmat, +SC_LTTNG_TRACEPOINT_EVENT(shmat, TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field_hex(char *, shmaddr)) sc_in(__field(int, shmflg))), @@ -685,7 +685,7 @@ SC_TRACE_EVENT(shmat, ) #endif #ifndef OVERRIDE_64_shmctl -SC_TRACE_EVENT(shmctl, +SC_LTTNG_TRACEPOINT_EVENT(shmctl, TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), TP_ARGS(sc_exit(ret,) shmid, cmd, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct shmid_ds *, buf))), @@ -694,7 +694,7 @@ SC_TRACE_EVENT(shmctl, ) #endif #ifndef OVERRIDE_64_setitimer -SC_TRACE_EVENT(setitimer, +SC_LTTNG_TRACEPOINT_EVENT(setitimer, TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), TP_ARGS(sc_exit(ret,) which, value, ovalue), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), @@ -703,7 +703,7 @@ SC_TRACE_EVENT(setitimer, ) #endif #ifndef OVERRIDE_64_connect -SC_TRACE_EVENT(connect, +SC_LTTNG_TRACEPOINT_EVENT(connect, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))), @@ -712,7 +712,7 @@ SC_TRACE_EVENT(connect, ) #endif #ifndef OVERRIDE_64_accept -SC_TRACE_EVENT(accept, +SC_LTTNG_TRACEPOINT_EVENT(accept, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))), @@ -721,7 +721,7 @@ SC_TRACE_EVENT(accept, ) #endif #ifndef OVERRIDE_64_sendmsg -SC_TRACE_EVENT(sendmsg, +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, msg, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), @@ -730,7 +730,7 @@ SC_TRACE_EVENT(sendmsg, ) #endif #ifndef OVERRIDE_64_recvmsg -SC_TRACE_EVENT(recvmsg, +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, msg, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))), @@ -739,7 +739,7 @@ SC_TRACE_EVENT(recvmsg, ) #endif #ifndef OVERRIDE_64_bind -SC_TRACE_EVENT(bind, +SC_LTTNG_TRACEPOINT_EVENT(bind, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))), @@ -748,7 +748,7 @@ SC_TRACE_EVENT(bind, ) #endif #ifndef OVERRIDE_64_getsockname -SC_TRACE_EVENT(getsockname, +SC_LTTNG_TRACEPOINT_EVENT(getsockname, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), @@ -757,7 +757,7 @@ SC_TRACE_EVENT(getsockname, ) #endif #ifndef OVERRIDE_64_getpeername -SC_TRACE_EVENT(getpeername, +SC_LTTNG_TRACEPOINT_EVENT(getpeername, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))), @@ -766,7 +766,7 @@ SC_TRACE_EVENT(getpeername, ) #endif #ifndef OVERRIDE_64_semop -SC_TRACE_EVENT(semop, +SC_LTTNG_TRACEPOINT_EVENT(semop, TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), TP_ARGS(sc_exit(ret,) semid, tsops, nsops), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops))), @@ -775,7 +775,7 @@ SC_TRACE_EVENT(semop, ) #endif #ifndef OVERRIDE_64_msgctl -SC_TRACE_EVENT(msgctl, +SC_LTTNG_TRACEPOINT_EVENT(msgctl, TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), TP_ARGS(sc_exit(ret,) msqid, cmd, buf), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct msqid_ds *, buf))), @@ -784,7 +784,7 @@ SC_TRACE_EVENT(msgctl, ) #endif #ifndef OVERRIDE_64_getdents -SC_TRACE_EVENT(getdents, +SC_LTTNG_TRACEPOINT_EVENT(getdents, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), TP_ARGS(sc_exit(ret,) fd, dirent, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), @@ -793,7 +793,7 @@ SC_TRACE_EVENT(getdents, ) #endif #ifndef OVERRIDE_64_readlink -SC_TRACE_EVENT(readlink, +SC_LTTNG_TRACEPOINT_EVENT(readlink, TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), TP_ARGS(sc_exit(ret,) path, buf, bufsiz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), @@ -802,7 +802,7 @@ SC_TRACE_EVENT(readlink, ) #endif #ifndef OVERRIDE_64_chown -SC_TRACE_EVENT(chown, +SC_LTTNG_TRACEPOINT_EVENT(chown, TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -811,7 +811,7 @@ SC_TRACE_EVENT(chown, ) #endif #ifndef OVERRIDE_64_lchown -SC_TRACE_EVENT(lchown, +SC_LTTNG_TRACEPOINT_EVENT(lchown, TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), @@ -820,7 +820,7 @@ SC_TRACE_EVENT(lchown, ) #endif #ifndef OVERRIDE_64_syslog -SC_TRACE_EVENT(syslog, +SC_LTTNG_TRACEPOINT_EVENT(syslog, TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), TP_ARGS(sc_exit(ret,) type, buf, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), @@ -829,7 +829,7 @@ SC_TRACE_EVENT(syslog, ) #endif #ifndef OVERRIDE_64_getresuid -SC_TRACE_EVENT(getresuid, +SC_LTTNG_TRACEPOINT_EVENT(getresuid, TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruidp)) sc_out(__field_hex(uid_t *, euidp)) sc_out(__field_hex(uid_t *, suidp))), @@ -838,7 +838,7 @@ SC_TRACE_EVENT(getresuid, ) #endif #ifndef OVERRIDE_64_getresgid -SC_TRACE_EVENT(getresgid, +SC_LTTNG_TRACEPOINT_EVENT(getresgid, TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgidp)) sc_out(__field_hex(gid_t *, egidp)) sc_out(__field_hex(gid_t *, sgidp))), @@ -847,7 +847,7 @@ SC_TRACE_EVENT(getresgid, ) #endif #ifndef OVERRIDE_64_rt_sigqueueinfo -SC_TRACE_EVENT(rt_sigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(sc_exit(ret,) pid, sig, uinfo), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), @@ -856,7 +856,7 @@ SC_TRACE_EVENT(rt_sigqueueinfo, ) #endif #ifndef OVERRIDE_64_mknod -SC_TRACE_EVENT(mknod, +SC_LTTNG_TRACEPOINT_EVENT(mknod, TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), TP_ARGS(sc_exit(ret,) filename, mode, dev), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), @@ -865,7 +865,7 @@ SC_TRACE_EVENT(mknod, ) #endif #ifndef OVERRIDE_64_sched_setscheduler -SC_TRACE_EVENT(sched_setscheduler, +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), TP_ARGS(sc_exit(ret,) pid, policy, param), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), @@ -874,7 +874,7 @@ SC_TRACE_EVENT(sched_setscheduler, ) #endif #ifndef OVERRIDE_64_init_module -SC_TRACE_EVENT(init_module, +SC_LTTNG_TRACEPOINT_EVENT(init_module, TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), TP_ARGS(sc_exit(ret,) umod, len, uargs), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), @@ -883,7 +883,7 @@ SC_TRACE_EVENT(init_module, ) #endif #ifndef OVERRIDE_64_listxattr -SC_TRACE_EVENT(listxattr, +SC_LTTNG_TRACEPOINT_EVENT(listxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), TP_ARGS(sc_exit(ret,) pathname, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -892,7 +892,7 @@ SC_TRACE_EVENT(listxattr, ) #endif #ifndef OVERRIDE_64_llistxattr -SC_TRACE_EVENT(llistxattr, +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), TP_ARGS(sc_exit(ret,) pathname, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -901,7 +901,7 @@ SC_TRACE_EVENT(llistxattr, ) #endif #ifndef OVERRIDE_64_flistxattr -SC_TRACE_EVENT(flistxattr, +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), TP_ARGS(sc_exit(ret,) fd, list, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), @@ -910,7 +910,7 @@ SC_TRACE_EVENT(flistxattr, ) #endif #ifndef OVERRIDE_64_sched_setaffinity -SC_TRACE_EVENT(sched_setaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), @@ -919,7 +919,7 @@ SC_TRACE_EVENT(sched_setaffinity, ) #endif #ifndef OVERRIDE_64_sched_getaffinity -SC_TRACE_EVENT(sched_getaffinity, +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), @@ -928,7 +928,7 @@ SC_TRACE_EVENT(sched_getaffinity, ) #endif #ifndef OVERRIDE_64_io_submit -SC_TRACE_EVENT(io_submit, +SC_LTTNG_TRACEPOINT_EVENT(io_submit, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), @@ -937,7 +937,7 @@ SC_TRACE_EVENT(io_submit, ) #endif #ifndef OVERRIDE_64_io_cancel -SC_TRACE_EVENT(io_cancel, +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), @@ -946,7 +946,7 @@ SC_TRACE_EVENT(io_cancel, ) #endif #ifndef OVERRIDE_64_lookup_dcookie -SC_TRACE_EVENT(lookup_dcookie, +SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), TP_ARGS(sc_exit(ret,) cookie64, buf, len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(u64, cookie64)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, len))), @@ -955,7 +955,7 @@ SC_TRACE_EVENT(lookup_dcookie, ) #endif #ifndef OVERRIDE_64_getdents64 -SC_TRACE_EVENT(getdents64, +SC_LTTNG_TRACEPOINT_EVENT(getdents64, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), TP_ARGS(sc_exit(ret,) fd, dirent, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), @@ -964,7 +964,7 @@ SC_TRACE_EVENT(getdents64, ) #endif #ifndef OVERRIDE_64_timer_create -SC_TRACE_EVENT(timer_create, +SC_LTTNG_TRACEPOINT_EVENT(timer_create, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), @@ -973,7 +973,7 @@ SC_TRACE_EVENT(timer_create, ) #endif #ifndef OVERRIDE_64_set_mempolicy -SC_TRACE_EVENT(set_mempolicy, +SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy, TP_PROTO(sc_exit(long ret,) int mode, unsigned long * nmask, unsigned long maxnode), TP_ARGS(sc_exit(ret,) mode, nmask, maxnode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mode)) sc_in(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode))), @@ -982,7 +982,7 @@ SC_TRACE_EVENT(set_mempolicy, ) #endif #ifndef OVERRIDE_64_mq_getsetattr -SC_TRACE_EVENT(mq_getsetattr, +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))), @@ -991,7 +991,7 @@ SC_TRACE_EVENT(mq_getsetattr, ) #endif #ifndef OVERRIDE_64_inotify_add_watch -SC_TRACE_EVENT(inotify_add_watch, +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), TP_ARGS(sc_exit(ret,) fd, pathname, mask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), @@ -1000,7 +1000,7 @@ SC_TRACE_EVENT(inotify_add_watch, ) #endif #ifndef OVERRIDE_64_mkdirat -SC_TRACE_EVENT(mkdirat, +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), TP_ARGS(sc_exit(ret,) dfd, pathname, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))), @@ -1009,7 +1009,7 @@ SC_TRACE_EVENT(mkdirat, ) #endif #ifndef OVERRIDE_64_futimesat -SC_TRACE_EVENT(futimesat, +SC_LTTNG_TRACEPOINT_EVENT(futimesat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), TP_ARGS(sc_exit(ret,) dfd, filename, utimes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), @@ -1018,7 +1018,7 @@ SC_TRACE_EVENT(futimesat, ) #endif #ifndef OVERRIDE_64_unlinkat -SC_TRACE_EVENT(unlinkat, +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), TP_ARGS(sc_exit(ret,) dfd, pathname, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), @@ -1027,7 +1027,7 @@ SC_TRACE_EVENT(unlinkat, ) #endif #ifndef OVERRIDE_64_symlinkat -SC_TRACE_EVENT(symlinkat, +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), @@ -1036,7 +1036,7 @@ SC_TRACE_EVENT(symlinkat, ) #endif #ifndef OVERRIDE_64_fchmodat -SC_TRACE_EVENT(fchmodat, +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), TP_ARGS(sc_exit(ret,) dfd, filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))), @@ -1045,7 +1045,7 @@ SC_TRACE_EVENT(fchmodat, ) #endif #ifndef OVERRIDE_64_faccessat -SC_TRACE_EVENT(faccessat, +SC_LTTNG_TRACEPOINT_EVENT(faccessat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), TP_ARGS(sc_exit(ret,) dfd, filename, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), @@ -1054,7 +1054,7 @@ SC_TRACE_EVENT(faccessat, ) #endif #ifndef OVERRIDE_64_get_robust_list -SC_TRACE_EVENT(get_robust_list, +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), @@ -1063,7 +1063,7 @@ SC_TRACE_EVENT(get_robust_list, ) #endif #ifndef OVERRIDE_64_signalfd -SC_TRACE_EVENT(signalfd, +SC_LTTNG_TRACEPOINT_EVENT(signalfd, TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), @@ -1072,7 +1072,7 @@ SC_TRACE_EVENT(signalfd, ) #endif #ifndef OVERRIDE_64_open_by_handle_at -SC_TRACE_EVENT(open_by_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mountdirfd)) sc_in(__field_hex(struct file_handle *, handle)) sc_in(__field(int, flags))), @@ -1081,7 +1081,7 @@ SC_TRACE_EVENT(open_by_handle_at, ) #endif #ifndef OVERRIDE_64_getcpu -SC_TRACE_EVENT(getcpu, +SC_LTTNG_TRACEPOINT_EVENT(getcpu, TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), TP_ARGS(sc_exit(ret,) cpup, nodep, unused), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), @@ -1090,7 +1090,7 @@ SC_TRACE_EVENT(getcpu, ) #endif #ifndef OVERRIDE_64_finit_module -SC_TRACE_EVENT(finit_module, +SC_LTTNG_TRACEPOINT_EVENT(finit_module, TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), TP_ARGS(sc_exit(ret,) fd, uargs, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const char *, uargs)) sc_in(__field(int, flags))), @@ -1099,7 +1099,7 @@ SC_TRACE_EVENT(finit_module, ) #endif #ifndef OVERRIDE_64_rt_sigaction -SC_TRACE_EVENT(rt_sigaction, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), @@ -1108,7 +1108,7 @@ SC_TRACE_EVENT(rt_sigaction, ) #endif #ifndef OVERRIDE_64_rt_sigprocmask -SC_TRACE_EVENT(rt_sigprocmask, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), @@ -1117,7 +1117,7 @@ SC_TRACE_EVENT(rt_sigprocmask, ) #endif #ifndef OVERRIDE_64_pread64 -SC_TRACE_EVENT(pread64, +SC_LTTNG_TRACEPOINT_EVENT(pread64, TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), TP_ARGS(sc_exit(ret,) fd, buf, count, pos), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))), @@ -1126,7 +1126,7 @@ SC_TRACE_EVENT(pread64, ) #endif #ifndef OVERRIDE_64_pwrite64 -SC_TRACE_EVENT(pwrite64, +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), TP_ARGS(sc_exit(ret,) fd, buf, count, pos), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))), @@ -1135,7 +1135,7 @@ SC_TRACE_EVENT(pwrite64, ) #endif #ifndef OVERRIDE_64_sendfile64 -SC_TRACE_EVENT(sendfile64, +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), @@ -1144,7 +1144,7 @@ SC_TRACE_EVENT(sendfile64, ) #endif #ifndef OVERRIDE_64_socketpair -SC_TRACE_EVENT(socketpair, +SC_LTTNG_TRACEPOINT_EVENT(socketpair, TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))), @@ -1153,7 +1153,7 @@ SC_TRACE_EVENT(socketpair, ) #endif #ifndef OVERRIDE_64_wait4 -SC_TRACE_EVENT(wait4, +SC_LTTNG_TRACEPOINT_EVENT(wait4, TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), @@ -1162,7 +1162,7 @@ SC_TRACE_EVENT(wait4, ) #endif #ifndef OVERRIDE_64_msgsnd -SC_TRACE_EVENT(msgsnd, +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(int, msgflg))), @@ -1171,7 +1171,7 @@ SC_TRACE_EVENT(msgsnd, ) #endif #ifndef OVERRIDE_64_rt_sigtimedwait -SC_TRACE_EVENT(rt_sigtimedwait, +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), @@ -1180,7 +1180,7 @@ SC_TRACE_EVENT(rt_sigtimedwait, ) #endif #ifndef OVERRIDE_64_reboot -SC_TRACE_EVENT(reboot, +SC_LTTNG_TRACEPOINT_EVENT(reboot, TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), @@ -1189,7 +1189,7 @@ SC_TRACE_EVENT(reboot, ) #endif #ifndef OVERRIDE_64_quotactl -SC_TRACE_EVENT(quotactl, +SC_LTTNG_TRACEPOINT_EVENT(quotactl, TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), TP_ARGS(sc_exit(ret,) cmd, special, id, addr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))), @@ -1198,7 +1198,7 @@ SC_TRACE_EVENT(quotactl, ) #endif #ifndef OVERRIDE_64_getxattr -SC_TRACE_EVENT(getxattr, +SC_LTTNG_TRACEPOINT_EVENT(getxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) pathname, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1207,7 +1207,7 @@ SC_TRACE_EVENT(getxattr, ) #endif #ifndef OVERRIDE_64_lgetxattr -SC_TRACE_EVENT(lgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) pathname, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1216,7 +1216,7 @@ SC_TRACE_EVENT(lgetxattr, ) #endif #ifndef OVERRIDE_64_fgetxattr -SC_TRACE_EVENT(fgetxattr, +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), TP_ARGS(sc_exit(ret,) fd, name, value, size), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), @@ -1225,7 +1225,7 @@ SC_TRACE_EVENT(fgetxattr, ) #endif #ifndef OVERRIDE_64_semtimedop -SC_TRACE_EVENT(semtimedop, +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops)) sc_inout(__field_hex(const struct timespec *, timeout))), @@ -1234,7 +1234,7 @@ SC_TRACE_EVENT(semtimedop, ) #endif #ifndef OVERRIDE_64_timer_settime -SC_TRACE_EVENT(timer_settime, +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), @@ -1243,7 +1243,7 @@ SC_TRACE_EVENT(timer_settime, ) #endif #ifndef OVERRIDE_64_clock_nanosleep -SC_TRACE_EVENT(clock_nanosleep, +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), @@ -1252,7 +1252,7 @@ SC_TRACE_EVENT(clock_nanosleep, ) #endif #ifndef OVERRIDE_64_epoll_wait -SC_TRACE_EVENT(epoll_wait, +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), @@ -1261,7 +1261,7 @@ SC_TRACE_EVENT(epoll_wait, ) #endif #ifndef OVERRIDE_64_epoll_ctl -SC_TRACE_EVENT(epoll_ctl, +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), TP_ARGS(sc_exit(ret,) epfd, op, fd, event), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), @@ -1270,7 +1270,7 @@ SC_TRACE_EVENT(epoll_ctl, ) #endif #ifndef OVERRIDE_64_mq_open -SC_TRACE_EVENT(mq_open, +SC_LTTNG_TRACEPOINT_EVENT(mq_open, TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(umode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))), @@ -1279,7 +1279,7 @@ SC_TRACE_EVENT(mq_open, ) #endif #ifndef OVERRIDE_64_kexec_load -SC_TRACE_EVENT(kexec_load, +SC_LTTNG_TRACEPOINT_EVENT(kexec_load, TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, entry)) sc_in(__field(unsigned long, nr_segments)) sc_in(__field_hex(struct kexec_segment *, segments)) sc_in(__field(unsigned long, flags))), @@ -1288,7 +1288,7 @@ SC_TRACE_EVENT(kexec_load, ) #endif #ifndef OVERRIDE_64_request_key -SC_TRACE_EVENT(request_key, +SC_LTTNG_TRACEPOINT_EVENT(request_key, TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))), @@ -1297,7 +1297,7 @@ SC_TRACE_EVENT(request_key, ) #endif #ifndef OVERRIDE_64_migrate_pages -SC_TRACE_EVENT(migrate_pages, +SC_LTTNG_TRACEPOINT_EVENT(migrate_pages, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long maxnode, const unsigned long * old_nodes, const unsigned long * new_nodes), TP_ARGS(sc_exit(ret,) pid, maxnode, old_nodes, new_nodes), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned long, maxnode)) sc_in(__field_hex(const unsigned long *, old_nodes)) sc_in(__field_hex(const unsigned long *, new_nodes))), @@ -1306,7 +1306,7 @@ SC_TRACE_EVENT(migrate_pages, ) #endif #ifndef OVERRIDE_64_openat -SC_TRACE_EVENT(openat, +SC_LTTNG_TRACEPOINT_EVENT(openat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))), @@ -1315,7 +1315,7 @@ SC_TRACE_EVENT(openat, ) #endif #ifndef OVERRIDE_64_mknodat -SC_TRACE_EVENT(mknodat, +SC_LTTNG_TRACEPOINT_EVENT(mknodat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))), @@ -1324,7 +1324,7 @@ SC_TRACE_EVENT(mknodat, ) #endif #ifndef OVERRIDE_64_newfstatat -SC_TRACE_EVENT(newfstatat, +SC_LTTNG_TRACEPOINT_EVENT(newfstatat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf)) sc_in(__field(int, flag))), @@ -1333,7 +1333,7 @@ SC_TRACE_EVENT(newfstatat, ) #endif #ifndef OVERRIDE_64_renameat -SC_TRACE_EVENT(renameat, +SC_LTTNG_TRACEPOINT_EVENT(renameat, TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), @@ -1342,7 +1342,7 @@ SC_TRACE_EVENT(renameat, ) #endif #ifndef OVERRIDE_64_readlinkat -SC_TRACE_EVENT(readlinkat, +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), @@ -1351,7 +1351,7 @@ SC_TRACE_EVENT(readlinkat, ) #endif #ifndef OVERRIDE_64_vmsplice -SC_TRACE_EVENT(vmsplice, +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), @@ -1360,7 +1360,7 @@ SC_TRACE_EVENT(vmsplice, ) #endif #ifndef OVERRIDE_64_utimensat -SC_TRACE_EVENT(utimensat, +SC_LTTNG_TRACEPOINT_EVENT(utimensat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), @@ -1369,7 +1369,7 @@ SC_TRACE_EVENT(utimensat, ) #endif #ifndef OVERRIDE_64_timerfd_settime -SC_TRACE_EVENT(timerfd_settime, +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), @@ -1378,7 +1378,7 @@ SC_TRACE_EVENT(timerfd_settime, ) #endif #ifndef OVERRIDE_64_accept4 -SC_TRACE_EVENT(accept4, +SC_LTTNG_TRACEPOINT_EVENT(accept4, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))), @@ -1387,7 +1387,7 @@ SC_TRACE_EVENT(accept4, ) #endif #ifndef OVERRIDE_64_signalfd4 -SC_TRACE_EVENT(signalfd4, +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), @@ -1396,7 +1396,7 @@ SC_TRACE_EVENT(signalfd4, ) #endif #ifndef OVERRIDE_64_rt_tgsigqueueinfo -SC_TRACE_EVENT(rt_tgsigqueueinfo, +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), @@ -1405,7 +1405,7 @@ SC_TRACE_EVENT(rt_tgsigqueueinfo, ) #endif #ifndef OVERRIDE_64_prlimit64 -SC_TRACE_EVENT(prlimit64, +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), @@ -1414,7 +1414,7 @@ SC_TRACE_EVENT(prlimit64, ) #endif #ifndef OVERRIDE_64_sendmmsg -SC_TRACE_EVENT(sendmmsg, +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), @@ -1423,7 +1423,7 @@ SC_TRACE_EVENT(sendmmsg, ) #endif #ifndef OVERRIDE_64_select -SC_TRACE_EVENT(select, +SC_LTTNG_TRACEPOINT_EVENT(select, TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), @@ -1432,7 +1432,7 @@ SC_TRACE_EVENT(select, ) #endif #ifndef OVERRIDE_64_setsockopt -SC_TRACE_EVENT(setsockopt, +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))), @@ -1441,7 +1441,7 @@ SC_TRACE_EVENT(setsockopt, ) #endif #ifndef OVERRIDE_64_getsockopt -SC_TRACE_EVENT(getsockopt, +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))), @@ -1450,7 +1450,7 @@ SC_TRACE_EVENT(getsockopt, ) #endif #ifndef OVERRIDE_64_msgrcv -SC_TRACE_EVENT(msgrcv, +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_out(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(long, msgtyp)) sc_in(__field(int, msgflg))), @@ -1459,7 +1459,7 @@ SC_TRACE_EVENT(msgrcv, ) #endif #ifndef OVERRIDE_64_mount -SC_TRACE_EVENT(mount, +SC_LTTNG_TRACEPOINT_EVENT(mount, TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), @@ -1468,7 +1468,7 @@ SC_TRACE_EVENT(mount, ) #endif #ifndef OVERRIDE_64_setxattr -SC_TRACE_EVENT(setxattr, +SC_LTTNG_TRACEPOINT_EVENT(setxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1477,7 +1477,7 @@ SC_TRACE_EVENT(setxattr, ) #endif #ifndef OVERRIDE_64_lsetxattr -SC_TRACE_EVENT(lsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1486,7 +1486,7 @@ SC_TRACE_EVENT(lsetxattr, ) #endif #ifndef OVERRIDE_64_fsetxattr -SC_TRACE_EVENT(fsetxattr, +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), @@ -1495,7 +1495,7 @@ SC_TRACE_EVENT(fsetxattr, ) #endif #ifndef OVERRIDE_64_io_getevents -SC_TRACE_EVENT(io_getevents, +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), @@ -1504,7 +1504,7 @@ SC_TRACE_EVENT(io_getevents, ) #endif #ifndef OVERRIDE_64_get_mempolicy -SC_TRACE_EVENT(get_mempolicy, +SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy, TP_PROTO(sc_exit(long ret,) int * policy, unsigned long * nmask, unsigned long maxnode, unsigned long addr, unsigned long flags), TP_ARGS(sc_exit(ret,) policy, nmask, maxnode, addr, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, policy)) sc_out(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, flags))), @@ -1513,7 +1513,7 @@ SC_TRACE_EVENT(get_mempolicy, ) #endif #ifndef OVERRIDE_64_mq_timedsend -SC_TRACE_EVENT(mq_timedsend, +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), @@ -1522,7 +1522,7 @@ SC_TRACE_EVENT(mq_timedsend, ) #endif #ifndef OVERRIDE_64_mq_timedreceive -SC_TRACE_EVENT(mq_timedreceive, +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), @@ -1531,7 +1531,7 @@ SC_TRACE_EVENT(mq_timedreceive, ) #endif #ifndef OVERRIDE_64_waitid -SC_TRACE_EVENT(waitid, +SC_LTTNG_TRACEPOINT_EVENT(waitid, TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), @@ -1540,7 +1540,7 @@ SC_TRACE_EVENT(waitid, ) #endif #ifndef OVERRIDE_64_add_key -SC_TRACE_EVENT(add_key, +SC_LTTNG_TRACEPOINT_EVENT(add_key, TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))), @@ -1549,7 +1549,7 @@ SC_TRACE_EVENT(add_key, ) #endif #ifndef OVERRIDE_64_fchownat -SC_TRACE_EVENT(fchownat, +SC_LTTNG_TRACEPOINT_EVENT(fchownat, TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), @@ -1558,7 +1558,7 @@ SC_TRACE_EVENT(fchownat, ) #endif #ifndef OVERRIDE_64_linkat -SC_TRACE_EVENT(linkat, +SC_LTTNG_TRACEPOINT_EVENT(linkat, TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), @@ -1567,7 +1567,7 @@ SC_TRACE_EVENT(linkat, ) #endif #ifndef OVERRIDE_64_ppoll -SC_TRACE_EVENT(ppoll, +SC_LTTNG_TRACEPOINT_EVENT(ppoll, TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), @@ -1576,7 +1576,7 @@ SC_TRACE_EVENT(ppoll, ) #endif #ifndef OVERRIDE_64_preadv -SC_TRACE_EVENT(preadv, +SC_LTTNG_TRACEPOINT_EVENT(preadv, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), @@ -1585,7 +1585,7 @@ SC_TRACE_EVENT(preadv, ) #endif #ifndef OVERRIDE_64_pwritev -SC_TRACE_EVENT(pwritev, +SC_LTTNG_TRACEPOINT_EVENT(pwritev, TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), @@ -1594,7 +1594,7 @@ SC_TRACE_EVENT(pwritev, ) #endif #ifndef OVERRIDE_64_perf_event_open -SC_TRACE_EVENT(perf_event_open, +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), @@ -1603,7 +1603,7 @@ SC_TRACE_EVENT(perf_event_open, ) #endif #ifndef OVERRIDE_64_recvmmsg -SC_TRACE_EVENT(recvmmsg, +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), @@ -1612,7 +1612,7 @@ SC_TRACE_EVENT(recvmmsg, ) #endif #ifndef OVERRIDE_64_fanotify_mark -SC_TRACE_EVENT(fanotify_mark, +SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fanotify_fd)) sc_in(__field(unsigned int, flags)) sc_in(__field(__u64, mask)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname))), @@ -1621,7 +1621,7 @@ SC_TRACE_EVENT(fanotify_mark, ) #endif #ifndef OVERRIDE_64_name_to_handle_at -SC_TRACE_EVENT(name_to_handle_at, +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(name, name)) sc_inout(__field_hex(struct file_handle *, handle)) sc_out(__field_hex(int *, mnt_id)) sc_in(__field(int, flag))), @@ -1630,7 +1630,7 @@ SC_TRACE_EVENT(name_to_handle_at, ) #endif #ifndef OVERRIDE_64_sendto -SC_TRACE_EVENT(sendto, +SC_LTTNG_TRACEPOINT_EVENT(sendto, TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))), @@ -1639,7 +1639,7 @@ SC_TRACE_EVENT(sendto, ) #endif #ifndef OVERRIDE_64_recvfrom -SC_TRACE_EVENT(recvfrom, +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned int, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))), @@ -1648,7 +1648,7 @@ SC_TRACE_EVENT(recvfrom, ) #endif #ifndef OVERRIDE_64_futex -SC_TRACE_EVENT(futex, +SC_LTTNG_TRACEPOINT_EVENT(futex, TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), @@ -1657,7 +1657,7 @@ SC_TRACE_EVENT(futex, ) #endif #ifndef OVERRIDE_64_mbind -SC_TRACE_EVENT(mbind, +SC_LTTNG_TRACEPOINT_EVENT(mbind, TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, unsigned long * nmask, unsigned long maxnode, unsigned flags), TP_ARGS(sc_exit(ret,) start, len, mode, nmask, maxnode, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, len)) sc_in(__field(unsigned long, mode)) sc_in(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode)) sc_in(__field(unsigned, flags))), @@ -1666,7 +1666,7 @@ SC_TRACE_EVENT(mbind, ) #endif #ifndef OVERRIDE_64_pselect6 -SC_TRACE_EVENT(pselect6, +SC_LTTNG_TRACEPOINT_EVENT(pselect6, TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), @@ -1675,7 +1675,7 @@ SC_TRACE_EVENT(pselect6, ) #endif #ifndef OVERRIDE_64_splice -SC_TRACE_EVENT(splice, +SC_LTTNG_TRACEPOINT_EVENT(splice, TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), @@ -1684,7 +1684,7 @@ SC_TRACE_EVENT(splice, ) #endif #ifndef OVERRIDE_64_move_pages -SC_TRACE_EVENT(move_pages, +SC_LTTNG_TRACEPOINT_EVENT(move_pages, TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long nr_pages, const void * * pages, const int * nodes, int * status, int flags), TP_ARGS(sc_exit(ret,) pid, nr_pages, pages, nodes, status, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned long, nr_pages)) sc_in(__field_hex(const void * *, pages)) sc_in(__field_hex(const int *, nodes)) sc_out(__field_hex(int *, status)) sc_in(__field(int, flags))), @@ -1693,7 +1693,7 @@ SC_TRACE_EVENT(move_pages, ) #endif #ifndef OVERRIDE_64_epoll_pwait -SC_TRACE_EVENT(epoll_pwait, +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), @@ -1702,7 +1702,7 @@ SC_TRACE_EVENT(epoll_pwait, ) #endif #ifndef OVERRIDE_64_process_vm_readv -SC_TRACE_EVENT(process_vm_readv, +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), @@ -1711,7 +1711,7 @@ SC_TRACE_EVENT(process_vm_readv, ) #endif #ifndef OVERRIDE_64_process_vm_writev -SC_TRACE_EVENT(process_vm_writev, +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))), diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h index efdfc37c..7a8812c6 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h @@ -1,7 +1,7 @@ #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_64_connect -SC_LTTNG_TRACE_EVENT(connect, +SC_LTTNG_TRACEPOINT_EVENT_CODE(connect, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), TP_locvar( @@ -62,7 +62,7 @@ SC_LTTNG_TRACE_EVENT(connect, ) #define OVERRIDE_64_accept -SC_LTTNG_TRACE_EVENT(accept, +SC_LTTNG_TRACEPOINT_EVENT_CODE(accept, TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), TP_locvar( diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index 61e29e29..fb506269 100755 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -91,7 +91,7 @@ printf \ >> ${HEADER} printf \ -'SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,\n'\ ' TP_STRUCT__entry(),\n'\ ' TP_fast_assign(),\n'\ ' TP_printk()\n'\ @@ -103,7 +103,7 @@ perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^)]*)\) '\ 'args: \(([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_DEFINE_EVENT_NOARGS(syscalls_noargs, $1)\n'\ +'SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, $1)\n'\ '#endif/g'\ ${TMPFILE} >> ${HEADER} @@ -116,7 +116,7 @@ perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) '\ 'types: \(([^)]*)\) '\ 'args: \(([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret)),\n'\ ' TP_ARGS(sc_exit(ret)),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret))),\n'\ @@ -149,7 +149,7 @@ while read LINE; do 'types: \(([^)]*)\) '\ 'args: \(([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $5),\n'\ ' TP_ARGS(sc_exit(ret,) $5),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $5))),\n'\ @@ -177,7 +177,7 @@ while read LINE; do 'types: \(([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $6, $5 $7),\n'\ ' TP_ARGS(sc_exit(ret,) $6, $7),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $6)) '"${ARG2}"'(__field($5, $7))),\n'\ @@ -206,7 +206,7 @@ while read LINE; do 'types: \(([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $7, $5 $8, $6 $9),\n'\ ' TP_ARGS(sc_exit(ret,) $7, $8, $9),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $7)) '"${ARG2}"'(__field($5, $8)) '"${ARG3}"'(__field($6, $9))),\n'\ @@ -237,7 +237,7 @@ while read LINE; do 'types: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $8, $5 $9, $6 $10, $7 $11),\n'\ ' TP_ARGS(sc_exit(ret,) $8, $9, $10, $11),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $8)) '"${ARG2}"'(__field($5, $9)) '"${ARG3}"'(__field($6, $10)) '"${ARG4}"'(__field($7, $11))),\n'\ @@ -268,7 +268,7 @@ while read LINE; do 'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $9, $5 $10, $6 $11, $7 $12, $8 $13),\n'\ ' TP_ARGS(sc_exit(ret,) $9, $10, $11, $12, $13),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $9)) '"${ARG2}"'(__field($5, $10)) '"${ARG3}"'(__field($6, $11)) '"${ARG4}"'(__field($7, $12)) '"${ARG5}"'(__field($8, $13))),\n'\ @@ -301,7 +301,7 @@ while read LINE; do 'types: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\) '\ 'args: \(([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^,]*), ([^\)]*)\)/'\ '#ifndef OVERRIDE_'"${BITNESS}"'_$1\n'\ -'SC_TRACE_EVENT($1,\n'\ +'SC_LTTNG_TRACEPOINT_EVENT($1,\n'\ ' TP_PROTO(sc_exit(long ret,) $4 $10, $5 $11, $6 $12, $7 $13, $8 $14, $9 $15),\n'\ ' TP_ARGS(sc_exit(ret,) $10, $11, $12, $13, $14, $15),\n'\ ' TP_STRUCT__entry(sc_exit(__field(long, ret)) '"${ARG1}"'(__field($4, $10)) '"${ARG2}"'(__field($5, $11)) '"${ARG3}"'(__field($6, $12)) '"${ARG4}"'(__field($7, $13)) '"${ARG5}"'(__field($8, $14)) '"${ARG6}"'(__field($9, $15))),\n'\ diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 05b369da..5023c2f9 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -101,17 +101,17 @@ struct mmap_arg_struct; /* Hijack probe callback for system call enter */ #undef TP_PROBE_CB #define TP_PROBE_CB(_template) &syscall_entry_probe -#define SC_TRACE_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT(syscall_enter_##_name, PARAMS(_proto), PARAMS(_args), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_LTTNG_TRACE_EVENT(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ - LTTNG_TRACEPOINT_EVENT_CODE(syscall_enter_##_name, PARAMS(_proto), PARAMS(_args),\ - PARAMS(_locvar), PARAMS(_code),\ +#define SC_LTTNG_TRACEPOINT_EVENT_CODE(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ + LTTNG_TRACEPOINT_EVENT_CODE(syscall_enter_##_name, PARAMS(_proto), PARAMS(_args), \ + PARAMS(_locvar), PARAMS(_code), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_DECLARE_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscall_enter_##_name, PARAMS(_struct), PARAMS(_assign), \ PARAMS(_printk)) -#define SC_DEFINE_EVENT_NOARGS(_template, _name) \ +#define SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name) \ LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscall_enter_##_template, syscall_enter_##_name) #undef TRACE_SYSTEM #define TRACE_SYSTEM syscall_enter_integers @@ -124,28 +124,28 @@ struct mmap_arg_struct; #include "instrumentation/syscalls/headers/syscalls_pointers.h" #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM -#undef SC_LTTNG_TRACE_EVENT -#undef SC_TRACE_EVENT -#undef SC_DECLARE_EVENT_CLASS_NOARGS -#undef SC_DEFINE_EVENT_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_CODE +#undef SC_LTTNG_TRACEPOINT_EVENT +#undef SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS #undef TP_PROBE_CB #undef _TRACE_SYSCALLS_INTEGERS_H #undef _TRACE_SYSCALLS_POINTERS_H /* Hijack probe callback for compat system call enter */ #define TP_PROBE_CB(_template) &syscall_entry_probe -#define SC_TRACE_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT(compat_syscall_enter_##_name, PARAMS(_proto), PARAMS(_args), \ - PARAMS(_struct), PARAMS(_assign), \ + PARAMS(_struct), PARAMS(_assign), \ PARAMS(_printk)) -#define SC_LTTNG_TRACE_EVENT(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CODE(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CODE(compat_syscall_enter_##_name, PARAMS(_proto), PARAMS(_args), \ - PARAMS(_locvar), PARAMS(_code),\ + PARAMS(_locvar), PARAMS(_code), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_DECLARE_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(compat_syscall_enter_##_name, PARAMS(_struct), \ PARAMS(_assign), PARAMS(_printk)) -#define SC_DEFINE_EVENT_NOARGS(_template, _name) \ +#define SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name) \ LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(compat_syscall_enter_##_template, \ compat_syscall_enter_##_name) #define TRACE_SYSTEM compat_syscall_enter_integers @@ -158,10 +158,10 @@ struct mmap_arg_struct; #include "instrumentation/syscalls/headers/compat_syscalls_pointers.h" #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM -#undef SC_LTTNG_TRACE_EVENT -#undef SC_TRACE_EVENT -#undef SC_DECLARE_EVENT_CLASS_NOARGS -#undef SC_DEFINE_EVENT_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_CODE +#undef SC_LTTNG_TRACEPOINT_EVENT +#undef SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS #undef TP_PROBE_CB #undef _TRACE_SYSCALLS_INTEGERS_H #undef _TRACE_SYSCALLS_POINTERS_H @@ -181,18 +181,18 @@ struct mmap_arg_struct; /* Hijack probe callback for system call exit */ #define TP_PROBE_CB(_template) &syscall_exit_probe -#define SC_TRACE_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT(syscall_exit_##_name, PARAMS(_proto), PARAMS(_args), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_LTTNG_TRACE_EVENT(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CODE(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CODE(syscall_exit_##_name, PARAMS(_proto), PARAMS(_args), \ - PARAMS(_locvar), PARAMS(_code), \ + PARAMS(_locvar), PARAMS(_code), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_DECLARE_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscall_exit_##_name, PARAMS(_struct), \ PARAMS(_assign), PARAMS(_printk)) -#define SC_DEFINE_EVENT_NOARGS(_template, _name) \ - LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscall_exit_##_template, \ +#define SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name) \ + LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscall_exit_##_template, \ syscall_exit_##_name) #define TRACE_SYSTEM syscall_exit_integers #define TRACE_INCLUDE_FILE syscalls_integers @@ -204,10 +204,10 @@ struct mmap_arg_struct; #include "instrumentation/syscalls/headers/syscalls_pointers.h" #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM -#undef SC_LTTNG_TRACE_EVENT -#undef SC_TRACE_EVENT -#undef SC_DECLARE_EVENT_CLASS_NOARGS -#undef SC_DEFINE_EVENT_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_CODE +#undef SC_LTTNG_TRACEPOINT_EVENT +#undef SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS #undef TP_PROBE_CB #undef _TRACE_SYSCALLS_INTEGERS_H #undef _TRACE_SYSCALLS_POINTERS_H @@ -215,17 +215,17 @@ struct mmap_arg_struct; /* Hijack probe callback for compat system call exit */ #define TP_PROBE_CB(_template) &syscall_exit_probe -#define SC_TRACE_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT(_name, _proto, _args, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT(compat_syscall_exit_##_name, PARAMS(_proto), PARAMS(_args), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_LTTNG_TRACE_EVENT(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CODE(_name, _proto, _args, _locvar, _code, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CODE(compat_syscall_exit_##_name, PARAMS(_proto), PARAMS(_args), \ - PARAMS(_locvar), PARAMS(_code), \ + PARAMS(_locvar), PARAMS(_code), \ PARAMS(_struct), PARAMS(_assign), PARAMS(_printk)) -#define SC_DECLARE_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ +#define SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(_name, _struct, _assign, _printk) \ LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(compat_syscall_exit_##_name, PARAMS(_struct), \ PARAMS(_assign), PARAMS(_printk)) -#define SC_DEFINE_EVENT_NOARGS(_template, _name) \ +#define SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name) \ LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(compat_syscall_exit_##_template, \ compat_syscall_exit_##_name) #define TRACE_SYSTEM compat_syscall_exit_integers @@ -238,10 +238,10 @@ struct mmap_arg_struct; #include "instrumentation/syscalls/headers/compat_syscalls_pointers.h" #undef TRACE_INCLUDE_FILE #undef TRACE_SYSTEM -#undef SC_LTTNG_TRACE_EVENT -#undef SC_TRACE_EVENT -#undef SC_DECLARE_EVENT_CLASS_NOARGS -#undef SC_DEFINE_EVENT_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_CODE +#undef SC_LTTNG_TRACEPOINT_EVENT +#undef SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS +#undef SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS #undef TP_PROBE_CB #undef _TRACE_SYSCALLS_INTEGERS_H #undef _TRACE_SYSCALLS_POINTERS_H