diff options
author | Stanislav Fomichev <sdf@google.com> | 2018-11-09 08:21:41 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-10 15:56:10 -0800 |
commit | 0c19a9fbc9cdba29c7effb34fd5a97226bf934e6 (patch) | |
tree | c5eb6df4d8b1e102e9e9f9a4ac1dad116b08a1a9 /tools/bpf/bpftool/bash-completion | |
parent | 108d50a976db70c59e6f2fc58d3252fd38ef3fc4 (diff) | |
download | linux-0c19a9fbc9cdba29c7effb34fd5a97226bf934e6.tar.bz2 |
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 'tools/bpf/bpftool/bash-completion')
0 files changed, 0 insertions, 0 deletions