openwrt/target/linux/generic
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
..
backport-5.4 kernel: bump 5.4 to 5.4.82 2020-12-09 17:05:40 +01:00
files kernel: remove an unused callback from the ip17xx switch driver 2020-12-05 12:06:28 +01:00
hack-5.4 kernel: unlock MX25L6406E with 4 bit Block Protect 2020-12-09 08:42:26 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.4 kernel: bump 5.4 to 5.4.85 2020-12-22 19:11:50 +01:00
config-5.4 kernel: only strip proc for small flash devices 2020-12-22 19:11:50 +01:00
config-filter build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00