* aio.c (SYS_FUNC(io_getevents)): Remove.
[HAVE_ARCH_TIME32_SYSCALLS] (SYS_FUNC(io_getevents_time32)): New
function.
[HAVE_ARCH_OLD_TIME64_SYSCALLS] (SYS_FUNC(io_getevents_time64)):
Likewise.
* linux/64/syscallent.h: Replace SEN(io_getevents) with
SEN(io_getevents_time64).
* linux/alpha/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/32/syscallent.h: Replace SEN(io_getevents) with
SEN(io_getevents_time32).
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
return 0;
}
-SYS_FUNC(io_getevents)
+#if HAVE_ARCH_TIME32_SYSCALLS
+SYS_FUNC(io_getevents_time32)
{
- return print_io_getevents(tcp, print_timespec, false);
+ return print_io_getevents(tcp, print_timespec32, false);
}
+#endif
+
+#if HAVE_ARCH_OLD_TIME64_SYSCALLS
+SYS_FUNC(io_getevents_time64)
+{
+ return print_io_getevents(tcp, print_timespec64, false);
+}
+#endif
SYS_FUNC(io_pgetevents)
{
[ 1] = { 1, TM, SEN(io_destroy), "io_destroy" },
[ 2] = { 3, 0, SEN(io_submit), "io_submit" },
[ 3] = { 3, 0, SEN(io_cancel), "io_cancel" },
-[ 4] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[ 4] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[ 5] = { 5, TF, SEN(setxattr), "setxattr" },
[ 6] = { 5, TF, SEN(setxattr), "lsetxattr" },
[ 7] = { 5, TD, SEN(fsetxattr), "fsetxattr" },
[ 1] = { 1, TM, SEN(io_destroy), "io_destroy" },
[ 2] = { 3, 0, SEN(io_submit), "io_submit" },
[ 3] = { 3, 0, SEN(io_cancel), "io_cancel" },
-[ 4] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[ 4] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[ 5] = { 5, TF, SEN(setxattr), "setxattr" },
[ 6] = { 5, TF, SEN(setxattr), "lsetxattr" },
[ 7] = { 5, TD, SEN(fsetxattr), "fsetxattr" },
[397] = { 5, 0, SEN(tuxcall), "tuxcall" }, /* not implemented */
[398] = { 2, TM, SEN(io_setup), "io_setup" },
[399] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[400] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[400] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[401] = { 3, 0, SEN(io_submit), "io_submit" },
[402] = { 3, 0, SEN(io_cancel), "io_cancel" },
[403 ... 404] = { },
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
[243] = { 2, TM, SEN(io_setup), "io_setup" },
[244] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[245] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[245] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[246] = { 3, 0, SEN(io_submit), "io_submit" },
[247] = { 3, 0, SEN(io_cancel), "io_cancel" },
[248] = { 1, TP|SE, SEN(exit), "exit_group" },
[196] = { 2, 0, SEN(capset), "capset" },
[197] = { 2, TM, SEN(io_setup), "io_setup" },
[198] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[199] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[199] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[200] = { 3, 0, SEN(io_submit), "io_submit" },
[201] = { 3, 0, SEN(io_cancel), "io_cancel" },
[202] = { 5, TD, SEN(fadvise64), "fadvise64" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, TM, SEN(io_setup), "io_setup" },
[246] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[247] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[247] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[248] = { 3, 0, SEN(io_submit), "io_submit" },
[249] = { 3, 0, SEN(io_cancel), "io_cancel" },
[250] = { 5, 0, SEN(printargs), "alloc_hugepages" },
[214] = { 5, 0, SEN(printargs), "get_thread_area" },
[215] = { 2, TM, SEN(io_setup), "io_setup" },
[216] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[217] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[217] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[218] = { 3, 0, SEN(io_submit), "io_submit" },
[219] = { 3, 0, SEN(io_cancel), "io_cancel" },
[220] = { 5, 0, SEN(printargs), "alloc_hugepages" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, TM, SEN(io_setup), "io_setup" },
[246] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[247] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[247] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[248] = { 3, 0, SEN(io_submit), "io_submit" },
[249] = { 3, 0, SEN(io_cancel), "io_cancel" },
[250] = { 5, TD, SEN(fadvise64), "fadvise64" },
[1024 + 213] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" },
[1024 + 214] = { 2, TM, SEN(io_setup), "io_setup" },
[1024 + 215] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[1024 + 216] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[1024 + 216] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[1024 + 217] = { 3, 0, SEN(io_submit), "io_submit" },
[1024 + 218] = { 3, 0, SEN(io_cancel), "io_cancel" },
[1024 + 219] = { 1, TD, SEN(epoll_create), "epoll_create" },
[240] = { 4, TD, SEN(readahead), "readahead" },
[241] = { 2, TM, SEN(io_setup), "io_setup" },
[242] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[243] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[243] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[244] = { 3, 0, SEN(io_submit), "io_submit" },
[245] = { 3, 0, SEN(io_cancel), "io_cancel" },
[246] = { 5, TD, SEN(fadvise64), "fadvise64" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, TM, SEN(io_setup), "io_setup" },
[246] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[247] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[247] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[248] = { 3, 0, SEN(io_submit), "io_submit" },
[249] = { 3, 0, SEN(io_cancel), "io_cancel" },
[250] = { 5, TD, SEN(fadvise64), "fadvise64" },
[6199] = { 4, 0, SEN(sysmips), "sysmips" },
[6200] = { 2, TM, SEN(io_setup), "io_setup" },
[6201] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[6202] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[6202] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[6203] = { 3, 0, SEN(io_submit), "io_submit" },
[6204] = { 3, 0, SEN(io_cancel), "io_cancel" },
[6205] = { 1, TP|SE, SEN(exit), "exit_group" },
[5199] = { 4, 0, SEN(sysmips), "sysmips" },
[5200] = { 2, TM, SEN(io_setup), "io_setup" },
[5201] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[5202] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[5202] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[5203] = { 3, 0, SEN(io_submit), "io_submit" },
[5204] = { 3, 0, SEN(io_cancel), "io_cancel" },
[5205] = { 1, TP|SE, SEN(exit), "exit_group" },
[4240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
[4241] = { 2, TM, SEN(io_setup), "io_setup" },
[4242] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[4243] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[4243] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[4244] = { 3, 0, SEN(io_submit), "io_submit" },
[4245] = { 3, 0, SEN(io_cancel), "io_cancel" },
[4246] = { 1, TP|SE, SEN(exit), "exit_group" },
[226] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[227] = { 2, TM, SEN(io_setup), "io_setup" },
[228] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[229] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[229] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[230] = { 3, 0, SEN(io_submit), "io_submit" },
[231] = { 3, 0, SEN(io_cancel), "io_cancel" },
[232] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[226] = { },
[227] = { 2, TM, SEN(io_setup), "io_setup" },
[228] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[229] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[229] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[230] = { 3, 0, SEN(io_submit), "io_submit" },
[231] = { 3, 0, SEN(io_cancel), "io_cancel" },
[232] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[242] = { },
[243] = { 2, TM, SEN(io_setup), "io_setup" },
[244] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[245] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[245] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[246] = { 3, 0, SEN(io_submit), "io_submit" },
[247] = { 3, 0, SEN(io_cancel), "io_cancel" },
[248] = { 1, TP|SE, SEN(exit), "exit_group" },
[242] = { },
[243] = { 2, TM, SEN(io_setup), "io_setup" },
[244] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[245] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[245] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[246] = { 3, 0, SEN(io_submit), "io_submit" },
[247] = { 3, 0, SEN(io_cancel), "io_cancel" },
[248] = { 1, TP|SE, SEN(exit), "exit_group" },
[243 ... 244] = { },
[245] = { 2, TM, SEN(io_setup), "io_setup" },
[246] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[247] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[247] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[248] = { 3, 0, SEN(io_submit), "io_submit" },
[249] = { 3, 0, SEN(io_cancel), "io_cancel" },
[250] = { 5, TD, SEN(fadvise64), "fadvise64" },
[271 ... 272] = { },
[273] = { 2, TM, SEN(io_setup), "io_setup" },
[274] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[275] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[275] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[276] = { 3, 0, SEN(io_submit), "io_submit" },
[277] = { 3, 0, SEN(io_cancel), "io_cancel" },
[278] = { 4, TD, SEN(fadvise64), "fadvise64" },
[269] = { 1, TM, SEN(io_destroy), "io_destroy" },
[270] = { 3, 0, SEN(io_submit), "io_submit" },
[271] = { 3, 0, SEN(io_cancel), "io_cancel" },
-[272] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[272] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[273] = { 4, TD, SEN(mq_open), "mq_open" },
[274] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
[275] = { 5, TD, SEN(mq_timedsend), "mq_timedsend" },
[269] = { 1, TM, SEN(io_destroy), "io_destroy" },
[270] = { 3, 0, SEN(io_submit), "io_submit" },
[271] = { 3, 0, SEN(io_cancel), "io_cancel" },
-[272] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[272] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[273] = { 4, TD, SEN(mq_open), "mq_open" },
[274] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
[275] = { 5, TD, SEN(mq_timedsend), "mq_timedsend" },
[205] = { 1, 0, SEN(printargs), "set_thread_area#64" },
[206] = { 2, TM, SEN(printargs), "io_setup#64" },
[207] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[208] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[208] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[209] = { 3, 0, SEN(printargs), "io_submit#64" },
[210] = { 3, 0, SEN(io_cancel), "io_cancel" },
[211] = { 1, 0, SEN(printargs), "get_thread_area#64" },
[205] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
[206] = { 2, TM, SEN(io_setup), "io_setup" },
[207] = { 1, TM, SEN(io_destroy), "io_destroy" },
-[208] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[208] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
[209] = { 3, 0, SEN(io_submit), "io_submit" },
[210] = { 3, 0, SEN(io_cancel), "io_cancel" },
[211] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[239] = { 2, TM, SEN(io_setup), "io_setup" },
[240] = { 1, TM, SEN(io_destroy), "io_destroy" },
[241] = { 3, 0, SEN(io_submit), "io_submit" },
-[242] = { 5, 0, SEN(io_getevents), "io_getevents" },
+[242] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
[243] = { 3, 0, SEN(io_cancel), "io_cancel" },
[244] = { 2, 0, SEN(clock_settime), "clock_settime" },
[245] = { 2, 0, SEN(clock_gettime), "clock_gettime" },