Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107662762
D5489.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
773 B
Referenced Files
None
Subscribers
None
D5489.diff
View Options
Index: head/sys/dev/hyperv/vmbus/hv_channel.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_channel.c
+++ head/sys/dev/hyperv/vmbus/hv_channel.c
@@ -122,8 +122,14 @@
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),
OID_AUTO,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 8:50 AM (15 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15852753
Default Alt Text
D5489.diff (773 B)
Attached To
Mode
D5489: hyperv/channel: Add sysctl node for channel owner cpu
Attached
Detach File
Event Timeline
Log In to Comment