mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: set EventRead reserved field to zero in debugger
Related-to: HSD-18042688323 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d37ba1ba10
commit
05d57ce28a
@@ -380,6 +380,7 @@ TEST_F(DebugApiLinuxTestXe, GivenPollReturnsNonZeroWhenReadingInternalEventsAsyn
|
||||
constexpr int dummyReadEventCount = 1;
|
||||
|
||||
EXPECT_EQ(dummyReadEventCount, handler->ioctlCalled);
|
||||
EXPECT_EQ(0u, handler->debugEventInput.reserved);
|
||||
EXPECT_EQ(DebugSessionLinuxXe::maxEventSize, handler->debugEventInput.len);
|
||||
EXPECT_EQ(static_cast<decltype(NEO::EuDebugEvent::type)>(static_cast<uint16_t>(NEO::EuDebugParam::eventTypeRead)), handler->debugEventInput.type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user