Re: [PATCH] ftrace/selftests: Add softlink to latest log directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Sep 2023 09:21:05 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> On Fri, 8 Sep 2023 18:17:21 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> 
> > From: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
> > 
> > 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@xxxxxxxxxx>
> 
> Thank you!
>

Should this go via Shuah's tree?

-- Steve



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux