]> 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)
commit25c2ddeafbc6d542be645e07e8dd142a30676c20
tree9203cdc0ece7dedcbd35572e2f089410c5af882c
parent37002c4e8a724d16f57eea8750e2d79dae0517ab
parenteb9271c8769689df1df3a304e31a5b4d9ab5d578
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>