From: Mathieu Desnoyers Date: Fri, 30 Sep 2011 15:49:31 +0000 (-0400) Subject: x86-32: override sys_mmap syscall instrumentation X-Git-Tag: v2.0-pre10~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=08b18782f04739922610b824a6892f281b7250fa;p=lttng-modules.git x86-32: override sys_mmap syscall instrumentation Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h index 8f685a86..02a83dac 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h @@ -29,3 +29,10 @@ #define OVERRIDE_TABLE_sys_setresgid16 #endif + +#ifdef CREATE_SYSCALL_TABLE + +#define OVERRIDE_TABLE_sys_mmap +TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 90, 6) + +#endif