From 982636ac4a42ee963292d9c1fa6da99379500684 Mon Sep 17 00:00:00 2001 From: Fukui Daichi Date: Fri, 30 Aug 2024 07:31:17 +0000 Subject: [PATCH] benchmark: Build osperf only when pipes and hpwork are enabled Building osperf requires pipes and hpwork, which are disabled by default. These features should be enabled before osperf is built. The select directive could cause issues and should be avoided, so we use the depends on directive. Signed-off-by: Fukui Daichi --- benchmarks/osperf/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/osperf/Kconfig b/benchmarks/osperf/Kconfig index 40cf21d84..da03babd0 100644 --- a/benchmarks/osperf/Kconfig +++ b/benchmarks/osperf/Kconfig @@ -6,6 +6,8 @@ config BENCHMARK_OSPERF tristate "System performance profiling" default n + depends on PIPES + depends on SCHED_HPWORK ---help--- Measure the performance of core system functions, such as thread switching and the time required for semaphore execution