feature: implement new registers for debugger

Related-to: NEO-8396

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
Brandon Yates
2024-07-01 16:59:23 +00:00
committed by Compute-Runtime-Automation
parent 7c42c255b9
commit 63478808a7
13 changed files with 118 additions and 56 deletions

View File

@@ -837,6 +837,12 @@ bool DebugSessionLinux::readModuleDebugArea() {
return true;
}
DebugSessionLinux::DebugAreaInfo DebugSessionLinux::getModuleDebugAreaInfo() {
auto gpuVa = getClientConnection(clientHandle)->vmToModuleDebugAreaBindInfo.begin()->second.gpuVa;
auto size = getClientConnection(clientHandle)->vmToModuleDebugAreaBindInfo.begin()->second.size;
return {gpuVa, size};
}
ze_result_t DebugSessionLinux::readSbaBuffer(EuThread::ThreadId threadId, NEO::SbaTrackedAddresses &sbaBuffer) {
auto vmHandle = allThreads[threadId]->getMemoryHandle();