[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <83cdf82f-8f61-2254-917b-2a4d5fa82f5b@linuxfoundation.org>
Date: Mon, 11 Sep 2023 14:41:05 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Steven Rostedt <rostedt@...dmis.org>,
"Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>,
linux-kselftest@...r.kernel.org, Shuah Khan <shuah@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] ftrace/selftests: Add softlink to latest log directory
On 9/11/23 12:07, Steven Rostedt wrote:
> On Mon, 11 Sep 2023 09:21:05 +0900
> Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
>
>> On Fri, 8 Sep 2023 18:17:21 -0400
>> Steven Rostedt <rostedt@...dmis.org> wrote:
>>
>>> From: Steven Rostedt (Google) <rostedt@...dmis.org>
>>>
>>> When I'm debugging something with the ftrace selftests and need to look at
>>> the logs, it becomes tedious that I need to do the following:
>>>
>>> ls -ltr logs
>>> [ copy the last directory ]
>>> ls logs/<paste-last-dir>
>>>
>>> to see where the logs are.
>>>
>>> Instead, do the common practice of having a "latest" softlink to the last
>>> run selftest. This way after running the selftest I only need to do:
>>>
>>> ls logs/latest/
>>>
>>> and it will always give me the directory of the last run selftest logs!
>>>
>>
>> Nice! I like this and this looks good to me.
>>
>> Acked-by: Masami Hiramatsu (Google) <mhiramat@...nel.org>
>>
>> Thank you!
>>
>
> Should this go via Shuah's tree?
>
Looks like it is a self contained patch. I will take it.
thanks,
-- Shuah
Powered by blists - more mailing lists