diff options
author | 2023-03-17 13:19:19 -0700 | |
---|---|---|
committer | 2023-03-17 15:46:00 -0700 | |
commit | 5cbd3fe3a91df46ea201cc5d8ab4e390332ec26e (patch) | |
tree | 0731f47023f2105efcca7be36cbacffaf5269d36 /net/core/sock_map.c | |
parent | libbpf: Fix relocation of kfunc ksym in ld_imm64 insn. (diff) | |
download | wireguard-linux-5cbd3fe3a91df46ea201cc5d8ab4e390332ec26e.tar.xz wireguard-linux-5cbd3fe3a91df46ea201cc5d8ab4e390332ec26e.zip |
libbpf: Introduce bpf_ksym_exists() macro.
Introduce bpf_ksym_exists() macro that can be used by BPF programs
to detect at load time whether particular ksym (either variable or kfunc)
is present in the kernel.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230317201920.62030-4-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions