aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-11-09 08:21:41 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-11-10 15:56:10 -0800
commit0c19a9fbc9cdba29c7effb34fd5a97226bf934e6 (patch)
treec5eb6df4d8b1e102e9e9f9a4ac1dad116b08a1a9 /usr
parentselftests/bpf: rename flow dissector section to flow_dissector (diff)
downloadlinux-dev-0c19a9fbc9cdba29c7effb34fd5a97226bf934e6.tar.xz
linux-dev-0c19a9fbc9cdba29c7effb34fd5a97226bf934e6.zip
libbpf: cleanup after partial failure in bpf_object__pin
bpftool will use bpf_object__pin in the next commits to pin all programs and maps from the file; in case of a partial failure, we need to get back to the clean state (undo previous program/map pins). As part of a cleanup, I've added and exported separate routines to pin all maps (bpf_object__pin_maps) and progs (bpf_object__pin_programs) of an object. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions