aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorKui-Feng Lee <[email protected]>2024-02-29 06:45:22 +0000
committerAndrii Nakryiko <[email protected]>2024-02-29 22:23:53 +0000
commitf2e81192e07e87897ff1296c96775eceea8f582a (patch)
tree39d67b886bcd562accc2b99f99d9c9c5f85e5855 /scripts/bpf_doc.py
parentbpftool: Generated shadow variables for struct_ops maps. (diff)
downloadkernel-f2e81192e07e87897ff1296c96775eceea8f582a.tar.gz
kernel-f2e81192e07e87897ff1296c96775eceea8f582a.zip
bpftool: Add an example for struct_ops map and shadow type.
The example in bpftool-gen.8 explains how to use the pointer of the shadow type to change the value of a field of a struct_ops map. Signed-off-by: Kui-Feng Lee <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions