Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142112759
D31384.id93131.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
361 B
Referenced Files
None
Subscribers
None
D31384.id93131.diff
View Options
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -895,6 +895,8 @@
doing_lockprof = 1;
#elif defined(KDTRACE_HOOKS)
doing_lockprof = lockstat_enabled;
+#endif
+#ifdef KDTRACE_HOOKS
if (__predict_false(doing_lockprof))
spin_time -= lockstat_nsecs(&td->td_lock->lock_object);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 17, 3:17 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27678903
Default Alt Text
D31384.id93131.diff (361 B)
Attached To
Mode
D31384: Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING
Attached
Detach File
Event Timeline
Log In to Comment