OpenCloudOS-Kernel/tools/lib/bpf
Daniel Borkmann d655490417 bpf: allow to specify log level and reduce it for test_verifier
For the test_verifier case, it's quite hard to parse log level 2 to
figure out what's causing an issue when used to log level 1. We do
want to use bpf_verify_program() in order to simulate some of the
tests with strict alignment. So just add an argument to pass the level
and put it to 1 for test_verifier.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-20 15:20:27 -07:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
Build bpf tools: Add bpf.c/h for common bpf operations 2015-08-07 10:16:58 -03:00
Makefile scripts/spelling.txt: add "overide" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
bpf.c bpf: allow to specify log level and reduce it for test_verifier 2017-07-20 15:20:27 -07:00
bpf.h bpf: allow to specify log level and reduce it for test_verifier 2017-07-20 15:20:27 -07:00
libbpf.c tools/lib/bpf: expose bpf_program__set_type() 2017-04-01 12:45:57 -07:00
libbpf.h tools/lib/bpf: expose bpf_program__set_type() 2017-04-01 12:45:57 -07:00