Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, kunal1.joshi@intel.com,
	bhanuprakash.modem@intel.com, sameer.lattannavar@intel.com,
	pranay.samala@intel.com
Subject: [PATCH i-g-t v6 0/2] Runtime alteration of debuglog level
Date: Fri, 12 Jul 2024 13:59:26 +0530	[thread overview]
Message-ID: <20240712082928.762514-1-pranay.samala@intel.com> (raw)

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


             reply	other threads:[~2024-07-12  8:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-12  8:29 Pranay Samala [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240712082928.762514-1-pranay.samala@intel.com \
    --to=pranay.samala@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@intel.com \
    --cc=kunal1.joshi@intel.com \
    --cc=sameer.lattannavar@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox