Merge tag 'dmaengine-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul...
[linux-2.6-microblaze.git] / include / linux / cgroup-defs.h
index ae20dbb..f1b3151 100644 (file)
@@ -341,6 +341,20 @@ struct cgroup_rstat_cpu {
         */
        struct cgroup_base_stat last_bstat;
 
+       /*
+        * This field is used to record the cumulative per-cpu time of
+        * the cgroup and its descendants. Currently it can be read via
+        * eBPF/drgn etc, and we are still trying to determine how to
+        * expose it in the cgroupfs interface.
+        */
+       struct cgroup_base_stat subtree_bstat;
+
+       /*
+        * Snapshots at the last reading. These are used to calculate the
+        * deltas to propagate to the per-cpu subtree_bstat.
+        */
+       struct cgroup_base_stat last_subtree_bstat;
+
        /*
         * Child cgroups with stat updates on this cpu since the last read
         * are linked on the parent's ->updated_children through