aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorEelco Chaudron <[email protected]>2020-05-26 09:21:42 +0000
committerAlexei Starovoitov <[email protected]>2020-06-01 21:38:19 +0000
commit272d51af32890632134845ddf35318c11da20c7b (patch)
tree2a0a27eb06b4c0b624d4bf7aa45deb9ffdf57798 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentMAINTAINERS: Adjust entry in XDP SOCKETS to actual file name (diff)
downloadkernel-272d51af32890632134845ddf35318c11da20c7b.tar.gz
kernel-272d51af32890632134845ddf35318c11da20c7b.zip
libbpf: Add API to consume the perf ring buffer content
This new API, perf_buffer__consume, can be used as follows: - When you have a perf ring where wakeup_events is higher than 1, and you have remaining data in the rings you would like to pull out on exit (or maybe based on a timeout). - For low latency cases where you burn a CPU that constantly polls the queues. Signed-off-by: Eelco Chaudron <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/159048487929.89441.7465713173442594608.stgit@ebuild Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions