x86: add syscalls for logging on Android
Change-Id: If038734bf683c86b196f83a358ae38dee3654a08
diff --git a/util.c b/util.c
index 3028c98..49c8a99 100644
--- a/util.c
+++ b/util.c
@@ -28,7 +28,11 @@
#if defined(__x86_64__)
const char *log_syscalls[] = { "connect", "sendto" };
#elif defined(__i386__)
+#if defined(__ANDROID__)
+const char *log_syscalls[] = { "socketcall", "writev", "fcntl64", "clock_gettime" };
+#else
const char *log_syscalls[] = { "socketcall", "time" };
+#endif
#elif defined(__arm__)
#if defined(__ANDROID__)
const char *log_syscalls[] = { "clock_gettime", "connect", "fcntl64", "socket", "writev" };