Replace DEBUG messages with calls to mono_trace
authorMarek Habersack <grendel@twistedcode.net>
Mon, 18 Jan 2016 22:42:20 +0000 (23:42 +0100)
committerMarek Habersack <grendel@twistedcode.net>
Mon, 18 Jan 2016 23:35:03 +0000 (00:35 +0100)
commit39393f118d6a532ccca30a9103a3dd0febdfbef6
tree90d21624d66e7ba5866528bbac12a3d824f2bb85
parent70c675bacabd46a8d0fe6314b162425f7e010bce
Replace DEBUG messages with calls to mono_trace

The messages contain useful debugging information which is unavailable
unless the mono runtime is recompiled. The debugging information is
particularly useful on mobile platforms and in test runs on bots.

The I/O layer trace messages can be disabled on compile time by
defining the DISABLE_IO_LAYER_TRACE preprocessor symbol.
13 files changed:
mono/io-layer/events.c
mono/io-layer/handles.c
mono/io-layer/io-trace.h [new file with mode: 0644]
mono/io-layer/io.c
mono/io-layer/locking.c
mono/io-layer/mutexes.c
mono/io-layer/posix.c
mono/io-layer/processes.c
mono/io-layer/semaphores.c
mono/io-layer/sockets.c
mono/io-layer/versioninfo.c
mono/io-layer/wait.c
mono/io-layer/wthreads.c