mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
fix(debugger): Fix handling pf event with flat hierarchy
Related-to: GSD-6918 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2b35c2374b
commit
7f1167d5fe
@@ -1391,9 +1391,12 @@ void DebugSessionLinuxi915::handlePageFaultEvent(prelim_drm_i915_debug_event_pag
|
||||
lock = std::unique_lock<std::mutex>(threadStateMutex);
|
||||
}
|
||||
for (auto &threadId : threadsWithPF) {
|
||||
|
||||
PRINT_DEBUGGER_INFO_LOG("PageFault event for thread %s", EuThread::toString(threadId).c_str());
|
||||
allThreads[threadId]->setPageFault(true);
|
||||
if (tileSessionsEnabled) {
|
||||
static_cast<TileDebugSessionLinuxi915 *>(tileSessions[tileIndex].first)->allThreads[threadId]->setPageFault(true);
|
||||
} else {
|
||||
allThreads[threadId]->setPageFault(true);
|
||||
}
|
||||
}
|
||||
for (auto &threadId : stoppedThreads) {
|
||||
if (tileSessionsEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user