Message ID | 1729737768-124596-2-git-send-email-alibuda@linux.alibaba.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | net/smc: Introduce smc_bpf_ops | expand |
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 75e4fe8..315e49b 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -567,6 +567,7 @@ s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind) return -ENOENT; } +EXPORT_SYMBOL_GPL(btf_find_by_name_kind); s32 bpf_find_btf_id(const char *name, u32 kind, struct btf **btf_p) { @@ -789,6 +790,7 @@ const char *btf_str_by_offset(const struct btf *btf, u32 offset) return NULL; } +EXPORT_SYMBOL_GPL(btf_str_by_offset); static bool btf_name_valid_identifier(const struct btf *btf, u32 offset) {