[igt-dev] [RFC i-g-t 0/8] Add initial eudebug coverage

Dominik Grzegorzek dominik.grzegorzek at intel.com
Tue May 16 15:44:26 UTC 2023


This series introduces test coverage for eudebug event
interface recently proposed as an RFC.
(https://patchwork.freedesktop.org/series/116442/) 

This series adds xe_eudebug tests together with 
a library that encapsulates common paths in current 
and future eu debugger scenarios. It provides an abstraction
over debugger and debuggee processes, asynchronous event reader,
and event log buffers for post-mortem analysis.


Dominik Grzegorzek (8):
  xe: sync uapi headers
  xe/xe_eudebug: test eudebug connection
  xe/xe_eudebug: introduce eu debug testing framework
  xe/xe_eudebug: test open close events
  xe/xe_eudebug: exercise read_event ioctl
  xe/xe_eudebug: add vm events sanity check
  xe/xe_eudebug: Race discovery against eudebug attach.
  xe/xe_eudebug: Add TEST/SUBTEST documentation

 include/drm-uapi/xe_drm_tmp.h |   76 +++
 lib/meson.build               |    1 +
 lib/xe/xe_eudebug.c           | 1047 +++++++++++++++++++++++++++++++++
 lib/xe/xe_eudebug.h           |   89 +++
 tests/meson.build             |    1 +
 tests/xe/xe_eudebug.c         |  638 ++++++++++++++++++++
 6 files changed, 1852 insertions(+)
 create mode 100644 include/drm-uapi/xe_drm_tmp.h
 create mode 100644 lib/xe/xe_eudebug.c
 create mode 100644 lib/xe/xe_eudebug.h
 create mode 100644 tests/xe/xe_eudebug.c

-- 
2.34.1



More information about the igt-dev mailing list