summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcessList.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 /linux/LinuxProcessList.h
parent31391b206c536cdcd46c335b58ea6ecf6deeba1f (diff)
parenta267003f2f38df5d52ae3f07658c1bbd20b5fb5e (diff)
Merge branch 'hishamhm-pull-920'3.0.0rc1
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r--linux/LinuxProcessList.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h
index 24b94d87..86e9d3fd 100644
--- a/linux/LinuxProcessList.h
+++ b/linux/LinuxProcessList.h
@@ -18,6 +18,7 @@ in the source distribution for its full text.
#include "ProcessList.h"
+#include "zfs/ZfsArcStats.h"
extern long long btime;
@@ -69,6 +70,8 @@ typedef struct LinuxProcessList_ {
struct nl_sock *netlink_socket;
int netlink_family;
#endif
+
+ ZfsArcStats zfs;
} LinuxProcessList;
#ifndef PROCDIR
@@ -87,6 +90,10 @@ typedef struct LinuxProcessList_ {
#define PROCMEMINFOFILE PROCDIR "/meminfo"
#endif
+#ifndef PROCARCSTATSFILE
+#define PROCARCSTATSFILE PROCDIR "/spl/kstat/zfs/arcstats"
+#endif
+
#ifndef PROCTTYDRIVERSFILE
#define PROCTTYDRIVERSFILE PROCDIR "/tty/drivers"
#endif

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