mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
feature(debugger): Filter page fault threads by start IP
When a thread is stopped due to potential page fault we must check AIP against start IP to ensure it is not a newly started thread accidentally caught by PF algorithm Related-to: NEO-8617 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2f91c0048a
commit
253e1df43b
@@ -1420,6 +1420,7 @@ void DebugSessionLinux::handlePageFaultEvent(prelim_drm_i915_debug_event_page_fa
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user