openwrt/target/linux
Nick Hainke a56d27acae kernel: only strip proc for small flash devices
Currently, you are not able to get statistics about IPv4 and IPv6
usage. This information can be collected via the snmp and snmp6.
However, in the current state this interface is disabled as you can
read in the "902-debloat_proc.patch":
 "Strip non-essential /proc functionality to reduce code size"

Tools like netstat use the snmp/6 interface to collect interface
statistics. Some prometheus exporters also mention this:
- prometheus-collectors/netstat.lua
- prometheus-collectors/snmp6 (still a PR)
- collectd/snmp6 (still a PR)

PRs:
- https://github.com/collectd/collectd/pull/3789
- https://github.com/openwrt/packages/pull/14158

Instead of enabling it as default for all devices we condition it
 default y if SMALL_FLASH

A test shows it needs around 16 kiB.

Signed-off-by: Nick Hainke <vincent@systemli.org>
[fixed whitespace issue]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:23 +00:00
..
apm821xx apm821xx: Netgear WNDR4700 limit kernel lzma dictionary 2021-09-01 08:07:23 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2021-09-01 08:07:21 +00:00
at91 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: expand factory.bin support for some Senao Engenius boards 2021-09-01 08:07:23 +00:00
bcm27xx kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
bcm47xx kernel: bump 5.4 to 5.4.80 2021-09-01 08:07:15 +00:00
bcm53xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
bcm63xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: only strip proc for small flash devices 2021-09-01 08:07:23 +00:00
imx6 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ipq40xx ipq40xx: add support for Plasma Cloud PA2200 2021-09-01 08:07:23 +00:00
ipq806x ipq806x: add support for ASRock G10 2021-09-01 08:07:23 +00:00
ipq807x kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
kirkwood kirkwood: add support for Seagate BlackArmor NAS220 2021-09-01 08:07:23 +00:00
lantiq kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
layerscape kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mpc85xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mvebu kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mxs treewide: make dependency on kmod-usb-net selective 2021-09-01 08:06:49 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
oxnas kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
pistachio kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ramips ramips: add support for D-Link DIR-882 R1 2021-09-01 08:07:23 +00:00
realtek realtek: use kernel defined halt 2021-09-01 08:07:23 +00:00
rockchip kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2021-09-01 08:07:11 +00:00
tegra tegra: image: remove unnecessary assumptions from bootscript 2021-09-01 08:07:22 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: enable CONFIG_MMC_SDHCI_ACPI for x86_64 2021-09-01 08:07:16 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00