[PATCH i-g-t v6 0/2] Runtime alteration of debuglog level
Pranay Samala
pranay.samala at intel.com
Fri Jul 12 08:29:26 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 | 108 ++++++++++++++++++++++++++++++++++
lib/igt_sysfs.h | 5 ++
tests/kms_atomic_transition.c | 12 ++++
3 files changed, 125 insertions(+)
--
2.34.1
More information about the igt-dev
mailing list