Function report |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-28 13:13:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_cgroup_storage_key_cmp
Proto:static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_key *key1, const struct bpf_cgroup_storage_key *key2)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct bpf_cgroup_storage_key * | key1 | |
const struct bpf_cgroup_storage_key * | key2 |
37 | If cgroup inode id < cgroup inode id Then Return -1 |
39 | Else if cgroup inode id > cgroup inode id Then Return 1 |
41 | Else if program attach type < program attach type Then Return -1 |
43 | Else if program attach type > program attach type Then Return 1 |
45 | Return 0 |
Name | Describe |
---|---|
cgroup_storage_lookup | |
cgroup_storage_insert |
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 |