summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorVilkov Adel <razer.megabox@gmail.com>2019-07-09 10:41:38 +0300
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-07-09 09:41:38 +0200
commitc7ab028f787f1c3f1325f6195ea0cb2afc95ab95 (patch)
treef93727f7be547a75b0281178a0c58f8293e1f7c0 /Makefile.am
parent0707fbaaac974dc63f9d5a1b9298b0d09b1c95da (diff)
Add ZRAM collector module to the proc plugin
The module gets the ZRAM device list by reading /proc/devices, obtaining an device ID from it, then enumerating the devices in /dev filtering them by corresponding major device number it got from previous step. It takes the data from /sys/block/{name}/mm_stat.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index bc928bba87..ce9d93f5cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -278,6 +278,7 @@ PROC_PLUGIN_FILES = \
collectors/proc.plugin/proc_vmstat.c \
collectors/proc.plugin/proc_uptime.c \
collectors/proc.plugin/sys_kernel_mm_ksm.c \
+ collectors/proc.plugin/sys_block_zram.c \
collectors/proc.plugin/sys_devices_system_edac_mc.c \
collectors/proc.plugin/sys_devices_system_node.c \
collectors/proc.plugin/sys_fs_btrfs.c \