CONFIG_SCHED_INSTRUMENTATION_SYSCALL should not available if the architecture does not support the required system hook note hooks.
This commit is contained in:
parent
df2bc1e4c3
commit
ed9532e31f
2 changed files with 9 additions and 0 deletions
|
@ -284,6 +284,14 @@ config ARCH_GLOBAL_IRQDISABLE
|
|||
interrupts as well so that no context switches can occur on the CPU
|
||||
that disabled "local" interrupts.
|
||||
|
||||
config ARCH_HAVE_SYSCALL_HOOKS
|
||||
bool
|
||||
default n
|
||||
---help---
|
||||
Indicates that the architecture supports the system call hooks as
|
||||
required if CONFIG_SCHED_INSTRUMENTATION_SYSCALL is enabled. Refer
|
||||
to sched/Kconfig for additional information.
|
||||
|
||||
config ARCH_FPU
|
||||
bool "FPU support"
|
||||
default y
|
||||
|
|
|
@ -975,6 +975,7 @@ config SCHED_INSTRUMENTATION_SPINLOCKS
|
|||
config SCHED_INSTRUMENTATION_SYSCALL
|
||||
bool "System call monitor hooks"
|
||||
default n
|
||||
depends on LIB_SYSCALL && ARCH_HAVE_SYSCALL_HOOKS
|
||||
---help---
|
||||
Enables additional hooks for entry and exit from system call.
|
||||
Board-specific logic must provide this additional logic.
|
||||
|
|
Loading…
Reference in a new issue