Function report |
Source Code:kernel\bpf\cgroup.c |
Create Date:2022-07-28 13:27:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: number of elements in the list.* it's slow but the list cannot be long
Proto:static u32 prog_list_length(struct list_head *head)
Type:u32
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | head |
94 | cnt = 0 |
97 | If Not prog Then Continue |
99 | cnt++ |
101 | Return cnt |
Name | Describe |
---|---|
hierarchy_allows_attach | parent has non-overridable prog attached,* disallow attaching new programs to the descendent cgroup.* if parent has overridable or multi-prog, allow attaching |
compute_effective_progs | mpute a chain of effective programs for a given cgroup:* start from the list of programs in this cgroup and add* all parent programs.* Note that parent's F_ALLOW_OVERRIDE-type program is yielding* to programs in this cgroup |
__cgroup_bpf_attach | __cgroup_bpf_attach() - Attach the program to a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to attach*@type: Type of attach operation*@flags: Option flags |
__cgroup_bpf_query | Must be called with cgroup_mutex held to avoid races. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |