test: ftrace: Fix kprobe test for eventfs
authorAjay Kaher <akaher@vmware.com>
Fri, 28 Jul 2023 18:20:52 +0000 (23:50 +0530)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 31 Jul 2023 16:11:38 +0000 (12:11 -0400)
commit7c1130ea5cae215588e6d51242b877fd405e6c32
tree27f3e8eaca15f0f17145133d2cf083d24c1f7798
parent27152bceea1df27ffebb12ac9cd9adbf2c4c3f35
test: ftrace: Fix kprobe test for eventfs

kprobe_args_char.tc, kprobe_args_string.tc has validation check
for tracefs_create_dir, for eventfs it should be eventfs_create_dir.

Link: https://lkml.kernel.org/r/1690568452-46553-11-git-send-email-akaher@vmware.com
Signed-off-by: Ajay Kaher <akaher@vmware.com>
Co-developed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Tested-by: Ching-lin Yu <chinglinyu@google.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc