summaryrefslogtreecommitdiffstats
path: root/src/zfs_common.h
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
commit61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch)
treebcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /src/zfs_common.h
parentNew upstream version 1.8.0+dfsg (diff)
downloadnetdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.tar.xz
netdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.zip
New upstream version 1.9.0+dfsgupstream/1.9.0+dfsg
Diffstat (limited to 'src/zfs_common.h')
-rw-r--r--src/zfs_common.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/zfs_common.h b/src/zfs_common.h
index 9d3aa7dfb..4494e70ca 100644
--- a/src/zfs_common.h
+++ b/src/zfs_common.h
@@ -8,6 +8,7 @@
#define ZFS_FAMILY_HASH "hashes"
struct arcstats {
+ // values
unsigned long long hits;
unsigned long long misses;
unsigned long long demand_data_hits;
@@ -99,11 +100,12 @@ struct arcstats {
unsigned long long arc_meta_min;
unsigned long long arc_need_free;
unsigned long long arc_sys_free;
-};
-int l2exist;
+ // flags
+ int l2exist;
+};
-void generate_charts_arcstats(int update_every);
-void generate_charts_arc_summary(int update_every);
+void generate_charts_arcstats(const char *plugin, int update_every);
+void generate_charts_arc_summary(const char *plugin, int update_every);
#endif //NETDATA_ZFS_COMMON_H