Message ID | 20230706133932.45883-1-aspsk@isovalent.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: add percpu stats for bpf_map | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Thu, 6 Jul 2023 13:39:27 +0000 you wrote: > This series adds a mechanism for maps to populate per-cpu counters on > insertions/deletions. The sum of these counters can be accessed by a new kfunc > from map iterator and tracing programs. > > The following patches are present in the series: > > * Patch 1 adds a generic per-cpu counter to struct bpf_map > * Patch 2 adds a new kfunc to access the sum of per-cpu counters > * Patch 3 utilizes this mechanism for hash-based maps > * Patch 4 extends the preloaded map iterator to dump the sum > * Patch 5 adds a self-test for the change > > [...] Here is the summary with links: - [v5,bpf-next,1/5] bpf: add percpu stats for bpf_map elements insertions/deletions https://git.kernel.org/bpf/bpf-next/c/25954730461a - [v5,bpf-next,2/5] bpf: add a new kfunc to return current bpf_map elements count https://git.kernel.org/bpf/bpf-next/c/803370d3d375 - [v5,bpf-next,3/5] bpf: populate the per-cpu insertions/deletions counters for hashmaps https://git.kernel.org/bpf/bpf-next/c/9bc421b6be95 - [v5,bpf-next,4/5] bpf: make preloaded map iterators to display map elements count https://git.kernel.org/bpf/bpf-next/c/515ee52b2224 - [v5,bpf-next,5/5] selftests/bpf: test map percpu stats https://git.kernel.org/bpf/bpf-next/c/6c1b8cb6a70a You are awesome, thank you!