Files
linux-bredos/include/linux
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
..
2023-03-29 12:26:32 +02:00
2023-06-16 10:08:09 -06:00
2023-06-16 10:08:09 -06:00
2023-05-31 13:06:57 +02:00
2023-05-25 09:26:19 +02:00
2023-04-17 18:01:23 +02:00
2023-04-20 18:20:04 +08:00
2023-03-06 15:49:07 -06:00
2023-03-29 16:00:23 +02:00
2023-03-19 10:02:04 -07:00
2023-06-19 16:19:05 -07:00
2023-03-06 12:33:02 +02:00
2023-03-07 22:04:45 +05:30
2023-03-29 12:26:32 +02:00
2023-06-20 20:17:10 -07:00
2023-05-24 18:08:49 +02:00
2023-03-15 14:58:52 +01:00
2023-06-23 16:59:30 -07:00
2023-06-05 12:26:37 +02:00
2023-06-05 09:36:39 +02:00
2023-06-19 16:19:25 -07:00
2023-04-03 11:16:56 +02:00
2023-06-23 16:59:28 -07:00
2023-03-17 15:00:40 +01:00
2023-05-18 19:52:31 -07:00
2023-06-05 09:36:39 +02:00
2023-06-24 15:50:13 -07:00
2023-03-16 13:08:39 -07:00
2023-03-23 17:25:46 +01:00
2023-03-29 08:19:38 +01:00
2023-04-05 20:03:01 -07:00
2023-04-21 03:02:34 -04:00