Skip to content

Commit

Permalink
benchmark: Build osperf only when pipes and hpwork are enabled
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
daichifukui authored and xiaoxiang781216 committed Sep 5, 2024
1 parent 3962909 commit 982636a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchmarks/osperf/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 982636a

Please sign in to comment.