Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\taskstats.c Create Date:2022-07-28 11:49:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:taskstats_user_cmd

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

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
struct genl_info *info
542  If attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK] Then Return cmd_attr_register_cpumask(info)
544  Else if attrs[TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK] Then Return cmd_attr_deregister_cpumask(info)
546  Else if attrs[TASKSTATS_CMD_ATTR_PID] Then Return cmd_attr_pid(info)
548  Else if attrs[TASKSTATS_CMD_ATTR_TGID] Then Return cmd_attr_tgid(info)
550  Else Return -EINVAL