Hello, I noticed that bpf_sk_cgroup_id is not available in a tracepoint (it is only available in cgroup related skb filters), even though I can easily do what it does manually: u64 cgroup_id = sk->sk_cgrp_data.cgroup->kn->id; It seems to me that bpf_sk_cgroup_id and similar functions should be added to bpf_base_func_proto (unless there's a better place). I'm happy to send a patch if this makes sense.