diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-09-09 01:17:21 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-09-12 02:06:40 +0300 |
commit | 7dc1e125f07aeeb8b6eacfd9a05ef3ef6fe539c7 (patch) | |
tree | 55e96db235b21ba7ef6c6eeea11581480ab327da /scripts/gdb/linux/proc.py | |
parent | a06023a8f78d3e9e73ca4363ccf3871a06e16ecc (diff) | |
download | linux-7dc1e125f07aeeb8b6eacfd9a05ef3ef6fe539c7.tar.xz |
ftrace/selftests: Add softlink to latest log directory
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!
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions