Message ID | 20230913061449.1918219-8-thinker.li@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | BPF |
Headers | show |
Series | Registrating struct_ops types from modules | expand |
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 55d76d85c6ec..ae2cd120e426 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -6115,6 +6115,7 @@ bool btf_ctx_access(int off, int size, enum bpf_access_type type, __btf_name_by_offset(btf, t->name_off)); return true; } +EXPORT_SYMBOL_GPL(btf_ctx_access); enum bpf_struct_walk_result { /* < 0 error */
From: Kui-Feng Lee <thinker.li@gmail.com> btf_ctx_access() is needed by module to call bpf_tracing_btf_ctx_access(). --- kernel/bpf/btf.c | 1 + 1 file changed, 1 insertion(+)