summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9c4873)
raw | patch | inline | side by side (parent: f9c4873)
author | Florian Forster <octo@noris.net> | |
Thu, 11 Nov 2010 11:35:36 +0000 (12:35 +0100) | ||
committer | Florian Forster <octo@noris.net> | |
Thu, 11 Nov 2010 11:35:36 +0000 (12:35 +0100) |
src/zfs_arc.c | patch | blob | history |
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index 63957f6d98638c0f1a6a63102b1519ea23d1262b..bc2b0d2b4e6eab185d5d2687ceee80819d6b5aff 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
prefetch_data_misses = get_kstat_value(ksp, "prefetch_data_misses");
prefetch_metadata_misses = get_kstat_value(ksp, "prefetch_metadata_misses");
- za_submit_derive ("cache_result", "hit-demand_data", demand_data_hits);
- za_submit_derive ("cache_result", "hit-demand_metadata", demand_metadata_hits);
- za_submit_derive ("cache_result", "hit-prefetch_data", prefetch_data_hits);
- za_submit_derive ("cache_result", "hit-prefetch_metadata", prefetch_metadata_hits);
-
- za_submit_derive ("cache_result", "miss-demand_data", demand_data_misses);
- za_submit_derive ("cache_result", "miss-demand_metadata", demand_metadata_misses);
- za_submit_derive ("cache_result", "miss-prefetch_data", prefetch_data_misses);
- za_submit_derive ("cache_result", "miss-prefetch_metadata", prefetch_metadata_misses);
+ za_submit_derive ("cache_result", "demand_data-hit", demand_data_hits);
+ za_submit_derive ("cache_result", "demand_metadata-hit", demand_metadata_hits);
+ za_submit_derive ("cache_result", "prefetch_data-hit", prefetch_data_hits);
+ za_submit_derive ("cache_result", "prefetch_metadata-hit", prefetch_metadata_hits);
+
+ za_submit_derive ("cache_result", "demand_data-miss", demand_data_misses);
+ za_submit_derive ("cache_result", "demand_metadata-miss", demand_metadata_misses);
+ za_submit_derive ("cache_result", "prefetch_data-miss", prefetch_data_misses);
+ za_submit_derive ("cache_result", "prefetch_metadata-miss", prefetch_metadata_misses);
/* Ratios */
arc_hits = (gauge_t) get_kstat_value(ksp, "hits");