mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 16:19:06 +08:00
bpf: Handle bpf_link_info for the parameterized task BPF iterators.
Add new fields to bpf_link_info that users can query it through bpf_obj_get_info_by_fd(). Signed-off-by: Kui-Feng Lee <kuifeng@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/bpf/20220926184957.208194-3-kuifeng@fb.com
This commit is contained in:
committed by
Andrii Nakryiko
parent
73c0c44b67
commit
b9e909dd41
@@ -6268,6 +6268,10 @@ struct bpf_link_info {
|
|||||||
__u64 cgroup_id;
|
__u64 cgroup_id;
|
||||||
__u32 order;
|
__u32 order;
|
||||||
} cgroup;
|
} cgroup;
|
||||||
|
struct {
|
||||||
|
__u32 tid;
|
||||||
|
__u32 pid;
|
||||||
|
} task;
|
||||||
};
|
};
|
||||||
} iter;
|
} iter;
|
||||||
struct {
|
struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user