diff options
author | Alan Somers <asomers@FreeBSD.org> | 2018-03-17 17:52:47 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2018-03-17 17:52:47 +0000 |
commit | c189c73f010974759fc925a21e23168f0979960f (patch) | |
tree | 8f134f68498dba5055eeb3119be1d70a933c9ae2 /tests/sys/aio | |
parent | 604bbb3f3c7799cf797e44b440cf442e8ffcf42b (diff) | |
download | src-test2-c189c73f010974759fc925a21e23168f0979960f.tar.gz src-test2-c189c73f010974759fc925a21e23168f0979960f.zip |
Notes
Diffstat (limited to 'tests/sys/aio')
-rw-r--r-- | tests/sys/aio/aio_kqueue_test.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/sys/aio/aio_kqueue_test.c b/tests/sys/aio/aio_kqueue_test.c index 95f49a479996..f3e63376eb1b 100644 --- a/tests/sys/aio/aio_kqueue_test.c +++ b/tests/sys/aio/aio_kqueue_test.c @@ -170,18 +170,25 @@ main (int argc, char *argv[]) kq_iocb = kq_returned.udata; #ifdef DEBUG printf("kevent %d %d errno %d return.ident %p " - "return.data %p return.udata %p %p\n", + "return.data %p return.udata %p %p" + " filter %d flags %#x fflags %#x\n", i, result, error, (void*)kq_returned.ident, (void*)kq_returned.data, kq_returned.udata, - kq_iocb); + kq_iocb, + kq_returned.filter, + kq_returned.flags, + kq_returned.fflags); + if (result > 0) + printf("\tsigev_notify_kevent_flags %#x\n", + ((struct aiocb*)(kq_returned.ident))->aio_sigevent.sigev_notify_kevent_flags); #endif if (kq_iocb) break; #ifdef DEBUG - printf("Try again left %d out of %lu %d\n", + printf("Try again left %d out of %d %d\n", pending, max_queue_per_proc, cancel); #endif } |