diff options
| author | Weiming Shi <bestswngs@gmail.com> | 2026-04-03 21:29:51 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-05 18:45:05 -0700 |
| commit | 262b857da6bee528420514690895ed7d2c65077e (patch) | |
| tree | 315465f33f330ac4aa8ef2009651b978dccbb505 /tools/perf/scripts/python | |
| parent | 5828b9e5b272ecff7cf5d345128d3de7324117f7 (diff) | |
selftests/bpf: add get_next_key boundary test for cgroup_storage
Verify that bpf_map__get_next_key() correctly returns -ENOENT when
called on the last (and only) key in a cgroup_storage map. Before the
fix in the previous patch, this would succeed with bogus key data
instead of failing.
Suggested-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Weiming Shi <bestswngs@gmail.com>
Acked-by: Paul Chaignon <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/20260403132951.43533-3-bestswngs@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
