linux/tools
Kui-Feng Lee f2e81192e0 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
2024-02-29 14:23:53 -08:00
..
accounting
arch
bootconfig
bpf bpftool: Add an example for struct_ops map and shadow type. 2024-02-29 14:23:53 -08:00
build
certs
cgroup
counter
crypto
debugging
edid
firewire
firmware
gpio
hv
iio
include bpf: Replace bpf_lpm_trie_key 0-length array with flexible array 2024-02-29 22:52:43 +01:00
kvm/kvm_stat
laptop
leds
lib libbpf: Convert st_ops->data to shadow type. 2024-02-29 14:23:52 -08:00
memory-model
mm
net/ynl
objtool
pci
pcmcia
perf
power
rcu
scripts
spi
testing bpf: Replace bpf_lpm_trie_key 0-length array with flexible array 2024-02-29 22:52:43 +01:00
thermal
time
tracing
usb
verification
virtio
wmi
workqueue
Makefile