diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-23 03:22:22 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-06-23 22:04:36 +0000 |
| commit | 5e85c6bb8e74bd9daa4f5815da373d4ac2cb1a35 (patch) | |
| tree | c2dc5eb0f9c839e5bab5ff241e834749d4807dc5 /tools/testing/selftests/bpf/progs/test_autoload.c | |
| parent | bpf: Switch most helper return values from 32-bit int to 64-bit long (diff) | |
| download | kernel-5e85c6bb8e74bd9daa4f5815da373d4ac2cb1a35.tar.gz kernel-5e85c6bb8e74bd9daa4f5815da373d4ac2cb1a35.zip | |
selftests/bpf: Add variable-length data concatenation pattern test
Add selftest that validates variable-length data reading and concatentation
with one big shared data array. This is a common pattern in production use for
monitoring and tracing applications, that potentially can read a lot of data,
but overall read much less. Such pattern allows to determine precisely what
amount of data needs to be sent over perfbuf/ringbuf and maximize efficiency.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions
