summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 52b40e1)
raw | patch | inline | side by side (parent: 52b40e1)
author | Florian Forster <octo@collectd.org> | |
Tue, 20 Mar 2012 21:29:59 +0000 (22:29 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 20 Mar 2012 21:31:51 +0000 (22:31 +0100) |
src/zfs_arc.c | patch | blob | history |
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index 5332d245b1eb7fc1e72445b74e7dbb1824509b38..a298706fbae77be6e3588774ca123c19f5e3f8b3 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
za_submit ("mutex", "counts", values, STATIC_ARRAY_SIZE(values));
}
-static void za_submit_deleted_counts (counter_t deleted)
+static void za_submit_deleted_counts (derive_t deleted)
{
value_t values[1];
za_submit ("deleted", "counts", values, STATIC_ARRAY_SIZE(values));
}
-static void za_submit_hash_counts (counter_t hash_collisions)
+static void za_submit_hash_counts (derive_t hash_collisions)
{
value_t values[1];
prefetch_metadata_misses;
gauge_t arc_hits, arc_misses, l2_hits, l2_misses;
value_t l2_io[2];
- counter_t mutex_miss;
- counter_t deleted;
- counter_t evict_l2_cached, evict_l2_eligible, evict_l2_ineligible;
- counter_t hash_collisions;
+ derive_t mutex_miss;
+ derive_t deleted;
+ derive_t evict_l2_cached, evict_l2_eligible, evict_l2_ineligible;
+ derive_t hash_collisions;
get_kstat (&ksp, "zfs", 0, "arcstats");
if (ksp == NULL)