diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-05-14 03:36:18 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-05-19 01:40:56 +0300 |
commit | 7723256bf2443d6bd7db3e583953d14107955233 (patch) | |
tree | b650411ac6e6ac55547b4816a96955a4759b29b1 /tools/bpf/bpftool/Makefile | |
parent | 30f51aedabda92b74927979b2b3b50169e285f6b (diff) | |
download | linux-7723256bf2443d6bd7db3e583953d14107955233.tar.xz |
libbpf: Introduce bpf_map__initial_value().
Introduce bpf_map__initial_value() to read initial contents
of mmaped data/rodata/bss maps.
Note that bpf_map__set_initial_value() doesn't allow modifying
kconfig map while bpf_map__initial_value() allows reading
its values.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-17-alexei.starovoitov@gmail.com
Diffstat (limited to 'tools/bpf/bpftool/Makefile')
0 files changed, 0 insertions, 0 deletions