Download raw body.
sysctl: unlock KERN_CLOCKINTR
sysctl_clockintr() delivers mp-safe 'clockintr_stats' statistics. Index: sys/kern/kern_sysctl.c =================================================================== RCS file: /cvs/src/sys/kern/kern_sysctl.c,v retrieving revision 1.466 diff -u -p -r1.466 kern_sysctl.c --- sys/kern/kern_sysctl.c 4 May 2025 13:42:07 -0000 1.466 +++ sys/kern/kern_sysctl.c 4 May 2025 16:54:21 -0000 @@ -416,6 +416,9 @@ kern_sysctl_dirs(int top_name, int *name return (sysctl_video(name, namelen, oldp, oldlenp, newp, newlen)); #endif + case KERN_CLOCKINTR: + return sysctl_clockintr(name, namelen, oldp, oldlenp, newp, + newlen); default: break; } @@ -499,9 +502,6 @@ kern_sysctl_dirs_locked(int top_name, in case KERN_CPUSTATS: return (sysctl_cpustats(name, namelen, oldp, oldlenp, newp, newlen)); - case KERN_CLOCKINTR: - return sysctl_clockintr(name, namelen, oldp, oldlenp, newp, - newlen); default: return (ENOTDIR); /* overloaded */ }
sysctl: unlock KERN_CLOCKINTR