Debug Macro ZOL feature parity

Implement all the debug macros provided in linux in a similar way.
There should now be feature parity.