Dear Konrad, You are not correct here: > But there are no Kconfig DEBUG - so you may as well just do > #if 0 > > around the code.
DEBUG macro is widely used in the kernel, just try grepping it through the code. Elementary example is pr_debug definition which is resolved through DEBUG macro, also reasonable pieces of debug code are widely guarded by DEBUG macro. DEBUG macro could be globally across drivers defined by CONFIG_DEBUG_DRIVERS. See drivers/base/Makefile. Sincerely, Andrii Anisov. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel