1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-19 23:28:29 +02:00
openwrt/target/linux
Nick Hainke 4943bc5cff 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>
2020-12-22 19:11:50 +01:00
..
apm821xx apm821xx: Netgear WNDR4700 limit kernel lzma dictionary 2020-12-22 19:11:50 +01:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2020-12-14 21:38:10 +00:00
at91 kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-10 18:52:15 +02:00
ath79 ath79: expand factory.bin support for some Senao Engenius boards 2020-12-22 19:11:50 +01:00
bcm27xx kernel: bump 5.4 to 5.4.85 2020-12-22 19:11:50 +01:00
bcm47xx kernel: bump 5.4 to 5.4.80 2020-11-26 11:17:55 +01:00
bcm53xx kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
bcm63xx kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
gemini kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
generic kernel: only strip proc for small flash devices 2020-12-22 19:11:50 +01:00
imx6 kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
ipq40xx ipq40xx: add support for Plasma Cloud PA2200 2020-12-22 19:11:50 +01:00
ipq806x ipq806x: add support for ASRock G10 2020-12-22 19:11:50 +01:00
ipq807x kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
kirkwood kirkwood: add support for Seagate BlackArmor NAS220 2020-12-22 19:11:50 +01:00
lantiq kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
layerscape kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
malta kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
mediatek kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
mpc85xx kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
mvebu kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
omap kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
oxnas kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
pistachio kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
ramips ramips: add support for D-Link DIR-882 R1 2020-12-22 19:11:50 +01:00
realtek realtek: use kernel defined halt 2020-12-22 19:11:50 +01:00
rockchip kernel: bump 5.4 to 5.4.85 2020-12-22 19:11:50 +01:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2020-11-12 18:21:17 +01:00
tegra tegra: image: remove unnecessary assumptions from bootscript 2020-12-22 18:59:10 +01:00
uml kernel: bump 5.4 to 5.4.71 2020-10-15 17:46:54 +02:00
x86 x86: enable CONFIG_MMC_SDHCI_ACPI for x86_64 2020-12-03 23:51:07 -10:00
zynq kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00