diff options
| author | Stanislav Fomichev <[email protected]> | 2018-11-09 08:21:41 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-11-10 15:56:10 -0800 |
| commit | 0c19a9fbc9cdba29c7effb34fd5a97226bf934e6 (patch) | |
| tree | c5eb6df4d8b1e102e9e9f9a4ac1dad116b08a1a9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 108d50a976db70c59e6f2fc58d3252fd38ef3fc4 (diff) | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions