[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <571133ce-b4ae-4a9f-8601-443774804d1e@linuxfoundation.org>
Date: Thu, 23 Jan 2025 14:56:55 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Steven Rostedt <rostedt@...dmis.org>, LKML
<linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>,
linux-kselftest@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Shuah Khan <shuah@...nel.org>, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] selftests/tracing: Test only toplevel README file not the
instances
On 1/15/25 18:26, Steven Rostedt wrote:
> On Wed, 15 Jan 2025 19:17:58 -0500
> Steven Rostedt <rostedt@...dmis.org> wrote:
>
>> From: Steven Rostedt <rostedt@...dmis.org>
>>
>> For the tests that have both a README attribute as well as the instance
>> flag to run the tests as an instance, the instance version will always
>> exit with UNSUPPORTED. That's because the instance directory does not
>> contain a README file. Currently, the tests check for a README file in the
>> directory that the test runs in and if there's a requirement for something
>> to be present in the README file, it will not find it, as the instance
>> directory doesn't have it.
>>
>> Have the tests check if the current directory is an instance directory,
>> and if it is, check two directories above the current directory for the
>> README file:
>>
>> /sys/kernel/tracing/README
>> /sys/kernel/tracing/instances/foo/../../README
>
> This is the same patch as:
>
> https://lore.kernel.org/all/20250116012041.326701057@goodmis.org/
>
> But as there are other patches that depended on it, I just added this one
> into a patch set with them. But decided not to make that patch set a v2 as
> there was no changes with this one.
>
> Damn, I forgot to add Shuah and kselftests mailing list to that one though :-p
>
Do I need to do anything or is this taken care of?
thanks,
-- Shuah
Powered by blists - more mailing lists