network/uinet/sys/kern/kern_proc.c
/*
 * Fill in a kinfo_proc structure for the specified process.
 * Must be called with the target process locked.
 */
Fill in a kinfo_proc structure for the specified process.
Must be called with the target process locked.
Fill in a kinfo_proc structure for the specified process . Must be called with the target process locked .
void
fill_kinfo_proc(struct proc *p, struct kinfo_proc *kp)
{
	MPASS(FIRST_THREAD_IN_PROC(p) != NULL);
	fill_kinfo_proc_only(p, kp);
	fill_kinfo_thread(FIRST_THREAD_IN_PROC(p), kp, 0);
	fill_kinfo_aggregate(p, kp);
}
void fill_kinfo_proc ( struct proc * p , struct kinfo_proc * kp ) { MPASS ( FIRST_THREAD_IN_PROC ( p ) != NULL ) ; fill_kinfo_proc_only ( p , kp ) ; fill_kinfo_thread ( FIRST_THREAD_IN_PROC ( p ) , kp , 0 ) ; fill_kinfo_aggregate ( p , kp ) ; }
Fill in a kinfo_proc structure for the specified process.
Fill in a kinfo_proc structure for the specified process .