4896adc655
Fix order of reporting STOPPED THREAD events
...
- report stopped threads for interrupts after resuming
accidentally stopped threads
- unintended threads will not be available when event
for interrupt is reported
Resolves: NEO-6927
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-04 14:20:07 +02:00
35a1a3fc2a
Fix debug session thread conversion
...
- convertToPhysical must be called in polymorphic manner,
not on base DebugSession
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-28 18:59:34 +02:00
f4182e37ee
Add debugger support - debug session implementation
...
Resolves: NEO-6813
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-04-27 17:53:48 +02:00
933fbd4f63
Fix scratch offset calculation in DebugSession
...
- account for ThreadEuRatio when calculating per-thread
scratch offset
Related-To: NEO-6677
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-05 10:33:49 +02:00
7a2c5e28c1
Add getLastCounter() to EuThread
...
Related-To: NEO-6447
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-25 17:14:01 +01:00
35795357e9
DebugSession - add printBitmask()
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-15 21:40:27 +01:00
f90932cca7
Use references instead copy ctors
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-15 14:42:33 +01:00
ee418efadf
Per-thread scratch offset calculation
...
Related-To: NEO-6404
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-05 11:03:17 +01:00
4d6a2d0a57
Enhance logs in EuThread
...
- do not overwrite memoryHandle in resumeThread() when thread is
not stopped
- add SIP Commands
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-03 11:04:14 +01:00
2d8f037233
Mark EuThread methods with const
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-10-20 14:31:59 +02:00
8a17cf3141
Allow debugger read ISA and ELF with single thread
...
Resolves: NEO-6309
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2021-10-19 20:41:27 +02:00
da982b41be
Add readSbaBuffer() interface
...
Related-To: NEO-6277
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-09-30 18:02:00 +02:00
b0ec436b3e
Fill devices from api thread
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-22 16:34:10 +02:00
4d4433fa5f
Fixes for MultiDevice fixture and DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-20 17:27:46 +02:00
f3eb4e3ddf
Add memoryHandle to EuThread
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-09-17 14:33:03 +02:00
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
a27b839976
Refactor getSingleThreads()
...
- return ThreadIds for chosen device index from ze_device_thread_t
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-13 14:36:35 +02:00
b323e78f55
Verify thread state with counter
...
Related-To: NEO-6080
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-01 14:26:59 +02:00
d10eb1c04c
Add thread log level
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-08-25 13:01:33 +02:00
d49d294ba9
Add DebugSession::areRequestedThreadsStopped() helper
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-08-16 21:01:33 +02:00
51967a4f67
Refactor DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-08-02 09:19:02 +02:00
89144e494d
Add DebugSession helper methods
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-29 13:21:23 +02:00
c96c1b045a
Pass info about system routine in module debug area
...
Resolves: NEO-6097
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-27 08:08:39 +02:00
ad5735c60b
Add EuThread class
...
- add thread map to RootDebugSession
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-26 10:29:46 +02:00
0c8757c655
Make DebugSession::getRegisterSetProperties static
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-06-25 16:40:49 +02:00
e0a50d3143
Rename L0::DebugSession::getRegisterSetPropertiesExp->getRegisterSetProperties
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-06-24 16:44:19 +02:00
52ad8b0977
Update L0 Loader to 1.4.1 (v1.2 spec)
...
Also make changes to debug API to mitigate API break
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2021-06-23 19:27:50 +02:00
79c258977a
Add L0::DebugSession::getRegisterSetPropertiesExp() stub
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-06-22 18:38:32 +02:00
3f068eeca2
L0: rename EXTENSIONS to PUBLIC_EXTENTIONS in CmakeLists.txt
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-06-07 21:49:22 +02:00
e9a43f1f66
Add readModuleDebugArea() method
...
Related-To: NEO-5940
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-06-07 15:26:22 +02:00
734e22857e
Add RootDebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-16 14:47:10 +02:00
6594119afb
Add debugSession interfaces
...
Related-To: NEO-4516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-21 08:21:27 +02:00
eb03fd7603
Add startAsyncThread interface to DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-20 11:24:02 +02:00
a2cbb4f859
Add readEvent method to DebugSession
...
Related-To: NEO-4556
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-08 17:55:54 +02:00
223a42c3c7
Refactor DebugSession creation
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-07 14:40:02 +02:00
95b9880385
Add initialize() to DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-01 16:51:31 +02:00
1544c6d001
Split getDebugSession and createDebugSession logic
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-19 15:38:36 +01:00
6356de6511
Add debug api handlers 2
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-04 12:45:40 +01:00
8f87dfaf0c
Add Debug API handlers
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-01 15:26:43 +01:00