summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 18:24:35 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 18:24:35 +1000
commit9a55efc8b52578a9465c5fd4d82c44ad48a16018 (patch)
treea3ffdebe913e85ffde0f183f1209b11082a8c056 /darwin/DarwinProcessList.h
parent31391b206c536cdcd46c335b58ea6ecf6deeba1f (diff)
parenta267003f2f38df5d52ae3f07658c1bbd20b5fb5e (diff)
Merge branch 'hishamhm-pull-920'3.0.0rc1
Diffstat (limited to 'darwin/DarwinProcessList.h')
-rw-r--r--darwin/DarwinProcessList.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/darwin/DarwinProcessList.h b/darwin/DarwinProcessList.h
index c216a804..73fbd34f 100644
--- a/darwin/DarwinProcessList.h
+++ b/darwin/DarwinProcessList.h
@@ -9,7 +9,19 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+struct kern;
+
+void GetKernelVersion(struct kern *k);
+
+/* compare the given os version with the one installed returns:
+0 if equals the installed version
+positive value if less than the installed version
+negative value if more than the installed version
+*/
+int CompareKernelVersion(short int major, short int minor, short int component);
+
#include "ProcessList.h"
+#include "zfs/ZfsArcStats.h"
#include <mach/mach_host.h>
#include <sys/sysctl.h>
@@ -23,6 +35,8 @@ typedef struct DarwinProcessList_ {
uint64_t kernel_threads;
uint64_t user_threads;
uint64_t global_diff;
+
+ ZfsArcStats zfs;
} DarwinProcessList;

© 2014-2024 Faster IT GmbH | imprint | privacy policy