Messages in this thread | | | Date | Fri, 20 Aug 2021 10:13:18 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v8 5/5] selftests/ftrace: Add selftest for testing duplicate eprobes and kprobes |
| |
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
| |