diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-03-17 17:29:51 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-19 11:37:13 -0700 |
| commit | 9492450fd28736262dea9143ebb3afc2c131ace1 (patch) | |
| tree | 07a9b38eabf57272779788e72d9c5c8665ab6d62 /tools/perf/scripts/python | |
| parent | bpf: Factor out fd returning from bpf_btf_find_by_name_kind (diff) | |
| download | linux-9492450fd28736262dea9143ebb3afc2c131ace1.tar.gz linux-9492450fd28736262dea9143ebb3afc2c131ace1.zip | |
bpf: Always raise reference in btf_get_module_btf
Align it with helpers like bpf_find_btf_id, so all functions returning
BTF in out parameter follow the same rule of raising reference
consistently, regardless of module or vmlinux BTF.
Adjust existing callers to handle the change accordinly.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220317115957.3193097-10-memxor@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
