diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-11 23:05:44 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-08-13 15:50:55 -0700 |
| commit | 033506fc06674ecd57f219de5c29f00c06367a36 (patch) | |
| tree | 691a65f0f9b35dbdf46e2e6e32d160d1a42855e1 /tools/perf/scripts/python/bin | |
| parent | 6c034d962bdf8e33e21f117a9f8d514ba773f744 (diff) | |
selftests/bpf: Guarantee zero termination for veristat test buffers
In veristat tests replace direct read() calls with calls to
read_output() utility function, which:
- guarantees that the input buffer is zero terminated;
- asserts that read operation succeeded.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260811-veristat-filter-fix-v2-3-6c234c4cd6ef@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
