2021-12-17 08:20:26 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EVENT_FD
|
|
|
|
bool "EventFD"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Create a file descriptor for event notification
|
|
|
|
|
|
|
|
if EVENT_FD
|
|
|
|
|
|
|
|
config EVENT_FD_POLL
|
|
|
|
bool "EventFD poll support"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Poll support for file descriptor based events
|
|
|
|
|
|
|
|
config EVENT_FD_NPOLLWAITERS
|
|
|
|
int "Number of eventFD poll waiters"
|
|
|
|
default 2
|
|
|
|
depends on EVENT_FD_POLL
|
|
|
|
---help---
|
|
|
|
Maximum number of threads that can be waiting on poll()
|
|
|
|
|
|
|
|
endif # EVENT_FD
|
|
|
|
|
|
|
|
config TIMER_FD
|
|
|
|
bool "TimerFD"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Create a file descriptor for timer notification
|
|
|
|
|
|
|
|
if TIMER_FD
|
|
|
|
|
|
|
|
config TIMER_FD_POLL
|
|
|
|
bool "TimerFD poll support"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Poll support for file descriptor based timers
|
|
|
|
|
|
|
|
config TIMER_FD_NPOLLWAITERS
|
|
|
|
int "Number of timerFD poll waiters"
|
|
|
|
default 2
|
|
|
|
depends on TIMER_FD_POLL
|
|
|
|
---help---
|
|
|
|
Maximum number of threads that can be waiting on poll()
|
|
|
|
|
|
|
|
endif # TIMER_FD
|
2022-10-12 13:10:02 +08:00
|
|
|
|
|
|
|
config SIGNAL_FD
|
|
|
|
bool "SignalFD"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Create a file descriptor for accepting signals
|
|
|
|
|
|
|
|
if SIGNAL_FD
|
|
|
|
|
|
|
|
config SIGNAL_FD_NPOLLWAITERS
|
|
|
|
int "Number of signalFD poll waiters"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Maximum number of threads that can be waiting on poll()
|
|
|
|
|
|
|
|
endif # SIGNAL_FD
|
2024-05-21 12:57:57 +08:00
|
|
|
|
|
|
|
config FS_BACKTRACE
|
|
|
|
int "VFS backtrace"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Add backtrace to vfs file open.
|
|
|
|
|
|
|
|
config FS_BACKTRACE_SKIP
|
|
|
|
int "Backtrace to skip"
|
|
|
|
default 2
|
|
|
|
depends on FS_BACKTRACE > 0
|
|
|
|
---help---
|
|
|
|
Skip depth of backtrace.
|