[PATCH i-g-t v3 0/1] lib/igt_core: capture logs for child processes

Pawel Sikora pawel.sikora at linux.intel.com
Fri Mar 21 12:03:43 UTC 2025


Add a fix for proper log collection from child processes by the IGT runner.

This change addresses the issue of missing logs for child
processes in the IGT runner:
https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2178

The '_igt_log_buffer_dump()' function is now called before
exiting child processes, ensuring that logs are properly
captured and not lost when IGT fails and child processes
dump logs before exiting.

Also, removing unnecessary comment about silent exit.

v2: Make the dump conditional based on active comms (Kamil)
v3: add info about closing issue 2178 in xe kernel

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2178

Pawel Sikora (1):
  lib/igt_core: capture logs for child processes

 lib/igt_core.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list