summaryrefslogtreecommitdiff
path: root/sys/kern/subr_syscall_stats.c
AgeCommit message (Collapse)Author
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-12-22use the proper rcsid for the kernelchristos
2014-02-25Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist beforepooka
the sysctl link sets are processed, and remove redundancy. Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
2008-04-29Convert to new 2 clause licensemartin
2007-02-18Add code to support per-system call statistics:dsl
option SYSCALL_STATS counts the number of times each system call is made option SYSCALL_TIMES counts the amount of time spent in each system call Currently the counting hooks have only been added to the i386 system call handler, and the time spent in interrupts is not subtracted. It ought also be possible to add the times to the processes profiling counters in order to get a more accurate user/system/interrupt split. The counts themselves are readable via the sysctl interface.