Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153189308
D50423.id155715.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
D50423.id155715.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
@@ -402,13 +402,9 @@
add_pre(name);
for (i = 0; i < numargs; ++i)
add_debug_code(name, args[i], "Entry", "\t");
- printc("\tif (!SDT_PROBES_ENABLED()) {");
- printc("\t\trc = vop->"name"(a);")
- printc("\t} else {")
- printc("\t\tSDT_PROBE2(vfs, vop, " name ", entry, a->a_" args[0] ", a);");
- printc("\t\trc = vop->"name"(a);")
- printc("\t\tSDT_PROBE3(vfs, vop, " name ", return, a->a_" args[0] ", a, rc);");
- printc("\t}")
+ printc("\tSDT_PROBE2(vfs, vop, " name ", entry, a->a_" args[0] ", a);");
+ printc("\trc = vop->"name"(a);")
+ printc("\tSDT_PROBE3(vfs, vop, " name ", return, a->a_" args[0] ", a, rc);");
printc("\tif (rc == 0) {");
for (i = 0; i < numargs; ++i)
add_debug_code(name, args[i], "OK", "\t\t");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 5:02 PM (3 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31826747
Default Alt Text
D50423.id155715.diff (871 B)
Attached To
Mode
D50423: vnode_if: Remove some branching around SDT probes in VOP wrappers
Attached
Detach File
Event Timeline
Log In to Comment