[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Don't mess with DbgPrint filters
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xenvif/dbg_print.h | 23 ----------------------- src/xenvif/driver.c | 2 -- 2 files changed, 25 deletions(-) diff --git a/src/xenvif/dbg_print.h b/src/xenvif/dbg_print.h index ddd5b55..a31af9e 100644 --- a/src/xenvif/dbg_print.h +++ b/src/xenvif/dbg_print.h @@ -150,27 +150,4 @@ __Info( #define Info(...) \ __Info(__MODULE__ "|" __FUNCTION__ ": ", __VA_ARGS__) -#define DBG_PRINT_ENABLE_FILTER(_Id, _Level) \ - do { \ - DbgSetDebugFilterState((_Id), (_Level), TRUE); \ - } while (FALSE) - -static __inline VOID -__DbgPrintEnable( - VOID - ) -{ - DBG_PRINT_ENABLE_FILTER(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_IHVDRIVER_ID, DPFLTR_WARNING_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_IHVDRIVER_ID, DPFLTR_TRACE_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL); - -#if DBG - DBG_PRINT_ENABLE_FILTER(DPFLTR_DEFAULT_ID, DPFLTR_ERROR_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_DEFAULT_ID, DPFLTR_WARNING_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_DEFAULT_ID, DPFLTR_TRACE_LEVEL); - DBG_PRINT_ENABLE_FILTER(DPFLTR_DEFAULT_ID, DPFLTR_INFO_LEVEL); -#endif // DBG -} - #endif // _XENVIF_DBG_PRINT_H diff --git a/src/xenvif/driver.c b/src/xenvif/driver.c index 26ab79e..f8a8777 100644 --- a/src/xenvif/driver.c +++ b/src/xenvif/driver.c @@ -280,8 +280,6 @@ DriverEntry( ExInitializeDriverRuntime(DrvRtPoolNxOptIn); WdmlibProcgrpInitialize(); - __DbgPrintEnable(); - Trace("====>\n"); __DriverSetDriverObject(DriverObject); -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |