Re: [PATCH] selftests: ftrace: add more config fragments

From: lyang0
Date: Fri Nov 03 2017 - 03:24:28 EST




On 2017å11æ02æ 06:06, Shuah Khan wrote:
On 10/21/2017 04:17 AM, lei.yang@xxxxxxxxxxxxx wrote:
From: Lei Yang <Lei.Yang@xxxxxxxxxxxxx>

We need to enable more configs to make test more
without this patch,we got lots of "UNSUPPORTED"

before the patch:
http://pastebin.ubuntu.com/25784377/
after the patch:
http://pastebin.ubuntu.com/25784387/

Signed-off-by: Lei Yang <Lei.Yang@xxxxxxxxxxxxx>
---
tools/testing/selftests/ftrace/config | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config
index 8a1c9f9..b01924c 100644
--- a/tools/testing/selftests/ftrace/config
+++ b/tools/testing/selftests/ftrace/config
@@ -1,2 +1,6 @@
CONFIG_KPROBES=y
CONFIG_FTRACE=y
+CONFIG_FUNCTION_PROFILER=y
+CONFIG_TRACER_SNAPSHOT=y
+CONFIG_STACK_TRACER=y
+CONFIG_HIST_TRIGGERS=y

Hi Steve/Masami,

Are you good with this change. Please give me an Ack.

Hi,

any comments ?

Lei

thanks,
-- Shuah