diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-08 00:03:27 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-08 00:03:27 +0000 |
commit | 757e1068624ce6e86a08458bfc0da959b50df521 (patch) | |
tree | 1c240a98c2896c94781ea4ff487379b18a894e09 /docs/bpftool-feature.rst | |
parent | 02d04222256d8977954746eb334d91efb16fca9f (diff) | |
parent | f2c1cc94de204b9459eb4f108a27fb9e04c2fb08 (diff) | |
download | bpftool-757e1068624ce6e86a08458bfc0da959b50df521.tar.gz |
Snap for 11066218 from f2c1cc94de204b9459eb4f108a27fb9e04c2fb08 to sdk-release
Change-Id: I48e984c1dbf1f05a269c9049715112fa0e495acc
Diffstat (limited to 'docs/bpftool-feature.rst')
-rw-r--r-- | docs/bpftool-feature.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/bpftool-feature.rst b/docs/bpftool-feature.rst index 4ce9a77..e44039f 100644 --- a/docs/bpftool-feature.rst +++ b/docs/bpftool-feature.rst @@ -24,9 +24,11 @@ FEATURE COMMANDS ================ | **bpftool** **feature probe** [*COMPONENT*] [**full**] [**unprivileged**] [**macros** [**prefix** *PREFIX*]] +| **bpftool** **feature list_builtins** *GROUP* | **bpftool** **feature help** | | *COMPONENT* := { **kernel** | **dev** *NAME* } +| *GROUP* := { **prog_types** | **map_types** | **attach_types** | **link_types** | **helpers** } DESCRIPTION =========== @@ -70,6 +72,16 @@ DESCRIPTION The keywords **full**, **macros** and **prefix** have the same role as when probing the kernel. + **bpftool feature list_builtins** *GROUP* + List items known to bpftool. These can be BPF program types + (**prog_types**), BPF map types (**map_types**), attach types + (**attach_types**), link types (**link_types**), or BPF helper + functions (**helpers**). The command does not probe the system, but + simply lists the elements that bpftool knows from compilation time, + as provided from libbpf (for all object types) or from the BPF UAPI + header (list of helpers). This can be used in scripts to iterate over + BPF types or helpers. + **bpftool feature help** Print short help message. |