select, poll and epoll_wait overrides on ARM 32-bit
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 16 May 2016 19:36:11 +0000 (15:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 May 2016 20:37:15 +0000 (16:37 -0400)
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 <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/syscalls_pointers_override.h

index 4a69fc3e90c4a491da3bf2ee8afb9731e5d0de90..6b12a5623fa4e059c666f56c18f9c55018a011be 100644 (file)
@@ -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,
This page took 0.027387 seconds and 4 git commands to generate.