2013-11-14 05:59:14 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-11-14 05:59:14 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
config FS_PROCFS
|
|
|
|
bool "PROCFS File System"
|
|
|
|
default n
|
|
|
|
---help---
|
2013-12-12 23:21:55 +08:00
|
|
|
The PROCFS file system provides access to task status and other driver
|
|
|
|
status through the NuttX file system. The PROCFS may, for example, be
|
|
|
|
mount at /proc. Then information about all of the currently active
|
|
|
|
tasks and threads will be available in /proc.
|
|
|
|
|
|
|
|
if FS_PROCFS
|
|
|
|
|
2015-12-02 04:56:20 +08:00
|
|
|
config FS_PROCFS_REGISTER
|
|
|
|
bool "Run-time registration"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Support run-time registration of the new entries in the procfs file
|
|
|
|
system.
|
|
|
|
|
2021-06-15 16:45:40 +08:00
|
|
|
config FS_PROCFS_MAX_TASKS
|
2022-07-08 00:01:22 +08:00
|
|
|
int "The maximum number of active tasks for procfs snapshot"
|
2021-06-15 16:45:40 +08:00
|
|
|
default 128
|
|
|
|
---help---
|
2022-07-08 00:01:22 +08:00
|
|
|
The maximum number of active tasks for procfs snapshot.
|
2021-06-15 16:45:40 +08:00
|
|
|
|
2013-12-12 23:21:55 +08:00
|
|
|
menu "Exclude individual procfs entries"
|
|
|
|
|
2017-10-27 03:33:08 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_BLOCKS
|
|
|
|
bool "Exclude fs/blocks information"
|
|
|
|
depends on !DISABLE_MOUNTPOINT
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2017-10-27 03:33:08 +08:00
|
|
|
---help---
|
|
|
|
Causes the fs block usage information to be excluded from the procfs
|
2017-10-28 08:30:18 +08:00
|
|
|
system. This procfs file provides the text output for the NSH 'df'
|
|
|
|
command.
|
2017-10-27 03:33:08 +08:00
|
|
|
|
2023-03-15 20:48:40 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_CPUINFO
|
|
|
|
bool "Exclude cpuinfo procfs"
|
|
|
|
depends on ARCH_HAVE_CPUINFO
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_CPULOAD
|
|
|
|
bool "Exclude CPU load"
|
2023-10-26 21:03:16 +08:00
|
|
|
depends on !SCHED_CPULOAD_NONE
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2017-10-27 03:33:08 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_ENVIRON
|
|
|
|
bool "Exclude environment information"
|
|
|
|
depends on !FS_PROCFS_EXCLUDE_PROCESS
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2017-10-27 03:33:08 +08:00
|
|
|
---help---
|
2023-04-18 02:33:48 +08:00
|
|
|
Causes the environment variable information to be excluded from the
|
|
|
|
procfs system. This will reduce code space slightly.
|
2013-12-15 00:34:08 +08:00
|
|
|
|
2023-05-07 15:13:31 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_FDT
|
|
|
|
bool "Exclude flattened device tree blob"
|
|
|
|
depends on DEVICE_TREE
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
---help---
|
|
|
|
Causes the flatted device tree information to be excluded from the
|
|
|
|
procfs system. This will reduce code space slightly.
|
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_IOBINFO
|
|
|
|
bool "Exclude iobinfo"
|
|
|
|
depends on MM_IOB
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2018-11-09 00:13:45 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_PROCESS
|
|
|
|
bool "Exclude process information"
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2023-04-18 02:33:48 +08:00
|
|
|
---help---
|
|
|
|
Causes the process information to be excluded from the procfs system.
|
|
|
|
This will reduce code space, but then giving access to process info
|
|
|
|
was kinda the whole point of procfs, but hey, whatever.
|
2014-02-23 05:20:12 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_INCLUDE_PROGMEM
|
|
|
|
bool "Include prog mem"
|
|
|
|
depends on ARCH_HAVE_PROGMEM && !FS_PROCFS_EXCLUDE_MEMINFO
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2017-11-14 03:33:12 +08:00
|
|
|
|
2022-01-06 20:44:17 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_MEMDUMP
|
|
|
|
bool "Exclude memdump"
|
2023-04-18 02:33:48 +08:00
|
|
|
depends on !FS_PROCFS_EXCLUDE_MEMINFO
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2022-01-06 20:44:17 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_MEMINFO
|
|
|
|
bool "Exclude meminfo"
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2016-02-07 01:35:30 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_MODULE
|
|
|
|
bool "Exclude module information"
|
|
|
|
depends on MODULE
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
---help---
|
|
|
|
Causes the module information to be excluded from the procfs system.
|
|
|
|
|
|
|
|
config FS_PROCFS_EXCLUDE_MOUNT
|
|
|
|
bool "Exclude fs/mount information"
|
|
|
|
depends on !DISABLE_MOUNTPOINT
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2023-04-18 02:33:48 +08:00
|
|
|
---help---
|
|
|
|
Causes the mount point information to be excluded from the procfs
|
|
|
|
system. This procfs file provides the text output for the NSH 'mount'
|
|
|
|
command.
|
2019-08-17 06:42:25 +08:00
|
|
|
|
2014-02-23 05:20:12 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_MOUNTS
|
|
|
|
bool "Exclude mounts"
|
|
|
|
depends on !DISABLE_MOUNTPOINT
|
2023-04-18 02:33:48 +08:00
|
|
|
default DEFAULT_SMALL
|
2014-02-23 05:20:12 +08:00
|
|
|
|
2015-11-28 02:33:58 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_NET
|
|
|
|
bool "Exclude network"
|
|
|
|
depends on NET
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2015-11-28 02:33:58 +08:00
|
|
|
|
2013-12-12 23:21:55 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_PARTITIONS
|
|
|
|
bool "Exclude partitions"
|
|
|
|
depends on MTD_PARTITION
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2013-12-12 23:21:55 +08:00
|
|
|
|
2017-11-13 23:08:39 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_ROUTE
|
|
|
|
bool "Exclude routing table"
|
|
|
|
depends on !FS_PROCFS_EXCLUDE_NET && NET_ROUTE
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2017-11-13 23:08:39 +08:00
|
|
|
|
2013-12-12 23:21:55 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_SMARTFS
|
|
|
|
bool "Exclude fs/smartfs"
|
|
|
|
depends on FS_SMARTFS
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2013-12-12 23:21:55 +08:00
|
|
|
|
2021-10-14 19:39:44 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_TCBINFO
|
|
|
|
bool "Exclude tcbinfo procfs"
|
2023-07-20 05:28:37 +08:00
|
|
|
depends on ARCH_HAVE_TCBINFO
|
2022-10-16 02:29:20 +08:00
|
|
|
default DEFAULT_SMALL
|
2021-10-14 19:39:44 +08:00
|
|
|
|
2023-04-18 02:33:48 +08:00
|
|
|
config FS_PROCFS_EXCLUDE_UPTIME
|
|
|
|
bool "Exclude uptime"
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
|
|
|
|
config FS_PROCFS_EXCLUDE_USAGE
|
|
|
|
bool "Exclude fs/usage information"
|
|
|
|
depends on !DISABLE_MOUNTPOINT
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
---help---
|
|
|
|
Causes the fs usage information to be excluded from the procfs
|
|
|
|
system. This procfs file provides the text output for the NSH 'df -h'
|
|
|
|
command.
|
|
|
|
|
|
|
|
config FS_PROCFS_EXCLUDE_VERSION
|
|
|
|
bool "Exclude version"
|
|
|
|
default DEFAULT_SMALL
|
|
|
|
|
2019-09-06 23:48:42 +08:00
|
|
|
endmenu # Exclude individual procfs entries
|
2014-07-03 22:50:24 +08:00
|
|
|
endif # FS_PROCFS
|