Function report |
Source Code:kernel\taskstats.c |
Create Date:2022-07-28 11:49:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cmd_attr_register_cpumask
Proto:static int cmd_attr_register_cpumask(struct genl_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct genl_info * | info |
| 444 | If Not alloc_cpumask_var( & mask, GFP_KERNEL) Then Return -ENOMEM |
| 446 | rc = parse(attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK], mask) |
| 449 | rc = add_del_listener(snd_portid, mask, REGISTER) |
| 450 | out : |
| 451 | free_cpumask_var(mask) |
| 452 | Return rc |
| Name | Describe |
|---|---|
| taskstats_user_cmd |
| 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 |