diff options
author | 2022-07-15 16:09:52 -0700 | |
---|---|---|
committer | 2022-07-19 10:01:20 -0700 | |
commit | e134601961fef4516df9413b270fb96ef6d034bc (patch) | |
tree | b5d87e983d21a35d333551afb55391d6dd511ca0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: make RINGBUF map size adjustments more eagerly (diff) | |
download | linux-dev-e134601961fef4516df9413b270fb96ef6d034bc.tar.xz linux-dev-e134601961fef4516df9413b270fb96ef6d034bc.zip |
selftests/bpf: test eager BPF ringbuf size adjustment logic
Add test validating that libbpf adjusts (and reflects adjusted) ringbuf
size early, before bpf_object is loaded. Also make sure we can't
successfully resize ringbuf map after bpf_object is loaded.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220715230952.2219271-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions