diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-09-05 00:30:21 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-09-04 15:08:18 -0600 |
commit | f0a6ecebd858658df213d114b0530f8f0b96e396 (patch) | |
tree | ffccd7fc8762626303ff330665349eb1ae77a9c9 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | b4bcdff7e839237d89a2aa15b6042b96b0240ac4 (diff) |
selftests/ftrace: Fix eventfs ownership testcase to find mount point
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@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions