selftests/ftrace: check for do_sys_openat2 in user-memory test
authorColin Ian King <colin.king@canonical.com>
Fri, 2 Oct 2020 13:25:01 +0000 (14:25 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 27 Oct 2020 22:45:51 +0000 (16:45 -0600)
commite3e40312567087fbe6880f316cb2b0e1f3d8a82c
treef579c3c82f7a1b04358c1674850ae5a5da658c56
parentdc6bf4da825aa0301a46f55fec7c0bb706af2aad
selftests/ftrace: check for do_sys_openat2 in user-memory test

More recent libc implementations are now using openat/openat2 system
calls so also add do_sys_openat2 to the tracing so that the test
passes on these systems because do_sys_open may not be called.

Thanks to Masami Hiramatsu for the help on getting this fix to work
correctly.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc