Fix: kmem instrumentation: remove unused gfpflags.h include
[lttng-modules.git] / instrumentation / syscalls / headers / syscalls_pointers_override.h
index a552908e6add45001db99a717665b20ec416855f..bf5c632efa126610088ac58c037a4513e22f17bc 100644 (file)
@@ -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,
@@ -41,16 +42,6 @@ SC_LTTNG_TRACEPOINT_EVENT(getcpu,
        )
 )
 
-#define OVERRIDE_32_pipe
-#define OVERRIDE_64_pipe
-SC_LTTNG_TRACEPOINT_EVENT(pipe,
-       TP_PROTO(sc_exit(long ret,) int * fildes),
-       TP_ARGS(sc_exit(ret,) fildes),
-       TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))
-               sc_out(ctf_user_array(int, fildes, fildes, 2))
-       )
-)
-
 #define OVERRIDE_32_pipe2
 #define OVERRIDE_64_pipe2
 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
This page took 0.025069 seconds and 4 git commands to generate.