selftests/ftrace: Add CONFIG_SAMPLE_FTRACE_DIRECT=m kconfig
PATCH 1/1 selftests/ftrace: Add CONFIG_SAMPLE_FTRACE_DIRECT=m kconfig
ftrace-direct.tc and kprobe-direct.tc require CONFIG_SAMPLE_FTRACE_DIRECT=m so add it to config file which is used by merge_config.sh.
--- tools/testing/selftests/ftrace/config | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/ftrace/config +1 -0
@@ -11,5 +11,6 @@ CONFIG_PREEMPTIRQ_DELAY_TEST=m CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_SAMPLES=y +CONFIG_SAMPLE_FTRACE_DIRECT=m CONFIG_SAMPLE_TRACE_PRINTK=m CONFIG_KALLSYMS_ALL=y
Signature · 1 line
2.25.1
Quoted 2 lines · On Sun, 5 Apr 2020 09:44:57 +0800 Xiao Yang <[email protected]> wrote:
ftrace-direct.tc and kprobe-direct.tc require
CONFIG_SAMPLE_FTRACE_DIRECT=mso add it to config file which is used bymerge_config.sh.
Shuah,
Care to take this in your tree?
-- Steve
Quoted 17 lines
Signed-off-by Xiao Yang <[email protected]>--- tools/testing/selftests/ftrace/config | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/ftrace/config +1
-0@@ -11,5 +11,6 @@ CONFIG_PREEMPTIRQ_DELAY_TEST=m CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_SAMPLES=y +CONFIG_SAMPLE_FTRACE_DIRECT=m CONFIG_SAMPLE_TRACE_PRINTK=m CONFIG_KALLSYMS_ALL=y
Shuah Khan
maintainerQuoted 7 lines · Steven Rostedt
Quoted 2 lines · On Sun, 5 Apr 2020 09:44:57 +0800 Xiao Yang <[email protected]> wrote:
ftrace-direct.tc and kprobe-direct.tc require
CONFIG_SAMPLE_FTRACE_DIRECT=mso add it to config file which is used bymerge_config.sh.
Quoted 6 lines
Shuah,
Care to take this in your tree?
Yes. I will apply this for next rc.
thanks,
-- Shuah
Shuah Khan
maintainerHi Xiao Yang,
Quoted 8 lines · Shuah Khan
Quoted 7 lines · Steven Rostedt
Quoted 2 lines · On Sun, 5 Apr 2020 09:44:57 +0800 Xiao Yang <[email protected]> wrote:
ftrace-direct.tc and kprobe-direct.tc require
CONFIG_SAMPLE_FTRACE_DIRECT=mso add it to config file which is used bymerge_config.sh.
Quoted 7 lines
Quoted 6 lines
Shuah,
Care to take this in your tree?
I took this patch and sending it in my pull request. Please make sure your commit logs don't wrap in your future patches. It makes it easier to read commit logs.
"Without CONFIG_DYNAMIC_FTRACE, some tests get failure because required
filterfiles(set_ftrace_filter/available_filter_functions/stack_trace_filter)
are missing. So implement check_filter_file() and make all related
tests
check required filter files by it.
BTW: set_ftrace_filter and available_filter_functions are
introduced together
so just check either of them."
thanks,
-- Shuah