]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpftool: improve split BTF support'
authorAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 18:17:27 +0000 (10:17 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 18:17:27 +0000 (10:17 -0800)
commit779cffe14bfdfeaeec4c02c30164a5892a070f55
tree9203cdc0ece7dedcbd35572e2f089410c5af882c
parentd16914968aedfbb0cebaad84bb67195fc3f04604
parent13ab0c8d5921e60f4b76183930fc0fbce03bf0f3
Merge branch 'bpftool: improve split BTF support'

Andrii Nakryiko says:

====================

Few follow up improvements to bpftool for split BTF support:
  - emit "name <anon>" for non-named BTFs in `bpftool btf show` command;
  - when dumping /sys/kernel/btf/<module> use /sys/kernel/btf/vmlinux as the
    base BTF, unless base BTF is explicitly specified with -B flag.

This patch set also adds btf__base_btf() getter to access base BTF of the
struct btf.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>