summaryrefslogtreecommitdiff
path: root/lib/igt_os.c
diff options
context:
space:
mode:
authorDominik Grzegorzek <dominik.grzegorzek@intel.com>2024-09-18 13:30:11 +0200
committerZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2024-09-19 10:09:27 +0200
commit0bf77f2616834cdfe84be0d6acccd45e6c1f2370 (patch)
tree8e9a3f6153781a063eaac44d43ce86307e3ec460 /lib/igt_os.c
parent6e77cfd30c0e7b8b042d94364b546d2d32c03306 (diff)
lib/xe_eudebug: Introduce eu debug testing framework
Introduce library which simplifies testing of eu debug capability. The library provides event log helpers together with asynchronous abstraction for client proccess and the debugger itself. xe_eudebug_client creates its own proccess with user's work function, and gives machanisms to synchronize beginning of execution and event logging. xe_eudebug_debugger allows to attach to the given proccess, provides asynchronous thread for event reading and introduces triggers - a callback mechanism triggered every time subscribed event was read. To build the eudebug testing framework 'xe_eudebug' meson build option has to be enabled, as it is disabled by default. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Signed-off-by: Mika Kuoppala <mika.kuaoppala@linux.intel.com> Signed-off-by: Christoph Manszewski <christoph.manszewski@intel.com> Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> Signed-off-by: Pawel Sikora <pawel.sikora@intel.com> Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com> Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Link: https://lore.kernel.org/r/20240918113017.144687-11-christoph.manszewski@intel.com
Diffstat (limited to 'lib/igt_os.c')
0 files changed, 0 insertions, 0 deletions