Function report | 
Source Code:kernel\taskstats.c | 
Create Date:2022-07-28 11:49:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:prepare_reply
Proto:static int prepare_reply(struct genl_info *info, u8 cmd, struct sk_buff **skbp, size_t size)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct genl_info * | info | |
| u8 | cmd | |
| struct sk_buff ** | skbp | |
| size_t | size | 
| 78 | skb = genlmsg_new - Allocate a new generic netlink message*@payload: size of the message payload*@flags: the type of memory to allocate. | 
| 82 | If Not info Then | 
| 83 | seq = this_cpu_inc_return(taskstats_seqnum) - 1 | 
| 88 | If (reply == NULL) Then | 
| 94 | Return 0 | 
| Name | Describe | 
|---|---|
| cgroupstats_user_cmd | |
| cmd_attr_pid | |
| cmd_attr_tgid | |
| taskstats_exit | Send pid data out on exit | 
| 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  |