From a5988f811ab7937a4edf397bf5a466e790b2614c Mon Sep 17 00:00:00 2001 From: Adithya Baglody Date: Thu, 31 May 2018 10:36:15 +0530 Subject: [PATCH] benchmarks: latency_measure: Disable userspace for benchmarks Disable userspace for benchmarks because it changes the KPI numbers. It will be re-enabled once the required code is in place. Signed-off-by: Adithya Baglody --- tests/benchmarks/latency_measure/prj.conf | 4 ++++ tests/benchmarks/latency_measure/prj_small_freq_divider.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/benchmarks/latency_measure/prj.conf b/tests/benchmarks/latency_measure/prj.conf index 24ff0b5ab66..91eaa6e870d 100644 --- a/tests/benchmarks/latency_measure/prj.conf +++ b/tests/benchmarks/latency_measure/prj.conf @@ -15,3 +15,7 @@ CONFIG_BT=n #CONFIG_OBJECT_TRACING=y #CONFIG_THREAD_MONITOR=y CONFIG_FORCE_NO_ASSERT=y + +#Disable Userspace +CONFIG_TEST_USERSPACE=n +CONFIG_TEST_HW_STACK_PROTECTION=n diff --git a/tests/benchmarks/latency_measure/prj_small_freq_divider.conf b/tests/benchmarks/latency_measure/prj_small_freq_divider.conf index ce72c045bca..ed577e84724 100644 --- a/tests/benchmarks/latency_measure/prj_small_freq_divider.conf +++ b/tests/benchmarks/latency_measure/prj_small_freq_divider.conf @@ -10,3 +10,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=10 # We use irq_offload(), enable it CONFIG_IRQ_OFFLOAD=y CONFIG_FORCE_NO_ASSERT=y + +#Disable Userspace +CONFIG_TEST_USERSPACE=n +CONFIG_TEST_HW_STACK_PROTECTION=n