CVSROOT:        /cvs
Module name:    src
Changes by:     piro...@cvs.openbsd.org 2012/04/17 17:17:53

Modified files:
        sys/kern       : kern_sysctl.c 
        sys/sys        : sysctl.h 
        bin/ps         : ps.c 
        usr.bin/top    : machine.c 
        lib/libkvm     : kvm_proc2.c 

Log message:
Make it optional for kvm_getprocs() (and related sysctl) to return
thread information.

Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the
thread info and make it off by default. This creates backwards compatibility
for applications that relied on a given size/number of items to be returned.

Modify ps(1) and top(1) accordingly.

Okay guenther@.

Reply via email to