[PATCH bpf-next v5 05/12] selftests: bpf: add tests for dead code removal

2019-01-22 Thread Jakub Kicinski
Add tests for newly added dead code elimination. Both verifier and BTF tests are added. BTF test infrastructure has to be extended to be able to account for line info which is eliminated during dead code removal. Signed-off-by: Jakub Kicinski Acked-by: Yonghong Song --- tools/testing/selftest

[PATCH bpf-next v5 05/12] selftests: bpf: add tests for dead code removal

2019-01-19 Thread Jakub Kicinski
Add tests for newly added dead code elimination. Both verifier and BTF tests are added. BTF test infrastructure has to be extended to be able to account for line info which is eliminated during dead code removal. Signed-off-by: Jakub Kicinski Acked-by: Yonghong Song --- tools/testing/selftest