summaryrefslogtreecommitdiffstats
path: root/pcp/Platform.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-11-21 08:38:27 +1100
committerNathan Scott <nathans@redhat.com>2023-11-21 08:38:27 +1100
commit2698483444d7d668e790c8e945ccb61a8c4e4df8 (patch)
treee13fc51ae788d0be414960ca08b0450fdc9a7e06 /pcp/Platform.c
parent452244dc06270aff4872a3c3d9559e7da5f34ad6 (diff)
Remove unused zswap pool size calculation from commit 71f5a80d9e
Quick discussion with Ivan confirmed this was a left-over from an earlier version of the zswap code and can be safely removed.
Diffstat (limited to 'pcp/Platform.c')
-rw-r--r--pcp/Platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pcp/Platform.c b/pcp/Platform.c
index 402276ae..6fc2fc51 100644
--- a/pcp/Platform.c
+++ b/pcp/Platform.c
@@ -197,7 +197,6 @@ static const char* Platform_metricNames[] = {
[PCP_ZRAM_CAPACITY] = "zram.capacity",
[PCP_ZRAM_ORIGINAL] = "zram.mm_stat.data_size.original",
[PCP_ZRAM_COMPRESSED] = "zram.mm_stat.data_size.compressed",
- [PCP_ZSWAP_MAX_POOL_PERCENT] = "sysfs.module.zswap.max_pool_percent",
[PCP_MEM_ZSWAP] = "mem.util.zswap",
[PCP_MEM_ZSWAPPED] = "mem.util.zswapped",
[PCP_VFS_FILES_COUNT] = "vfs.files.count",

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