mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
CONFIG_SCHED_INSTRUMENTATION_SYSCALL should not available if the architecture does not support the required system hook note hooks.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
df2bc1e4c3
commit
ed9532e31f
@@ -284,6 +284,14 @@ config ARCH_GLOBAL_IRQDISABLE
|
|||||||
interrupts as well so that no context switches can occur on the CPU
|
interrupts as well so that no context switches can occur on the CPU
|
||||||
that disabled "local" interrupts.
|
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
|
config ARCH_FPU
|
||||||
bool "FPU support"
|
bool "FPU support"
|
||||||
default y
|
default y
|
||||||
|
|||||||
@@ -975,6 +975,7 @@ config SCHED_INSTRUMENTATION_SPINLOCKS
|
|||||||
config SCHED_INSTRUMENTATION_SYSCALL
|
config SCHED_INSTRUMENTATION_SYSCALL
|
||||||
bool "System call monitor hooks"
|
bool "System call monitor hooks"
|
||||||
default n
|
default n
|
||||||
|
depends on LIB_SYSCALL && ARCH_HAVE_SYSCALL_HOOKS
|
||||||
---help---
|
---help---
|
||||||
Enables additional hooks for entry and exit from system call.
|
Enables additional hooks for entry and exit from system call.
|
||||||
Board-specific logic must provide this additional logic.
|
Board-specific logic must provide this additional logic.
|
||||||
|
|||||||
Reference in New Issue
Block a user