diff options
| author | Stanislav Fomichev <sdf@google.com> | 2018-11-09 19:21:41 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-11 02:56:10 +0300 |
| commit | 0c19a9fbc9cdba29c7effb34fd5a97226bf934e6 (patch) | |
| tree | c5eb6df4d8b1e102e9e9f9a4ac1dad116b08a1a9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 108d50a976db70c59e6f2fc58d3252fd38ef3fc4 (diff) | |
| download | linux-0c19a9fbc9cdba29c7effb34fd5a97226bf934e6.tar.xz | |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
