diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-02-28 22:45:22 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-02-29 14:23:53 -0800 |
commit | f2e81192e07e87897ff1296c96775eceea8f582a (patch) | |
tree | 39d67b886bcd562accc2b99f99d9c9c5f85e5855 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.h | |
parent | a7b0fa352eafef95bd0d736ca94965d3f884ad18 (diff) |
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 <thinker.li@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20240229064523.2091270-5-thinker.li@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.h')
0 files changed, 0 insertions, 0 deletions