summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Fleytman <dfleytma@redhat.com>2015-12-24 16:16:06 +0200
committerDmitry Fleytman <dfleytma@redhat.com>2015-12-24 16:40:13 +0200
commit910c71c1914e2acf911587f9c05d266823d95ad4 (patch)
tree864e388fab474ae509cd7175665eea3e08a78d5e
parent00cf4cbb0481e0ad52c58e1d4c81c8ebedf9348e (diff)
UsbTarget: Add trace for ResetDevice
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r--UsbDk/UsbTarget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/UsbDk/UsbTarget.cpp b/UsbDk/UsbTarget.cpp
index 8fff4cd..38e9d09 100644
--- a/UsbDk/UsbTarget.cpp
+++ b/UsbDk/UsbTarget.cpp
@@ -434,6 +434,8 @@ NTSTATUS CWdfUsbTarget::ResetDevice(WDFREQUEST Request)
//ResetDevice does not require locking because is scheduled sequentially
//with SetAltSettings which is only operation that changes pipes array
+ TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_USBTARGET, "%!FUNC! processing started");
+
for (UCHAR i = 0; i < m_NumInterfaces; i++)
{
auto currentStatus = m_Interfaces[i].Reset(Request);
@@ -444,6 +446,8 @@ NTSTATUS CWdfUsbTarget::ResetDevice(WDFREQUEST Request)
}
}
+ TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_USBTARGET, "%!FUNC! processing finished: %!STATUS!", status);
+
return status;
}