| Function report | 
| Source Code: kernel\taskstats.c | Create Date:2022-07-28 11:49:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Send taskstats data in @skb to listeners registered for @cpu's exit data
Proto:static void send_cpu_listeners(struct sk_buff *skb, struct listener_list *listeners)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct sk_buff * | skb | |
| struct listener_list * | listeners | 
| 120 | delcount = 0 | 
| 124 | rc = 0 | 
| 125 | lock for reading | 
| 127 | skb_next = NULL | 
| 129 | skb_next = duplicate an sk_buff | 
| 130 | If Not skb_next Then Break | 
| 133 | rc = genlmsg_unicast - unicast a netlink message*@skb: netlink message as socket buffer*@portid: netlink portid of the destination socket | 
| 134 | If rc == -ECONNREFUSED Then | 
| 145 | If Not delcount Then Return | 
| 149 | lock for writing | 
| 151 | If Not valid Then | 
| Name | Describe | 
|---|---|
| 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 |