Function report |
Source Code:kernel\taskstats.c |
Create Date:2022-07-28 11:49:26 |
| 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_pid
Proto:static int cmd_attr_pid(struct genl_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct genl_info * | info |
| 490 | size = taskstats_packet_size() |
| 492 | rc = prepare_reply(info, TASKSTATS_CMD_NEW, & rep_skb, size) |
| 498 | stats = mk_reply(rep_skb, TASKSTATS_TYPE_PID, pid) |
| 502 | rc = fill_stats_for_pid(pid, stats) |
| 506 | err : |
| 508 | 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 |