selftests/ftrace: Fix probepoint testcase to ignore __pfx_* symbols
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 20 Feb 2023 23:49:16 +0000 (08:49 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 20 Feb 2023 23:49:16 +0000 (08:49 +0900)
commit96cd93af794cf3ef83ae1ad7291160029d7b525e
tree934dfb347ae9a296b464ecb857d0936a6e224b8f
parenta457e944df92789ab31aaf35fae9db064e3c51c4
selftests/ftrace: Fix probepoint testcase to ignore __pfx_* symbols

Fix kprobe probepoint testcase to ignore __pfx_* prefix symbols. Those are
introduced by commit b341b20d648b ("x86: Add prefix symbols for function
padding") for identifying PADDING_BYTES of NOPs. Since kprobe events can
not probe these prefix symbols, this testcase has to skip those symbols.

Link: https://lore.kernel.org/all/167309835609.640500.9664678940260305746.stgit@devnote3/
Fixes: b341b20d648b ("x86: Add prefix symbols for function padding")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc