[igt-dev] [PATCH i-g-t 0/3] RFC: runner/resultgen: lower dmesg copied when size limit was exceeded

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Aug 18 19:22:00 UTC 2023


When dmesg kernel log exceed its limit then copy into
results.json only limited number of lines. Add also
possibility for compressing dmesg.txt after is was processed.

Bug: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/129

Previous RFC: https://patchwork.freedesktop.org/series/119630/

Cc: Petri Latvala <adrinael at adrinael.net>
Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Kamil Konieczny (3):
  runner/resultgen: limit dmesg added into results
  runner/settings: add compressor option
  runner/resultgen: compress dmesg if size limit hit

 runner/resultgen.c | 146 +++++++++++++++++++++++++++++++++++++++------
 runner/settings.c  |  34 ++++++++++-
 runner/settings.h  |   1 +
 3 files changed, 162 insertions(+), 19 deletions(-)

-- 
2.39.2



More information about the igt-dev mailing list