Skip to content

Commit b7bd96e

Browse files
committed
selftests/ftrace: Fix required features for VFS type test case
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: ee97e5e ("selftests/ftrace: add fprobe test cases for VFS type "%pd" and "%pD"") Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
1 parent 78d0b16 commit b7bd96e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/ftrace/test.d/dynevent/fprobe_args_vfs.tc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh
22
# SPDX-License-Identifier: GPL-2.0
33
# description: Fprobe event VFS type argument
4-
# requires: kprobe_events "%pd/%pD":README
4+
# requires: dynamic_events "%pd/%pD":README "f[:[<group>/][<event>]] <func-name>[%return] [<args>]":README
5+
56

67
: "Test argument %pd with name for fprobe"
78
echo 'f:testprobe dput name=$arg1:%pd' > dynamic_events

0 commit comments

Comments
 (0)