mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
btf_unit_test: Load BPF-object file btf_unit_test_bpf.o
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
@ -128,5 +128,10 @@ int main(int argc, char **argv)
|
|||||||
return EXIT_FAIL_BTF;
|
return EXIT_FAIL_BTF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bpf_obj = load_bpf_object("btf_unit_test_bpf.o");
|
||||||
|
if (!bpf_obj)
|
||||||
|
return EXIT_FAIL_BPF;
|
||||||
|
|
||||||
|
|
||||||
return EXIT_OK;
|
return EXIT_OK;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user