[lttng-dev] [PATCH lttng-modules 1/3] Do not override the pipe syscall on MIPS.

Lars Persson lars.persson at axis.com
Mon Feb 9 05:49:16 EST 2015


MIPS has a non-standard calling convention for pipe.

Signed-off-by: Lars Persson <larper at axis.com>
---
 instrumentation/syscalls/headers/syscalls_pointers_override.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h
index 6d06098..22e3834 100644
--- a/instrumentation/syscalls/headers/syscalls_pointers_override.h
+++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h
@@ -56,6 +56,7 @@ SC_LTTNG_TRACEPOINT_EVENT(getcpu,
 	TP_printk()
 )
 
+#ifndef CONFIG_CPU_MIPS32
 #define OVERRIDE_32_pipe
 #define OVERRIDE_64_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
@@ -69,6 +70,7 @@ SC_LTTNG_TRACEPOINT_EVENT(pipe,
 	),
 	TP_printk()
 )
+#endif
 
 #define OVERRIDE_32_pipe2
 #define OVERRIDE_64_pipe2
-- 
1.7.10.4




More information about the lttng-dev mailing list