Add readModuleDebugArea() method
Related-To: NEO-5940 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
parent
0500f79753
commit
e9a43f1f66
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
#include "level_zero/core/source/debugger/debugger_l0.h"
|
||||
#include <level_zero/zet_api.h>
|
||||
|
||||
struct _zet_debug_session_handle_t {};
|
||||
|
@ -50,6 +51,9 @@ struct RootDebugSession : DebugSession {
|
|||
|
||||
protected:
|
||||
RootDebugSession(const zet_debug_config_t &config, Device *device) : DebugSession(config, device){};
|
||||
|
||||
virtual bool readModuleDebugArea() = 0;
|
||||
DebugAreaHeader debugArea;
|
||||
};
|
||||
|
||||
} // namespace L0
|
|
@ -61,6 +61,10 @@ struct DebugSessionMock : public L0::RootDebugSession {
|
|||
asyncThreadStarted = true;
|
||||
}
|
||||
|
||||
bool readModuleDebugArea() override {
|
||||
return true;
|
||||
}
|
||||
|
||||
zet_debug_config_t config;
|
||||
bool asyncThreadStarted = false;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue