mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
L0 Debugger - DebugSession linux implementation
- new feature, enabled with PRELIM build - implementation of debug session for linux - move ResourceClass enum from Drm to drm_debug.h Resolves: NEO-6814 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4e4560fe91
commit
c021e2ec5e
@@ -241,6 +241,12 @@ int DrmMockPrelimContext::handlePrelimRequest(unsigned long request, void *arg)
|
||||
return uuidControlReturn;
|
||||
} break;
|
||||
|
||||
case PRELIM_DRM_IOCTL_I915_DEBUGGER_OPEN: {
|
||||
auto debugger_open = reinterpret_cast<prelim_drm_i915_debugger_open_param *>(arg);
|
||||
if (debugger_open->pid != 0 && debugger_open->events == 0) {
|
||||
return debuggerOpenRetval;
|
||||
}
|
||||
} break;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user