Skip to content

Commit

Permalink
Trace: Add separate trace group for Hider strategy
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
  • Loading branch information
Dmitry Fleytman committed Jul 4, 2016
1 parent f014083 commit e0c4356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion UsbDk/HiderStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void CUsbDkHiderStrategy::PatchDeviceID(PIRP Irp)
auto status = InstanceID.Create(USBDK_DRIVER_NAME, m_Owner->GetInstanceNumber());
if (!NT_SUCCESS(status))
{
TraceEvents(TRACE_LEVEL_ERROR, TRACE_REDIRECTOR, "%!FUNC! Failed to create instance ID string %!STATUS!", status);
TraceEvents(TRACE_LEVEL_ERROR, TRACE_HIDER, "%!FUNC! Failed to create instance ID string %!STATUS!", status);
return;
}

Expand Down
1 change: 1 addition & 0 deletions UsbDk/Trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
WPP_DEFINE_BIT(TRACE_FILTERDEVICE) \
WPP_DEFINE_BIT(TRACE_WDFDEVICE) \
WPP_DEFINE_BIT(TRACE_REDIRECTOR) \
WPP_DEFINE_BIT(TRACE_HIDER) \
WPP_DEFINE_BIT(TRACE_UTILS) \
WPP_DEFINE_BIT(TRACE_USBTARGET) \
WPP_DEFINE_BIT(TRACE_FILTERSTRATEGY) \
Expand Down

0 comments on commit e0c4356

Please sign in to comment.