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 <a.dog.will.talk@akane.waseda.jp>
This commit is contained in:
parent
396290962f
commit
982636ac4a
@ -6,6 +6,8 @@
|
|||||||
config BENCHMARK_OSPERF
|
config BENCHMARK_OSPERF
|
||||||
tristate "System performance profiling"
|
tristate "System performance profiling"
|
||||||
default n
|
default n
|
||||||
|
depends on PIPES
|
||||||
|
depends on SCHED_HPWORK
|
||||||
---help---
|
---help---
|
||||||
Measure the performance of core system functions, such as thread
|
Measure the performance of core system functions, such as thread
|
||||||
switching and the time required for semaphore execution
|
switching and the time required for semaphore execution
|
||||||
|
Loading…
Reference in New Issue
Block a user