mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-25 18:59:06 +08:00
libbpf: Support exclusive map creation
Implement setters and getters that allow map to be registered as exclusive to the specified program. The registration should be done before the exclusive program is loaded. Signed-off-by: KP Singh <kpsingh@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20250914215141.15144-5-kpsingh@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
1202ada5c1
commit
59ed98f687
@@ -448,4 +448,7 @@ LIBBPF_1.6.0 {
|
||||
} LIBBPF_1.5.0;
|
||||
|
||||
LIBBPF_1.7.0 {
|
||||
global:
|
||||
bpf_map__set_exclusive_program;
|
||||
bpf_map__exclusive_program;
|
||||
} LIBBPF_1.6.0;
|
||||
|
||||
Reference in New Issue
Block a user