Re: [PATCH v3 bpf-next 2/4] selftests/bpf: add benchmark runner infrastructure

2020-05-12 Thread Yonghong Song
On 5/12/20 12:24 PM, Andrii Nakryiko wrote: While working on BPF ringbuf implementation, testing, and benchmarking, I've developed a pretty generic and modular benchmark runner, which seems to be generically useful, as I've already used it for one more purpose (testing fastest way to trigger B

[PATCH v3 bpf-next 2/4] selftests/bpf: add benchmark runner infrastructure

2020-05-12 Thread Andrii Nakryiko
While working on BPF ringbuf implementation, testing, and benchmarking, I've developed a pretty generic and modular benchmark runner, which seems to be generically useful, as I've already used it for one more purpose (testing fastest way to trigger BPF program, to minimize overhead of in-kernel cod