commit | 928ca75e59d7cf10ad2c4b446c7b5d046e244027 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Fri Oct 04 15:40:37 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Oct 05 18:09:48 2019 -0700 |
tree | 12d5c147cb01dc2420a2efbcc5561c2923185e06 | |
parent | c9e4c3010c8c98aa867fce386ee459a32c00a487 [diff] |
selftests/bpf: switch tests to new bpf_object__open_{file, mem}() APIs Verify new bpf_object__open_mem() and bpf_object__open_file() APIs work as expected by switching test_attach_probe test to use embedded BPF object and bpf_object__open_mem() and test_reference_tracking to bpf_object__open_file(). Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>