From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Mon, 4 Nov 2019 11:06:23 -0500 (EST) Subject: [LTP] [PATCH] read_all_sys: skip debugfs In-Reply-To: <20191104155900.GA5683@rei.lan> References: <4e93b0d943960d957b71bdb998b33ad30424b07c.1572881777.git.jstancek@redhat.com> <20191104155900.GA5683@rei.lan> Message-ID: <533980280.10363747.1572883583198.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > Hi! > > debugfs is meant for debugging, it exposes also device registers > > and can pretty much do anything: > > https://lore.kernel.org/linux-arm-kernel/1507592549.3785589.1570404050459.JavaMail.zimbra@redhat.com/ > > https://lore.kernel.org/stable/2029139028.10333037.1572874551626.JavaMail.zimbra@redhat.com/ > > > > Signed-off-by: Jan Stancek > > --- > > runtest/fs | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/runtest/fs b/runtest/fs > > index 07d6e2b67964..fba19cae03e8 100644 > > --- a/runtest/fs > > +++ b/runtest/fs > > @@ -71,7 +71,7 @@ proc01 proc01 -m 128 > > > > read_all_dev read_all -d /dev -p -q -r 10 > > read_all_proc read_all -d /proc -q -r 10 > > -read_all_sys read_all -d /sys -q -r 10 -e /sys/power/wakeup_count > > +read_all_sys read_all -d /sys -q -r 10 -e /sys/power/wakeup_count -e > > '/sys/kernel/debug/*' > > Do we even support multiple parameters for the same option? > > I looked that the library code and I would say that we will replace the > value with each iteration which means that we will effectively use the > last one. That is good point. Do we actually need to store blacklist as cmdline parameters?