Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Send taskstats data in @skb to listener with nl_pid @pid

Proto:static int send_reply(struct sk_buff *skb, struct genl_info *info)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
struct genl_info *info
102  genlhdr = lmsg_data - head of message payload*@nlh: netlink message header
103  reply = gennlmsg_data - head of message payload*@gnlh: genetlink message header
105  genlmsg_end - Finalize a generic netlink message*@skb: socket buffer the message is stored in*@hdr: user specific header
107  Return genlmsg_reply - reply to a request*@skb: netlink message to be sent back*@info: receiver information
Caller
NameDescribe
cgroupstats_user_cmd
cmd_attr_pid
cmd_attr_tgid