summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2019-01-18 13:40:24 -0800
committerWei Mao <[email protected]>2019-01-18 13:59:08 -0800
commit723c26efd863cd9250d0b2d589f682bb9206089f (patch)
treea3750b4dbc3490bb695496d5801f89f57bbe5918
parent826f713a1b51e0cb18d28d493ceb3990f9c94305 (diff)
Update WPP trace GUID for pcidrv and serial samples
It is common for people to copy and rename WDK sample when starting a new driver project. During the process sometimes people forgets to change the new driver's WPP trace GUID, causing difficulty when collecting trace logs. This happens for some inbox drivers as well. Note this is not a problem when using WDK project wizard in VS which always creates a new trace GUID. The fix updates the trace GUID for pcidrv and serial samples, so that they won't collide with the inbox driver.
-rw-r--r--general/pcidrv/kmdf/trace.h6
-rw-r--r--serial/serial/trace.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/general/pcidrv/kmdf/trace.h b/general/pcidrv/kmdf/trace.h
index 2c041319..e4f7afd5 100644
--- a/general/pcidrv/kmdf/trace.h
+++ b/general/pcidrv/kmdf/trace.h
@@ -86,14 +86,14 @@ TraceEvents (
// specified.
//
// Name of the logger is PciDrv and the guid is
-// {BC6C9364-FC67-42c5-ACF7-ABED3B12ECC6}
-// (0xbc6c9364, 0xfc67, 0x42c5, 0xac, 0xf7, 0xab, 0xed, 0x3b, 0x12, 0xec, 0xc6);
+// {B4011D96-E169-49FF-A7D7-05FA9DBF6082}
+// (0xb4011d96, 0xe169, 0x49ff, 0xa7, 0xd7, 0x05, 0xfa, 0x9d, 0xbf, 0x60, 0x82);
//
#define WPP_CHECK_FOR_NULL_STRING //to prevent exceptions due to NULL strings
#define WPP_CONTROL_GUIDS \
- WPP_DEFINE_CONTROL_GUID(PciDrvTraceGuid,(bc6c9364,fc67,42c5,acf7,abed3b12ecc6), \
+ WPP_DEFINE_CONTROL_GUID(PciDrvTraceGuid,(b4011d96,e169,49ff,a7d7,05fa9dbf6082), \
WPP_DEFINE_BIT(DBG_INIT) /* bit 0 = 0x00000001 */ \
WPP_DEFINE_BIT(DBG_PNP) /* bit 1 = 0x00000002 */ \
WPP_DEFINE_BIT(DBG_POWER) /* bit 2 = 0x00000004 */ \
diff --git a/serial/serial/trace.h b/serial/serial/trace.h
index f06efa9f..cb7f5f34 100644
--- a/serial/serial/trace.h
+++ b/serial/serial/trace.h
@@ -90,7 +90,7 @@ TraceEvents (
#define WPP_CHECK_FOR_NULL_STRING //to prevent exceptions due to NULL strings
#define WPP_CONTROL_GUIDS \
- WPP_DEFINE_CONTROL_GUID(SerialTraceGuid,(bc6c9364,fc67,42c5,acf7,abed3b12ecc6), \
+ WPP_DEFINE_CONTROL_GUID(SerialTraceGuid,(f3a79ab6,9827,4419,9465,45cf949ef659), \
WPP_DEFINE_BIT(DBG_INIT) /* bit 0 = 0x00000001 */ \
WPP_DEFINE_BIT(DBG_PNP) /* bit 1 = 0x00000002 */ \
WPP_DEFINE_BIT(DBG_POWER) /* bit 2 = 0x00000004 */ \