Re: [PATCH] selftests/ftrace: Fix eventfs ownership testcase to find mount point

From: Shuah Khan
Date: Wed Sep 04 2024 - 17:11:45 EST


On 9/4/24 10:20, Steven Rostedt wrote:
On Thu, 5 Sep 2024 00:30:21 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:

From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>

Fix eventfs ownership testcase to find mount point if stat -c "%m" failed.
This can happen on the system based on busybox. In this case, this will
try to use the current working directory, which should be a tracefs top
directory (and eventfs is mounted as a part of tracefs.)
If it does not work, the test is skipped as UNRESOLVED because of
the environmental problem.

Fixes: ee9793be08b1 ("tracing/selftests: Add ownership modification tests for eventfs")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>

Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve

Thank you. Applied to linux-kselftest next for Linux 6.12-rc1

thanks,
-- Shuah