[PATCH v2 i-g-t 0/3] tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test

Dominik Karol Piątkowski dominik.karol.piatkowski at intel.com
Tue Mar 11 13:55:26 UTC 2025


Add a test that sends SIGINT to the debugger thread with random timing
and checks if nothing breaks, exercising the scenario multiple times.

In order for this test to work, make debugger thread SIGINTable.

While at it, fix rare xe_eudebug_client_stop corner case issue that was
spotted with the new test.

v2:
 - Initialize sigaction (Mika)
 - Count correctly timed SIGINTs and assert that they happened (Mika)

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>

Dominik Karol Piątkowski (3):
  lib/eudebug: Make debugger thread SIGINTable
  lib/eudebug: Fix xe_eudebug_client_stop corner case
  tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test

 lib/xe/xe_eudebug.c             | 18 ++++++-
 tests/intel/xe_eudebug_online.c | 96 +++++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list