X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_pointers_override.h;h=bf5c632efa126610088ac58c037a4513e22f17bc;hb=769ad37074a5979b6eef686352c17fb3ba8c9a4d;hp=c9478f44f79f156776fd2bb72bcc8e313cbe316b;hpb=397c12b422ce844037885f5c35d824dd5ae4fec6;p=lttng-modules.git diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index c9478f44..bf5c632e 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -1,8 +1,7 @@ -#define OVERRIDE_32_execve -#define OVERRIDE_64_execve - #ifndef CREATE_SYSCALL_TABLE +#define OVERRIDE_32_execve +#define OVERRIDE_64_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), @@ -13,6 +12,8 @@ SC_LTTNG_TRACEPOINT_EVENT(execve, ) ) +#define OVERRIDE_32_clone +#define OVERRIDE_64_clone SC_LTTNG_TRACEPOINT_EVENT(clone, TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, void __user *parent_tid,