mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: Reorganize xe debugger includes
Related-to: NEO-11365 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e7c2087e53
commit
a432bdecc1
@@ -42,7 +42,7 @@ DebugSessionLinuxXe::~DebugSessionLinuxXe() {
|
||||
|
||||
DebugSession *DebugSessionLinuxXe::createLinuxSession(const zet_debug_config_t &config, Device *device, ze_result_t &result, bool isRootAttach) {
|
||||
|
||||
struct drm_xe_eudebug_connect open = {
|
||||
drm_xe_eudebug_connect open = {
|
||||
.extensions = 0,
|
||||
.pid = config.pid,
|
||||
.flags = 0,
|
||||
@@ -638,7 +638,7 @@ void DebugSessionLinuxXe::handleAttentionEvent(drm_xe_eudebug_event_eu_attention
|
||||
|
||||
int DebugSessionLinuxXe::threadControlInterruptAll() {
|
||||
int euControlRetVal = -1;
|
||||
struct drm_xe_eudebug_eu_control euControl = {};
|
||||
drm_xe_eudebug_eu_control euControl = {};
|
||||
euControl.client_handle = clientHandle;
|
||||
euControl.cmd = DRM_XE_EUDEBUG_EU_CONTROL_CMD_INTERRUPT_ALL;
|
||||
euControl.bitmask_size = 0;
|
||||
@@ -671,7 +671,7 @@ int DebugSessionLinuxXe::threadControlStopped(std::unique_ptr<uint8_t[]> &bitmas
|
||||
int euControlRetVal = -1;
|
||||
auto hwInfo = connectedDevice->getHwInfo();
|
||||
auto &l0GfxCoreHelper = connectedDevice->getL0GfxCoreHelper();
|
||||
struct drm_xe_eudebug_eu_control euControl = {};
|
||||
drm_xe_eudebug_eu_control euControl = {};
|
||||
euControl.client_handle = clientHandle;
|
||||
euControl.cmd = DRM_XE_EUDEBUG_EU_CONTROL_CMD_STOPPED;
|
||||
|
||||
@@ -714,7 +714,7 @@ int DebugSessionLinuxXe::threadControlResume(const std::vector<EuThread::ThreadI
|
||||
int euControlRetVal = -1;
|
||||
auto hwInfo = connectedDevice->getHwInfo();
|
||||
auto &l0GfxCoreHelper = connectedDevice->getL0GfxCoreHelper();
|
||||
struct drm_xe_eudebug_eu_control euControl = {};
|
||||
drm_xe_eudebug_eu_control euControl = {};
|
||||
euControl.client_handle = clientHandle;
|
||||
euControl.bitmask_size = 0;
|
||||
euControl.bitmask_ptr = 0;
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
#include "level_zero/tools/source/debug/linux/debug_session.h"
|
||||
#include "level_zero/tools/source/debug/linux/debug_session_factory.h"
|
||||
|
||||
#include "uapi-eudebug/drm/xe_drm.h"
|
||||
#include "uapi-eudebug/drm/xe_drm_tmp.h"
|
||||
#include "debug_xe_includes.h"
|
||||
|
||||
namespace L0 {
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
#include "level_zero/tools/test/unit_tests/sources/debug/linux/debug_session_fixtures_linux.h"
|
||||
|
||||
#include "common/StateSaveAreaHeader.h"
|
||||
#include "uapi-eudebug/drm/xe_drm.h"
|
||||
#include "uapi-eudebug/drm/xe_drm_tmp.h"
|
||||
#include "debug_xe_includes.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <queue>
|
||||
|
||||
@@ -37,8 +37,7 @@
|
||||
#include "level_zero/tools/test/unit_tests/sources/debug/mock_debug_session.h"
|
||||
|
||||
#include "common/StateSaveAreaHeader.h"
|
||||
#include "uapi-eudebug/drm/xe_drm.h"
|
||||
#include "uapi-eudebug/drm/xe_drm_tmp.h"
|
||||
#include "debug_xe_includes.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <fstream>
|
||||
|
||||
Reference in New Issue
Block a user