Function report |
Source Code:kernel\taskstats.c |
Create Date:2022-07-28 11:49:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:taskstats_user_cmd
Proto:static int taskstats_user_cmd(struct sk_buff *skb, struct genl_info *info)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb | |
struct genl_info * | info |
542 | If attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK] Then Return cmd_attr_register_cpumask(info) |
544 | Else if attrs[TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK] Then Return cmd_attr_deregister_cpumask(info) |
546 | Else if attrs[TASKSTATS_CMD_ATTR_PID] Then Return cmd_attr_pid(info) |
548 | Else if attrs[TASKSTATS_CMD_ATTR_TGID] Then Return cmd_attr_tgid(info) |
550 | Else 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 |