selftests/ftrace: add fprobe test cases for VFS type "%pd" and "%pD"
authorYe Bin <yebin10@huawei.com>
Fri, 22 Mar 2024 06:43:08 +0000 (14:43 +0800)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 1 May 2024 14:18:47 +0000 (23:18 +0900)
commitee97e5e135c6fc937c4c81e0341c6513e2e6d44c
tree66cebe4773ee146cb5f74e8d2a5089837fd25e0a
parentc01768b05e306d8c8d5997356ff427f5d53c7d20
selftests/ftrace: add fprobe test cases for VFS type "%pd" and "%pD"

This patch adds fprobe test cases for new print format type "%pd/%pD".The
test cases test the following items:
1. Test "%pd" type for dput();
2. Test "%pD" type for vfs_read();

This test case require enable CONFIG_HAVE_FUNCTION_ARG_ACCESS_API configuration.

Link: https://lore.kernel.org/all/20240322064308.284457-6-yebin10@huawei.com/
Signed-off-by: Ye Bin <yebin10@huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
tools/testing/selftests/ftrace/test.d/dynevent/fprobe_args_vfs.tc [new file with mode: 0644]