bpf_sk_cgroup_id is not available in tracepoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux