[Intel-xe] [RFC 0/3] drm/xe: Introduce eudebug event interface
Mika Kuoppala
mika.kuoppala at linux.intel.com
Thu Apr 13 14:27:46 UTC 2023
Hi,
This series introduces eudebug connection and
event uapi interface for a debugger to track
clients drm/xe resources. xe_file (client) and the
vm resources are introduced as a baseline, leaving
rest of the events as follow up patches at a later
time.
To support use case where debugger is connecting
to a drm/xe client which already has opened
connection(s) to xe driver and allocated vm(s),
patch 3/3 introduces discovery where all
currently active resources are presented through
events for the connected debugger.
Mika Kuoppala (3):
drm/xe/eudebug: Export GPL symbol ptrace_may_access
drm/xe/eudebug: Introduce eudebug support
drm/xe/eudebug: Introduce discovery for resources
drivers/gpu/drm/xe/Makefile | 3 +-
drivers/gpu/drm/xe/xe_device.c | 26 +-
drivers/gpu/drm/xe/xe_device_types.h | 25 +
drivers/gpu/drm/xe/xe_eudebug.c | 1228 +++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_eudebug.h | 27 +
drivers/gpu/drm/xe/xe_eudebug_types.h | 176 ++++
drivers/gpu/drm/xe/xe_vm.c | 5 +
include/uapi/drm/xe_drm_tmp.h | 76 ++
kernel/ptrace.c | 1 +
9 files changed, 1565 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c
create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h
create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h
create mode 100644 include/uapi/drm/xe_drm_tmp.h
--
2.34.1
More information about the Intel-xe
mailing list