Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102850535
D38091.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38091.diff
View Options
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -73,14 +73,14 @@
else
star = "";
if (lockdata[name, arg, pos] && (lockdata[name, arg, pos] != "-")) {
- printc(ind"ASSERT_VI_UNLOCKED("star"a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VI_UNLOCKED("star"a->a_"arg", \""uname" "pos" ("arg")\");");
# Add assertions for locking
if (lockdata[name, arg, pos] == "L")
- printc(ind"ASSERT_VOP_LOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_LOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (lockdata[name, arg, pos] == "U")
- printc(ind"ASSERT_VOP_UNLOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_UNLOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (lockdata[name, arg, pos] == "E")
- printc(ind"ASSERT_VOP_ELOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_ELOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (0) {
# XXX More checks!
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 11:49 PM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14706791
Default Alt Text
D38091.diff (1 KB)
Attached To
Mode
D38091: Improve debuggability of VOP_* locking assertions
Attached
Detach File
Event Timeline
Log In to Comment