[PATCH i-g-t v2 0/2] Runtime alteration of debuglog level

Pranay Samala pranay.samala at intel.com
Wed Jul 10 08:43:56 UTC 2024


In certain scenarios, tests may fail due to insufficient disk space, 
even though they fulfill all requirements.

To resolve this issue, adjust the debug log level before initiating 
the test. Rather than manually editing the debug log level each time, 
aim to dynamically adjust it.

This approach involves modifying the log level within the test using 
the debugfs entry, with an exit handler ensuring default settings are 
restored after testing.

Pranay Samala (2):
  lib/igt_sysfs: Implement dynamic adjustment of debug log level
  tests/kms_atomic_transition: Reducing debug loglevel dynamically

 lib/igt_sysfs.c               | 75 +++++++++++++++++++++++++++++++++++
 lib/igt_sysfs.h               |  4 ++
 tests/kms_atomic_transition.c |  5 +++
 3 files changed, 84 insertions(+)

-- 
2.34.1



More information about the igt-dev mailing list