diff mbox series

[2/2] selftests/ftrace: Update required config

Message ID 171624963215.252417.12572658025062192987.stgit@devnote2 (mailing list archive)
State Accepted
Commit 7ea794604bf6a3be8bb4b0f1483eb1d3972eac93
Headers show
Series selftests/ftrace: Fix config related issues | expand

Commit Message

Masami Hiramatsu (Google) May 21, 2024, midnight UTC
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Update required config options for running all tests.
This also sorts the config entries alphabetically.

Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
---
 tools/testing/selftests/ftrace/config |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

Comments

Muhammad Usama Anjum May 25, 2024, 4:28 a.m. UTC | #1
On 5/20/24 5:00 PM, Masami Hiramatsu (Google) wrote:
> From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> 
> Update required config options for running all tests.
> This also sorts the config entries alphabetically.
> 
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
LGTM
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>

> ---
>  tools/testing/selftests/ftrace/config |   26 +++++++++++++++++++-------
>  1 file changed, 19 insertions(+), 7 deletions(-)
> 
> diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config
> index e59d985eeff0..048a312abf40 100644
> --- a/tools/testing/selftests/ftrace/config
> +++ b/tools/testing/selftests/ftrace/config
> @@ -1,16 +1,28 @@
> -CONFIG_KPROBES=y
> +CONFIG_BPF_SYSCALL=y
> +CONFIG_DEBUG_INFO_BTF=y
> +CONFIG_DEBUG_INFO_DWARF4=y
> +CONFIG_EPROBE_EVENTS=y
> +CONFIG_FPROBE=y
> +CONFIG_FPROBE_EVENTS=y
>  CONFIG_FTRACE=y
> +CONFIG_FTRACE_SYSCALLS=y
> +CONFIG_FUNCTION_GRAPH_RETVAL=y
>  CONFIG_FUNCTION_PROFILER=y
> -CONFIG_TRACER_SNAPSHOT=y
> -CONFIG_STACK_TRACER=y
>  CONFIG_HIST_TRIGGERS=y
> -CONFIG_SCHED_TRACER=y
> -CONFIG_PREEMPT_TRACER=y
>  CONFIG_IRQSOFF_TRACER=y
> -CONFIG_PREEMPTIRQ_DELAY_TEST=m
> +CONFIG_KALLSYMS_ALL=y
> +CONFIG_KPROBES=y
> +CONFIG_KPROBE_EVENTS=y
>  CONFIG_MODULES=y
>  CONFIG_MODULE_UNLOAD=y
> +CONFIG_PREEMPTIRQ_DELAY_TEST=m
> +CONFIG_PREEMPT_TRACER=y
> +CONFIG_PROBE_EVENTS_BTF_ARGS=y
>  CONFIG_SAMPLES=y
>  CONFIG_SAMPLE_FTRACE_DIRECT=m
>  CONFIG_SAMPLE_TRACE_PRINTK=m
> -CONFIG_KALLSYMS_ALL=y
> +CONFIG_SCHED_TRACER=y
> +CONFIG_STACK_TRACER=y
> +CONFIG_TRACER_SNAPSHOT=y
> +CONFIG_UPROBES=y
> +CONFIG_UPROBE_EVENTS=y
> 
>
diff mbox series

Patch

diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config
index e59d985eeff0..048a312abf40 100644
--- a/tools/testing/selftests/ftrace/config
+++ b/tools/testing/selftests/ftrace/config
@@ -1,16 +1,28 @@ 
-CONFIG_KPROBES=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_DEBUG_INFO_BTF=y
+CONFIG_DEBUG_INFO_DWARF4=y
+CONFIG_EPROBE_EVENTS=y
+CONFIG_FPROBE=y
+CONFIG_FPROBE_EVENTS=y
 CONFIG_FTRACE=y
+CONFIG_FTRACE_SYSCALLS=y
+CONFIG_FUNCTION_GRAPH_RETVAL=y
 CONFIG_FUNCTION_PROFILER=y
-CONFIG_TRACER_SNAPSHOT=y
-CONFIG_STACK_TRACER=y
 CONFIG_HIST_TRIGGERS=y
-CONFIG_SCHED_TRACER=y
-CONFIG_PREEMPT_TRACER=y
 CONFIG_IRQSOFF_TRACER=y
-CONFIG_PREEMPTIRQ_DELAY_TEST=m
+CONFIG_KALLSYMS_ALL=y
+CONFIG_KPROBES=y
+CONFIG_KPROBE_EVENTS=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
+CONFIG_PREEMPTIRQ_DELAY_TEST=m
+CONFIG_PREEMPT_TRACER=y
+CONFIG_PROBE_EVENTS_BTF_ARGS=y
 CONFIG_SAMPLES=y
 CONFIG_SAMPLE_FTRACE_DIRECT=m
 CONFIG_SAMPLE_TRACE_PRINTK=m
-CONFIG_KALLSYMS_ALL=y
+CONFIG_SCHED_TRACER=y
+CONFIG_STACK_TRACER=y
+CONFIG_TRACER_SNAPSHOT=y
+CONFIG_UPROBES=y
+CONFIG_UPROBE_EVENTS=y