mirror-linux/include
Anton Protopopov 2595473046 bpf: add percpu stats for bpf_map elements insertions/deletions
Add a generic percpu stats for bpf_map elements insertions/deletions in order
to keep track of both, the current (approximate) number of elements in a map
and per-cpu statistics on update/delete operations.

To expose these stats a particular map implementation should initialize the
counter and adjust it as needed using the 'bpf_map_*_elem_count' helpers
provided by this commit.

Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Link: https://lore.kernel.org/r/20230706133932.45883-2-aspsk@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-07-06 12:42:25 -07:00
..
acpi hardening updates for v6.5-rc1 2023-06-27 21:24:18 -07:00
asm-generic - Arnd Bergmann has fixed a bunch of -Wmissing-prototypes in 2023-06-28 10:59:38 -07:00
clocksource
crypto Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
drm
dt-bindings
keys
kunit
kvm
linux bpf: add percpu stats for bpf_map elements insertions/deletions 2023-07-06 12:42:25 -07:00
math-emu
media
memory
misc
net net: scm: introduce and use scm_recv_unix helper 2023-06-27 10:50:22 -07:00
pcmcia
ras
rdma
rv
scsi
soc clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user 2023-06-23 09:33:43 +02:00
sound
target
trace - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
uapi Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
ufs
vdso
video
xen x86: xen: add missing prototypes 2023-06-26 07:47:11 +02:00