diff options
author | David Hunt <dhunt@iolanthe.attlocal.net> | 2015-07-13 21:02:40 -0500 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-19 13:52:38 -0300 |
commit | 57ab332d5a1f0f46b87049720a614e4ff46ee938 (patch) | |
tree | 8ab6733d4486cc27a3d3d2693c8ce8be4f645db9 /darwin/DarwinProcess.h | |
parent | 6463ea29564c872bd93278878a2e5245e7d02aa0 (diff) |
Fix the thread counts
Diffstat (limited to 'darwin/DarwinProcess.h')
-rw-r--r-- | darwin/DarwinProcess.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/darwin/DarwinProcess.h b/darwin/DarwinProcess.h index 65fff6b7..3c4f2e0b 100644 --- a/darwin/DarwinProcess.h +++ b/darwin/DarwinProcess.h @@ -10,6 +10,8 @@ in the source distribution for its full text. */ #include "Settings.h" +#include "DarwinProcessList.h" + #include <sys/sysctl.h> @@ -25,7 +27,7 @@ char *DarwinProcessList_getCmdLine(struct kinfo_proc* k, int show_args ); void DarwinProcess_setFromKInfoProc(Process *proc, struct kinfo_proc *ps, time_t now, bool exists); -void DarwinProcess_setFromLibprocPidinfo(Process *proc, uint64_t total_memory, bool preExisting); +void DarwinProcess_setFromLibprocPidinfo(Process *proc, DarwinProcessList *dpl, bool preExisting); void DarwinProcess_parseThreads(Process *proc, time_t now, bool preExisting); |