selftests/ftrace: Fix eprobe syntax test case to check filter support
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 20 Feb 2023 23:49:16 +0000 (08:49 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 20 Feb 2023 23:49:16 +0000 (08:49 +0900)
commita457e944df92789ab31aaf35fae9db064e3c51c4
tree890ee87066cf91fee16368651f7b32923242619a
parent133921530c42960c07d25d12677f9e131a2b0cdf
selftests/ftrace: Fix eprobe syntax test case to check filter support

Fix eprobe syntax test case to check whether the kernel supports the filter
on eprobe for filter syntax test command. Without this fix, this test case
will fail if the kernel supports eprobe but doesn't support the filter on
eprobe.

Link: https://lore.kernel.org/all/167309834742.640500.379128668288448035.stgit@devnote3/
Fixes: 9e14bae7d049 ("selftests/ftrace: Add eprobe syntax error testcase")
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/dynevent/eprobes_syntax_errors.tc