]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fill in the some new fields 'struct kinfo_proc', namely ki_childstime,
authorGarance A Drosehn <gad@FreeBSD.org>
Sat, 19 Jun 2004 14:03:00 +0000 (14:03 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Sat, 19 Jun 2004 14:03:00 +0000 (14:03 +0000)
commit078842c5c9bc06b122d794fa8d18c60562b66f28
tree251dedfcb1b51b6557126893a7d297ed64442a89
parentd688cb4c0db6368d9e83401ec52e20899c739111
Fill in the some new fields 'struct kinfo_proc', namely ki_childstime,
ki_childutime, and ki_emul.  Also uses the timevaladd() routine to
correct the calculation of ki_childtime.  That will correct the value
returned when ki_childtime.tv_usec > 1,000,000.

This also implements a new KERN_PROC_GID option for kvm_getprocs().
(there will be a similar update to lib/libkvm/kvm_proc.c)

Submitted by: Cyrille Lefevre
sys/kern/kern_proc.c