079105a5c2
fix: optimize ATT handling - read state save area once for all threads
...
- reading state save area for every threads takes too long when all
application threads have completed and there are stale ATT events to
process
- on detach gdb seemed to be frozen waiting for ATT event to be handled
- fix is to read state save area once - and check SIP counter for every
thread in ATT bitmask
Related-To: NEO-7897
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-04-14 10:57:18 +02:00
a2e6a8284b
Cleanup includes 47
...
Cleaned up files:
level_zero/tools/source/debug/windows/debug_session.h
level_zero/tools/source/sysman/memory/windows/os_memory_imp.h
level_zero/tools/source/sysman/windows/kmd_sys_manager.h
opencl/test/unit_test/aub_tests/command_stream/copy_engine_aub_tests_xehp_and
shared/source/command_container/command_encoder.inl
shared/source/command_stream/command_stream_receiver_hw_xehp_and_later.inl
shared/source/helpers/blit_commands_helper_base.inl
shared/test/unit_test/image/image_surface_state_fixture.h
shared/test/unit_test/os_interface/windows/os_interface_win_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:07:30 +01:00
0772d32a76
Windows debugger access to SLM
...
Resolves: NEO-7382
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2022-11-02 10:58:09 +01:00
7ff258fc92
L0Debug - Enable attaching to Root or Subdevices
...
- enable tile attach mode by default
- both root device and subdevice may be attached to
Related-To: NEO-7347
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-09-26 16:03:54 +02:00
3212a71760
Debugger L0 Win: Attention event handling from UMD
...
Related-To: NEO-7261
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-09-02 18:22:41 +02:00
e6c0d2d1e8
L0Debug - store and restore events for tile session
...
- keep track of all loaded modules
- keep track of process entry/exit state
- restore valid events on attach
- acknowledge/clean events on detach
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-29 15:35:38 +02:00
d79e799bea
Debugger L0 win: implement zetAcknowledgeEvent API
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-22 16:46:27 +02:00
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-20 13:20:50 +02:00
4a8a93af96
Debugger L0 Win - Generate Proc Entry/Exit events
...
Related-To: NEO-7117
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-07-18 12:32:57 +02:00
023f9df999
L0Debug - move apiEvents queue to DebugSessionImp
...
- the logic of reading api events is OS agnostic
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-15 16:19:38 +02:00
bd07b3ec97
L0Debug refactor: Replace ze_device_thread_t with EuThread::ThreadId
...
- ThreadId is preferred beacuse it uniquely identifies thread and is
not related to device topology
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-14 20:01:56 +02:00
7ccde3fb20
L0 Win Debug - read StateSave and moduleDebug header
...
Related-to: NEO-7162
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-07-13 14:33:47 +02:00
c86c518bc4
L0 Debugger Win - read SBA tracking buffer address
...
MMIO will store SBA tracking buffer address for current context.
This change helps in extracting this address and use to read SBA virtual
register.
Related-To: NEO-6765
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-06-23 15:02:38 +02:00
673bf3b553
Move DebuggerL0 to shared
...
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-06-23 10:05:45 +02:00
60b88806d5
L0 Windows Debugger - Implement GPU mem read/write
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-06-23 09:28:47 +02:00
cb6db5672b
Debugger L0 Win - register allocations metadata in debugger
...
Related-To: NEO-6764
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-06-22 17:22:15 +02:00
c45ddab1c3
Revert "Move DebuggerL0 to shared"
...
This reverts commit 7eba4db2e7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-22 04:38:32 +02:00
7eba4db2e7
Move DebuggerL0 to shared
...
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-06-21 17:10:46 +02:00
20348b7185
Add override to ~DebugSessionWindows
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-06-16 16:34:39 +02:00
481ac32fcf
Windows L0 Debugger - Implement async events handling
...
Add event handlers for context and debug data
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-06-15 17:48:24 +02:00
dc2e1dfdb0
L0 Debugger Win - add initial event handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-31 13:27:06 +02:00
608a1d39bc
L0 debugger Win - code cleanup
...
- remove unnecessary KmHeaders WA
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-30 12:13:42 +02:00
8c165a6f41
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-27 16:25:56 +02:00
daf7829fa2
Revert "L0 Debugger Windows - implement debugger attach/detach"
...
This reverts commit f45431c173
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-17 19:02:11 +02:00
f45431c173
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-17 14:07:29 +02:00