OSDN Git Service

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)
commit0d1e02695979bdf5fb08425cd823d6e906e09378
tree9203cdc0ece7dedcbd35572e2f089410c5af882c
parent97306be45fbe7a02461c3c2a57e666cf662b1aaf
parentfa4528379a51ff8d5271e1bcfa0d5ef71657869f
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>