ccan/io: implement debug.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:14:21 +0000 (17:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:14:21 +0000 (17:44 +0930)
commit318f717e34e4735e5397bee24dbbee69205be82b
tree162e62d5a081460ab23f0920ed0364ba095d0d47
parent94dd4c2bddd0dc080ad5b85465fa3f45f486967a
ccan/io: implement debug.

Now a simple flag, with an external toggle (no compile time DEBUG
define required).  But it's completely synchronous.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
34 files changed:
ccan/io/_info
ccan/io/backend.h
ccan/io/io.c
ccan/io/io.h
ccan/io/io_plan.h
ccan/io/poll.c
ccan/io/test/run-01-start-finish-debug.c [new file with mode: 0644]
ccan/io/test/run-01-start-finish.c
ccan/io/test/run-02-read-debug.c [new file with mode: 0644]
ccan/io/test/run-02-read.c
ccan/io/test/run-03-readpartial-debug.c [new file with mode: 0644]
ccan/io/test/run-03-readpartial.c
ccan/io/test/run-04-writepartial-debug.c [new file with mode: 0644]
ccan/io/test/run-04-writepartial.c
ccan/io/test/run-05-write-debug.c [new file with mode: 0644]
ccan/io/test/run-05-write.c
ccan/io/test/run-06-idle.c
ccan/io/test/run-07-break-debug.c [new file with mode: 0644]
ccan/io/test/run-07-break.c
ccan/io/test/run-09-connect-debug.c [new file with mode: 0644]
ccan/io/test/run-09-connect.c
ccan/io/test/run-12-bidir-debug.c [new file with mode: 0644]
ccan/io/test/run-12-bidir.c
ccan/io/test/run-14-duplex-both-read-debug.c [new file with mode: 0644]
ccan/io/test/run-14-duplex-both-read.c
ccan/io/test/run-15-timeout.c
ccan/io/test/run-16-duplex-test-debug.c [new file with mode: 0644]
ccan/io/test/run-16-duplex-test.c
ccan/io/test/run-17-homemade-io-debug.c [new file with mode: 0644]
ccan/io/test/run-17-homemade-io.c
ccan/io/test/run-18-errno-debug.c [new file with mode: 0644]
ccan/io/test/run-18-errno.c
ccan/io/test/run-19-always-debug.c [new file with mode: 0644]
ccan/io/test/run-19-always.c