On Fri, 20 Aug 2021 09:53:59 +0900 Masami Hiramatsu mhiramat@kernel.org wrote:
Hmm, can you also remove kprobe event dependency from this test case? The event probe depends on CONFIG_PROBE_EVENTS meta config, but that is enabled both of CONFIG_KPROBE_EVENTS and CONFIG_UPROBE_EVENTS. This means if the kernel configs CONFIG_KPROBE_EVENTS=n and CONFIG_UPROBE_EVENTS=y, this will be executed but should fail.
I'll add a check if kprobes are available before testing the kprobes.
-- Steve