]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
cgroup: add support for memory.swap.peak
[thirdparty/systemd.git] / src / core / unit.h
index 4070ccc5d46196c268da6cda89e1615053b967b9..ded2f9d7d54b7d47890c3e1f02ebe663e4bb0b4b 100644 (file)
@@ -368,6 +368,9 @@ typedef struct Unit {
         /* Most recently read value of memory.peak */
         uint64_t memory_peak_last;
 
+        /* Most recently read value of memory.swap.peak */
+        uint64_t memory_swap_peak_last;
+
         /* The current counter of OOM kills initiated by systemd-oomd */
         uint64_t managed_oom_kill_last;