hyperv/channel: Add sysctl node for channel owner cpu
And add sysctl node for sub-channel's channel id. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5489
This commit is contained in:
parent
bd2f53618c
commit
6512e69278
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296188
@ -122,7 +122,13 @@ hv_vmbus_channel_stat(hv_vmbus_channel* channel)
|
||||
devch_id_sysctl = SYSCTL_ADD_NODE(ctx,
|
||||
SYSCTL_CHILDREN(devch_sub_sysctl),
|
||||
OID_AUTO, name, CTLFLAG_RD, 0, "");
|
||||
|
||||
SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(devch_id_sysctl),
|
||||
OID_AUTO, "chanid", CTLFLAG_RD,
|
||||
&channel->offer_msg.child_rel_id, 0, "channel id");
|
||||
}
|
||||
SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(devch_id_sysctl), OID_AUTO,
|
||||
"cpu", CTLFLAG_RD, &channel->target_cpu, 0, "owner CPU id");
|
||||
|
||||
devch_id_in_sysctl = SYSCTL_ADD_NODE(ctx,
|
||||
SYSCTL_CHILDREN(devch_id_sysctl),
|
||||
|
Loading…
Reference in New Issue
Block a user