Home
last modified time | relevance | path

Searched hist:dff9b2238969497519923150fd9e2ad821209096 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dtest_duplicates.tcdiff dff9b2238969497519923150fd9e2ad821209096 Mon May 20 19:00:22 CDT 2024 Masami Hiramatsu (Google) <mhiramat@kernel.org> selftests/ftrace: Fix to check required event file

[ Upstream commit f6c3c83db1d939ebdb8c8922748ae647d8126d91 ]

The dynevent/test_duplicates.tc test case uses `syscalls/sys_enter_openat`
event for defining eprobe on it. Since this `syscalls` events depend on
CONFIG_FTRACE_SYSCALLS=y, if it is not set, the test will fail.

Add the event file to `required` line so that the test will return
`unsupported` result.

Fixes: 297e1dcdca3d ("selftests/ftrace: Add selftest for testing duplicate eprobes and kprobes")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>