summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2025-06-06 19:31:36 +0300
committerAndrii Nakryiko <andrii@kernel.org>2025-06-10 02:17:11 +0300
commit9b8367b604c739947ec308874f087fe0eb80f412 (patch)
tree7add11c6c469470387a3e6cf0f852bbba952e57d /tools/include
parente41079f53e8792c99cc8888f545c31bc341ea9ac (diff)
downloadlinux-9b8367b604c739947ec308874f087fe0eb80f412.tar.xz
cgroup: Add bpf prog revisions to struct cgroup_bpf
One of key items in mprog API is revision for prog list. The revision number will be increased if the prog list changed, e.g., attach, detach or replace. Add 'revisions' field to struct cgroup_bpf, representing revisions for all cgroup related attachment types. The initial revision value is set to 1, the same as kernel mprog implementations. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250606163136.2428732-1-yonghong.song@linux.dev
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions