diff options
author | Sohaib <sohaib.amhmd@gmail.com> | 2021-02-22 16:45:44 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-06-09 17:09:29 +1000 |
commit | e1d1a5cec6db15c05e6b75f06e451c7ffa3fde24 (patch) | |
tree | ba5b7964703a91dbd02b966f4a4e9f90e5851ba5 /pcp/PCPProcessList.h | |
parent | 6bb59f88811763c8b7ab63a17ebccf2ca56a5410 (diff) |
Add ZFS ARC statistics and meters to the PCP platform
Diffstat (limited to 'pcp/PCPProcessList.h')
-rw-r--r-- | pcp/PCPProcessList.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcp/PCPProcessList.h b/pcp/PCPProcessList.h index 28f1d9ce..70ddfb75 100644 --- a/pcp/PCPProcessList.h +++ b/pcp/PCPProcessList.h @@ -16,6 +16,7 @@ in the source distribution for its full text. #include "ProcessList.h" #include "pcp/Platform.h" #include "UsersTable.h" +#include "zfs/ZfsArcStats.h" typedef enum CPUMetric_ { CPU_TOTAL_TIME, @@ -57,6 +58,7 @@ typedef struct PCPProcessList_ { pmAtomValue* cpu; /* aggregate values for each metric */ pmAtomValue** percpu; /* per-processor values for each metric */ pmAtomValue* values; /* per-processor buffer for just one metric */ + ZfsArcStats zfs; } PCPProcessList; ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId); |