fs/procfs: Change FS_PROCFS_EXCLUDE_xxx default value to DEFAULT_SMALL

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-16 02:29:20 +08:00
committed by Masayuki Ishikawa
parent 36c05601df
commit b9a4bedc7f
3 changed files with 21 additions and 21 deletions
+19 -19
View File
@@ -31,7 +31,7 @@ menu "Exclude individual procfs entries"
config FS_PROCFS_EXCLUDE_PROCESS config FS_PROCFS_EXCLUDE_PROCESS
bool "Exclude process information" bool "Exclude process information"
default n default DEFAULT_SMALL
---help--- ---help---
Causes the process information to be excluded from the procfs system. Causes the process information to be excluded from the procfs system.
This will reduce code space, but then giving access to process info This will reduce code space, but then giving access to process info
@@ -39,7 +39,7 @@ config FS_PROCFS_EXCLUDE_PROCESS
config FS_PROCFS_EXCLUDE_ENVIRON config FS_PROCFS_EXCLUDE_ENVIRON
bool "Exclude environment information" bool "Exclude environment information"
default y default DEFAULT_SMALL
depends on !FS_PROCFS_EXCLUDE_PROCESS depends on !FS_PROCFS_EXCLUDE_PROCESS
---help--- ---help---
Causes the environment variable information to be excluded from the Causes the environment variable information to be excluded from the
@@ -48,14 +48,14 @@ config FS_PROCFS_EXCLUDE_ENVIRON
config FS_PROCFS_EXCLUDE_MODULE config FS_PROCFS_EXCLUDE_MODULE
bool "Exclude module information" bool "Exclude module information"
depends on MODULE depends on MODULE
default n default DEFAULT_SMALL
---help--- ---help---
Causes the module information to be excluded from the procfs system. Causes the module information to be excluded from the procfs system.
config FS_PROCFS_EXCLUDE_BLOCKS config FS_PROCFS_EXCLUDE_BLOCKS
bool "Exclude fs/blocks information" bool "Exclude fs/blocks information"
depends on !DISABLE_MOUNTPOINT depends on !DISABLE_MOUNTPOINT
default n default DEFAULT_SMALL
---help--- ---help---
Causes the fs block usage information to be excluded from the procfs Causes the fs block usage information to be excluded from the procfs
system. This procfs file provides the text output for the NSH 'df' system. This procfs file provides the text output for the NSH 'df'
@@ -64,7 +64,7 @@ config FS_PROCFS_EXCLUDE_BLOCKS
config FS_PROCFS_EXCLUDE_MOUNT config FS_PROCFS_EXCLUDE_MOUNT
bool "Exclude fs/mount information" bool "Exclude fs/mount information"
depends on !DISABLE_MOUNTPOINT depends on !DISABLE_MOUNTPOINT
default n default DEFAULT_SMALL
---help--- ---help---
Causes the mount point information to be excluded from the procfs Causes the mount point information to be excluded from the procfs
system. This procfs file provides the text output for the NSH 'mount' system. This procfs file provides the text output for the NSH 'mount'
@@ -73,7 +73,7 @@ config FS_PROCFS_EXCLUDE_MOUNT
config FS_PROCFS_EXCLUDE_USAGE config FS_PROCFS_EXCLUDE_USAGE
bool "Exclude fs/usage information" bool "Exclude fs/usage information"
depends on !DISABLE_MOUNTPOINT depends on !DISABLE_MOUNTPOINT
default n default DEFAULT_SMALL
---help--- ---help---
Causes the fs usage information to be excluded from the procfs Causes the fs usage information to be excluded from the procfs
system. This procfs file provides the text output for the NSH 'df -h' system. This procfs file provides the text output for the NSH 'df -h'
@@ -81,64 +81,64 @@ config FS_PROCFS_EXCLUDE_USAGE
config FS_PROCFS_EXCLUDE_UPTIME config FS_PROCFS_EXCLUDE_UPTIME
bool "Exclude uptime" bool "Exclude uptime"
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_VERSION config FS_PROCFS_EXCLUDE_VERSION
bool "Exclude version" bool "Exclude version"
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_CPULOAD config FS_PROCFS_EXCLUDE_CPULOAD
bool "Exclude CPU load" bool "Exclude CPU load"
default n default DEFAULT_SMALL
depends on SCHED_CPULOAD depends on SCHED_CPULOAD
config FS_PROCFS_EXCLUDE_MEMINFO config FS_PROCFS_EXCLUDE_MEMINFO
bool "Exclude meminfo" bool "Exclude meminfo"
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_MEMDUMP config FS_PROCFS_EXCLUDE_MEMDUMP
bool "Exclude memdump" bool "Exclude memdump"
default n default DEFAULT_SMALL
config FS_PROCFS_INCLUDE_PROGMEM config FS_PROCFS_INCLUDE_PROGMEM
bool "Include prog mem" bool "Include prog mem"
default n default DEFAULT_SMALL
depends on ARCH_HAVE_PROGMEM && !FS_PROCFS_EXCLUDE_MEMINFO depends on ARCH_HAVE_PROGMEM && !FS_PROCFS_EXCLUDE_MEMINFO
config FS_PROCFS_EXCLUDE_IOBINFO config FS_PROCFS_EXCLUDE_IOBINFO
bool "Exclude iobinfo" bool "Exclude iobinfo"
depends on MM_IOB depends on MM_IOB
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_MOUNTS config FS_PROCFS_EXCLUDE_MOUNTS
bool "Exclude mounts" bool "Exclude mounts"
default n default DEFAULT_SMALL
depends on !DISABLE_MOUNTPOINT depends on !DISABLE_MOUNTPOINT
config FS_PROCFS_EXCLUDE_NET config FS_PROCFS_EXCLUDE_NET
bool "Exclude network" bool "Exclude network"
depends on NET depends on NET
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_PARTITIONS config FS_PROCFS_EXCLUDE_PARTITIONS
bool "Exclude partitions" bool "Exclude partitions"
depends on MTD_PARTITION depends on MTD_PARTITION
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_ROUTE config FS_PROCFS_EXCLUDE_ROUTE
bool "Exclude routing table" bool "Exclude routing table"
depends on !FS_PROCFS_EXCLUDE_NET && NET_ROUTE depends on !FS_PROCFS_EXCLUDE_NET && NET_ROUTE
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_SMARTFS config FS_PROCFS_EXCLUDE_SMARTFS
bool "Exclude fs/smartfs" bool "Exclude fs/smartfs"
depends on FS_SMARTFS depends on FS_SMARTFS
default n default DEFAULT_SMALL
config FS_PROCFS_EXCLUDE_TCBINFO config FS_PROCFS_EXCLUDE_TCBINFO
bool "Exclude tcbinfo procfs" bool "Exclude tcbinfo procfs"
depends on DEBUG_TCBINFO depends on DEBUG_TCBINFO
default n default DEFAULT_SMALL
endmenu # Exclude individual procfs entries endmenu # Exclude individual procfs entries
endif # FS_PROCFS endif # FS_PROCFS
+1 -1
View File
@@ -48,7 +48,7 @@
#include <arch/irq.h> #include <arch/irq.h>
#include "smartfs.h" #include "smartfs.h"
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_EXCLUDE_SMARTFS) #if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_SMARTFS)
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
+1 -1
View File
@@ -180,7 +180,7 @@ config MM_MEMPOOL
config FS_PROCFS_EXCLUDE_MEMPOOL config FS_PROCFS_EXCLUDE_MEMPOOL
bool "Exclude mempool" bool "Exclude mempool"
default n default DEFAULT_SMALL
depends on FS_PROCFS depends on FS_PROCFS
config MM_KASAN config MM_KASAN