On 1/19/24 2:50 PM, thinker.li@xxxxxxxxx wrote:
@@ -1792,6 +1799,12 @@ static inline int bpf_trampoline_link_cgroup_shim(struct bpf_prog *prog, static inline void bpf_trampoline_unlink_cgroup_shim(struct bpf_prog *prog) { } +static inline int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc, + struct btf *btf, + struct bpf_verifier_log *log) { + return -EOPNOTSUPP; +} +
This part still does not look right. It is under the "#if defined(CONFIG_CGROUP_BPF)...".
No need to resend for now. I will try to adjust it unless I found other issues. Thanks.