diff options
| author | 2021-11-07 08:55:18 -0800 | |
|---|---|---|
| committer | 2021-11-07 09:14:15 -0800 | |
| commit | f79587520a6007a3734b23a3c2eb4c62aa457533 (patch) | |
| tree | 16da27ea76eba2c951a1640640d4be36ac7fb110 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | selftests/bpf: Free inner strings index in btf selftest (diff) | |
| download | linux-dev-f79587520a6007a3734b23a3c2eb4c62aa457533.tar.xz linux-dev-f79587520a6007a3734b23a3c2eb4c62aa457533.zip | |
selftests/bpf: Clean up btf and btf_dump in dump_datasec test
Free up used resources at the end and on error. Also make it more
obvious that there is btf__parse() call that creates struct btf
instance.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com>
Link: https://lore.kernel.org/bpf/20211107165521.9240-7-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
