Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v6 0/2] Runtime alteration of debuglog level
@ 2024-07-12  8:29 Pranay Samala
  2024-07-12  8:29 ` [PATCH i-g-t v6 1/2] lib/igt_sysfs: Implement dynamic adjustment of debug log level Pranay Samala
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Pranay Samala @ 2024-07-12  8:29 UTC (permalink / raw)
  To: igt-dev
  Cc: karthik.b.s, kunal1.joshi, bhanuprakash.modem, sameer.lattannavar,
	pranay.samala

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-17  6:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-12  8:29 [PATCH i-g-t v6 0/2] Runtime alteration of debuglog level Pranay Samala
2024-07-12  8:29 ` [PATCH i-g-t v6 1/2] lib/igt_sysfs: Implement dynamic adjustment of debug log level Pranay Samala
2024-07-12  9:13   ` Modem, Bhanuprakash
2024-07-12  8:29 ` [PATCH i-g-t v6 2/2] tests/kms_atomic_transition: Reducing debug loglevel dynamically Pranay Samala
2024-07-12  9:15   ` Modem, Bhanuprakash
2024-07-12 11:20 ` ✓ CI.xeBAT: success for Runtime alteration of debuglog level (rev6) Patchwork
2024-07-12 11:28 ` ✓ Fi.CI.BAT: " Patchwork
2024-07-12 13:02 ` ✗ CI.xeFULL: failure " Patchwork
2024-07-15  5:43 ` ✗ Fi.CI.IGT: " Patchwork
2024-07-17  6:27 ` ✓ Fi.CI.IGT: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox