Skip to content

Commit 982636a

Browse files
daichifukuixiaoxiang781216
authored andcommitted
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 <[email protected]>
1 parent 3962909 commit 982636a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/osperf/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
config BENCHMARK_OSPERF
77
tristate "System performance profiling"
88
default n
9+
depends on PIPES
10+
depends on SCHED_HPWORK
911
---help---
1012
Measure the performance of core system functions, such as thread
1113
switching and the time required for semaphore execution

0 commit comments

Comments
 (0)