diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-06-22 20:22:22 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-06-24 00:04:36 +0200 |
commit | 5e85c6bb8e74bd9daa4f5815da373d4ac2cb1a35 (patch) | |
tree | c2dc5eb0f9c839e5bab5ff241e834749d4807dc5 /arch/sh | |
parent | bdb7b79b4ce864a724250e1d35948c46f135de36 (diff) |
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 <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200623032224.4020118-2-andriin@fb.com
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions