Centos-kernel-stream-9/tools/bpf/bpftool/Documentation
Jerome Marchand 6bb9c2053e bpftool: Add support for subskeletons
Bugzilla: https://bugzilla.redhat.com/2120966

commit 00389c58ffe993782a8ba4bb5a34a102b1f6fe24
Author: Delyan Kratunov <delyank@fb.com>
Date:   Wed Mar 16 23:37:28 2022 +0000

    bpftool: Add support for subskeletons

    Subskeletons are headers which require an already loaded program to
    operate.

    For example, when a BPF library is linked into a larger BPF object file,
    the library userspace needs a way to access its own global variables
    without requiring knowledge about the larger program at build time.

    As a result, subskeletons require a loaded bpf_object to open().
    Further, they find their own symbols in the larger program by
    walking BTF type data at run time.

    At this time, programs, maps, and globals are supported through
    non-owning pointers.

    Signed-off-by: Delyan Kratunov <delyank@fb.com>
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/ca8a48b4841c72d285ecce82371bef4a899756cb.1647473511.git.delyank@fb.com

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-10-25 14:58:05 +02:00
..
Makefile bpftool: Add SPDX tags to RST documentation files 2022-08-24 12:53:37 +02:00
bpftool-btf.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-cgroup.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-feature.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-gen.rst bpftool: Add support for subskeletons 2022-10-25 14:58:05 +02:00
bpftool-iter.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-link.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-map.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-net.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-perf.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-prog.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool-struct_ops.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00
bpftool.rst bpftool: man: Add missing top level docs 2022-10-25 14:58:03 +02:00
common_options.rst bpftool: Add libbpf's version number to "bpftool version" output 2022-10-25 14:57:49 +02:00
substitutions.rst bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py 2022-08-24 12:53:37 +02:00