tests: latency_measure: Remove prj_user.conf
Moves the enablement of userspace from the project configuration file to testcase.yaml. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
parent
d3a3d63afb
commit
070b07efc1
2 changed files with 4 additions and 36 deletions
|
@ -1,33 +0,0 @@
|
|||
CONFIG_TEST=y
|
||||
|
||||
# eliminate timer interrupts during the benchmark
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
|
||||
|
||||
# We use irq_offload(), enable it
|
||||
CONFIG_IRQ_OFFLOAD=y
|
||||
|
||||
# Reduce memory/code footprint
|
||||
CONFIG_BT=n
|
||||
CONFIG_FORCE_NO_ASSERT=y
|
||||
|
||||
CONFIG_TEST_HW_STACK_PROTECTION=n
|
||||
# Disable HW Stack Protection (see #28664)
|
||||
CONFIG_HW_STACK_PROTECTION=n
|
||||
CONFIG_COVERAGE=n
|
||||
|
||||
# Disable system power management
|
||||
CONFIG_PM=n
|
||||
|
||||
# Can only run under 1 CPU
|
||||
CONFIG_MP_MAX_NUM_CPUS=1
|
||||
CONFIG_TIMING_FUNCTIONS=y
|
||||
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
||||
CONFIG_APPLICATION_DEFINED_SYSCALL=y
|
||||
CONFIG_USERSPACE=y
|
||||
|
||||
# Disable time slicing
|
||||
CONFIG_TIMESLICING=n
|
||||
|
||||
# Enable events
|
||||
CONFIG_EVENTS=y
|
|
@ -63,7 +63,8 @@ tests:
|
|||
benchmark.kernel.latency.userspace:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||
timeout: 300
|
||||
extra_args: CONF_FILE=prj_user.conf
|
||||
extra_configs:
|
||||
- CONFIG_USERSPACE=y
|
||||
harness: console
|
||||
integration_platforms:
|
||||
- qemu_x86
|
||||
|
@ -81,12 +82,12 @@ tests:
|
|||
benchmark.kernel.latency.userspace.objcore.stats:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||
timeout: 300
|
||||
extra_args: CONF_FILE=prj_user.conf
|
||||
harness: console
|
||||
integration_platforms:
|
||||
- qemu_x86
|
||||
- qemu_cortex_a53
|
||||
extra_configs:
|
||||
- CONFIG_USERSPACE=y
|
||||
- CONFIG_OBJ_CORE=y
|
||||
- CONFIG_OBJ_CORE_STATS=y
|
||||
harness_config:
|
||||
|
@ -120,12 +121,12 @@ tests:
|
|||
benchmark.kernel.latency.timeslicing.userspace:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||
timeout: 300
|
||||
extra_args: CONF_FILE=prj_user.conf
|
||||
harness: console
|
||||
integration_platforms:
|
||||
- qemu_x86
|
||||
- qemu_cortex_a53
|
||||
extra_configs:
|
||||
- CONFIG_USERSPACE=y
|
||||
- CONFIG_TIMESLICING=y
|
||||
harness_config:
|
||||
type: one_line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue