mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
refactor: Move common attention handling EuDebug code out of prelim
Move common attention handling code from prelim in common linux debug_session(.h/.cpp) files. This common code could be shared to handle attention events for prelim and xe driver based Eu Debug Related-To: NEO-9673 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f404f3ceb1
commit
f56babb2a9
@@ -162,6 +162,19 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
|
||||
|
||||
std::atomic<bool> detached{false};
|
||||
|
||||
uint64_t getVmHandleFromClientAndlrcHandle(uint64_t clientHandle, uint64_t lrcHandle) override;
|
||||
void checkTriggerEventsForAttentionForTileSession(uint32_t tileIndex) override {}
|
||||
std::unique_lock<std::mutex> getThreadStateMutexForTileSession(uint32_t tileIndex) override {
|
||||
std::mutex m;
|
||||
std::unique_lock<std::mutex> lock(m);
|
||||
lock.release();
|
||||
return lock;
|
||||
}
|
||||
void addThreadToNewlyStoppedFromRaisedAttentionForTileSession(EuThread::ThreadId threadId,
|
||||
uint64_t memoryHandle,
|
||||
const void *stateSaveArea,
|
||||
uint32_t tileIndex) override {}
|
||||
|
||||
ze_result_t readEventImp(drm_xe_eudebug_event *drmDebugEvent);
|
||||
int ioctl(unsigned long request, void *arg);
|
||||
std::atomic<bool> processEntryEventGenerated = false;
|
||||
|
||||
Reference in New Issue
Block a user