selftests/ftrace: Fix required features for VFS type test case
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sat, 4 May 2024 00:36:56 +0000 (09:36 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 10 May 2024 06:00:42 +0000 (15:00 +0900)
Since the VFS type argument test case uses fprobe events, it must
check the availablity of dynamic_events file and fprobe events syntax
in README. Without this fix, the test fails if CONFIG_FPROBE_EVENTS=n.

Link: https://lore.kernel.org/all/171478301645.110267.464634740467398506.stgit@devnote2/
Fixes: ee97e5e135c6 ("selftests/ftrace: add fprobe test cases for VFS type "%pd" and "%pD"")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
tools/testing/selftests/ftrace/test.d/dynevent/fprobe_args_vfs.tc

index 49a833bf334cee803f065d928ca35ed9afc03450..c6a9d2466a719ff156f931b8855912f69d35b581 100644 (file)
@@ -1,7 +1,8 @@
 #!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 # description: Fprobe event VFS type argument
-# requires: kprobe_events "%pd/%pD":README
+# requires: dynamic_events "%pd/%pD":README "f[:[<group>/][<event>]] <func-name>[%return] [<args>]":README
+
 
 : "Test argument %pd with name for fprobe"
 echo 'f:testprobe dput name=$arg1:%pd' > dynamic_events