Function report |
Source Code:kernel\taskstats.c |
Create Date:2022-07-28 11:49:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:taskstats_pre_doit
Proto:static int taskstats_pre_doit(const struct genl_ops *ops, struct sk_buff *skb, struct genl_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct genl_ops * | ops | |
| struct sk_buff * | skb | |
| struct genl_info * | info |
| 667 | const struct nla_policy * policy = NULL |
| 670 | Case cmd == TASKSTATS_CMD_GET |
| 672 | Break |
| 673 | Case cmd == CGROUPSTATS_CMD_GET |
| 674 | policy = We have to use TASKSTATS_CMD_ATTR_MAX here, it is the maxattr in the family.* Make sure they are always aligned. |
| 675 | Break |
| 676 | Default |
| 677 | Return -EINVAL |
| 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 |