]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:15 +0000 (09:34 +0100)
commitf588691090440124218a5b112cc8ab67ca54cef5
tree786c47c1586df71521adfdf47ff10f6c480fc502
parent9330252c383239023c9e8e54d51d456fe221579d
selftests/ftrace: Fix eprobe syntax test case to check filter support

commit d07c89c90fd92ef4b1fa91254637b9f0134b0006 upstream.

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: e82c95efa116 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/dynevent/eprobes_syntax_errors.tc