*** empty log message ***
This commit is contained in:
@@ -44,6 +44,8 @@ __BEGIN_DECLS
|
|||||||
#define GLIBTOP_KERN_PROC_UID 5
|
#define GLIBTOP_KERN_PROC_UID 5
|
||||||
#define GLIBTOP_KERN_PROC_RUID 6
|
#define GLIBTOP_KERN_PROC_RUID 6
|
||||||
|
|
||||||
|
#define GLIBTOP_KERN_PROC_MASK 15
|
||||||
|
|
||||||
#define GLIBTOP_EXCLUDE_IDLE 0x1000
|
#define GLIBTOP_EXCLUDE_IDLE 0x1000
|
||||||
#define GLIBTOP_EXCLUDE_SYSTEM 0x2000
|
#define GLIBTOP_EXCLUDE_SYSTEM 0x2000
|
||||||
#define GLIBTOP_EXCLUDE_NOTTY 0x4000
|
#define GLIBTOP_EXCLUDE_NOTTY 0x4000
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
|
|||||||
|
|
||||||
glibtop_suid_enter (server);
|
glibtop_suid_enter (server);
|
||||||
|
|
||||||
|
which &= GLIBTOP_KERN_PROC_MASK;
|
||||||
|
|
||||||
/* Get the process data */
|
/* Get the process data */
|
||||||
pinfo = kvm_getprocs (server->machine.kd, which, arg, &count);
|
pinfo = kvm_getprocs (server->machine.kd, which, arg, &count);
|
||||||
if ((pinfo == NULL) || (count < 1))
|
if ((pinfo == NULL) || (count < 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user