diff options
| author | Eduard Zingerman <[email protected]> | 2024-03-06 10:45:25 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-03-06 23:18:16 +0000 |
| commit | 5ad0ecbe056a4ea5ffaa73e58503a2f87b119a59 (patch) | |
| tree | 0ec07c636e02a90443c866021c0ebfa1e457c9ef /tools/testing/selftests/bpf/prog_tests/struct_ops_autocreate.c | |
| parent | libbpf: Replace elf_state->st_ops_* fields with SEC_ST_OPS sec_type (diff) | |
| download | kernel-5ad0ecbe056a4ea5ffaa73e58503a2f87b119a59.tar.gz kernel-5ad0ecbe056a4ea5ffaa73e58503a2f87b119a59.zip | |
libbpf: Struct_ops in SEC("?.struct_ops") / SEC("?.struct_ops.link")
Allow using two new section names for struct_ops maps:
- SEC("?.struct_ops")
- SEC("?.struct_ops.link")
To specify maps that have bpf_map->autocreate == false after open.
Signed-off-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/struct_ops_autocreate.c')
0 files changed, 0 insertions, 0 deletions
