From: Julien Desfossez Date: Mon, 16 May 2016 19:36:11 +0000 (-0400) Subject: select, poll and epoll_wait overrides on ARM 32-bit X-Git-Tag: v2.9.0-rc1~54 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a6370148ab4a6f210c29372febcffd87b440cc50;p=lttng-modules.git select, poll and epoll_wait overrides on ARM 32-bit The syscalls select, poll and epoll_wait exist on ARM 32-bit as well, the overrides work on this platform. Signed-off-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index 4a69fc3e..6b12a562 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -225,7 +225,7 @@ end: ; /* Label at end of compound statement. */ \ kfree(tp_locvar->fds_out); \ kfree(tp_locvar->fds_ex); -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) #define OVERRIDE_32_select #define OVERRIDE_64_select SC_LTTNG_TRACEPOINT_EVENT_CODE(select, @@ -496,7 +496,7 @@ end: \ #define LTTNG_SYSCALL_POLL_code_post \ kfree(tp_locvar->fds); -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) #define OVERRIDE_32_poll #define OVERRIDE_64_poll SC_LTTNG_TRACEPOINT_EVENT_CODE(poll, @@ -809,7 +809,7 @@ static struct lttng_type lttng_epoll_wait_elem = { ) -#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) #define OVERRIDE_32_epoll_wait #define OVERRIDE_64_epoll_wait SC_LTTNG_TRACEPOINT_EVENT_CODE(epoll_wait,