]> granicus.if.org Git - strace/commit
print_io_getevents: parametrize print_timespec
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
commit92e6f58584297048587d9c042abc997e4b5b5ae3
tree32caf5a865a2339a47b920373c92ac7148ec3e94
parentdb9213bcd0199ee808ce86d2a033fcbcf6783513
print_io_getevents: parametrize print_timespec

This is going to be used to implement a parser of io_pgetevents_time64
syscall.

* aio.c (print_io_getevents): Add print_ts argument, invoke it
instead of print_timespec.
(SYS_FUNC(io_getevents), SYS_FUNC(io_pgetevents)): Pass print_timespec
to print_io_getevents.
aio.c