Message ID | 20240229064523.2091270-1-thinker.li@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Create shadow types for struct_ops maps in skeletons | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@kernel.org>: On Wed, 28 Feb 2024 22:45:18 -0800 you wrote: > This patchset allows skeleton users to change the values of the fields > in struct_ops maps at runtime. It will create a shadow type pointer in > a skeleton for each struct_ops map, allowing users to access the > values of fields through these pointers. For instance, if there is an > integer field named "FOO" in a struct_ops map called "testmap", you > can access the value of "FOO" in this way. > > [...] Here is the summary with links: - [bpf-next,v6,1/5] libbpf: set btf_value_type_id of struct bpf_map for struct_ops. https://git.kernel.org/bpf/bpf-next/c/3644d285462a - [bpf-next,v6,2/5] libbpf: Convert st_ops->data to shadow type. https://git.kernel.org/bpf/bpf-next/c/69e4a9d2b3f5 - [bpf-next,v6,3/5] bpftool: generated shadow variables for struct_ops maps. https://git.kernel.org/bpf/bpf-next/c/a7b0fa352eaf - [bpf-next,v6,4/5] bpftool: Add an example for struct_ops map and shadow type. https://git.kernel.org/bpf/bpf-next/c/f2e81192e07e - [bpf-next,v6,5/5] selftests/bpf: Test if shadow types work correctly. https://git.kernel.org/bpf/bpf-next/c/0623e7331794 You are awesome, thank you!