kernel - Add additional fields to kinfo_cputime
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 24 Aug 2010 04:50:29 +0000 (21:50 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 24 Aug 2010 04:50:29 +0000 (21:50 -0700)
commitb37f18d6eedb01b25a3ddf16efed48064dd9074a
treec5c7716c5979405dbb4a86b26d83a879ae7c467a
parentf9235b6d9cd4b6ef2a6f977a1e659de0ac635e32
kernel - Add additional fields to kinfo_cputime

* Add a message field and address to allow the kernel to report contention
  points on the cpus to userland.

* Enhance the mplock and token subsystems to record contention points.

* Enhance the scheduler to record contention information in the
  per-cpu cpu_time structure.
26 files changed:
sys/emulation/linux/i386/linprocfs/linprocfs_subr.c
sys/emulation/ndis/kern_ndis.c
sys/emulation/ndis/subr_ntoskrnl.c
sys/kern/kern_mplock.c
sys/kern/lwkt_thread.c
sys/kern/lwkt_token.c
sys/kern/subr_disk.c
sys/kern/subr_kobj.c
sys/kern/subr_rman.c
sys/kern/sys_pipe.c
sys/kern/vfs_lock.c
sys/kern/vfs_mount.c
sys/kern/vfs_subr.c
sys/kern/vfs_sync.c
sys/sys/kinfo.h
sys/sys/thread.h
sys/vfs/gnu/ext2fs/ext2_ihash.c
sys/vfs/hpfs/hpfs_hash.c
sys/vfs/hpfs/hpfs_vfsops.c
sys/vfs/isofs/cd9660/cd9660_node.c
sys/vfs/msdosfs/msdosfs_denode.c
sys/vfs/ntfs/ntfs_ihash.c
sys/vfs/udf/udf_vfsops.c
sys/vfs/ufs/ufs_ihash.c
sys/vm/vm_vmspace.c
sys/vm/vm_zeroidle.c