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:
Brandon Yates
2025-07-25 00:51:13 +00:00
committed by Compute-Runtime-Automation
parent d37ba1ba10
commit 05d57ce28a
2 changed files with 2 additions and 0 deletions

View File

@@ -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);
}