OSDN Git Service

bpftool: Update doc to explain struct_ops register subcommand.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 20 Apr 2023 00:28:22 +0000 (17:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 21 Apr 2023 18:10:10 +0000 (11:10 -0700)
commit45cea721ea36d83969473d2abd29bcc2321cacdd
tree12fa0e18e09ac92e1122d2c034bcf3106adcfc1f
parent0232b788978652571c4f4e57dc26ff8e4837926a
bpftool: Update doc to explain struct_ops register subcommand.

The "struct_ops register" subcommand now allows for an optional *LINK_DIR*
to be included. This specifies the directory path where bpftool will pin
struct_ops links with the same name as their corresponding map names.

Signed-off-by: Kui-Feng Lee <kuifeng@meta.com>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/r/20230420002822.345222-2-kuifeng@meta.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/bpf/bpftool/Documentation/bpftool-struct_ops.rst