summaryrefslogtreecommitdiff
path: root/src/core/cgroup.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-06 14:56:03 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commitda4b83e77bc603745cf4a365d7f013301ef7fa89 (patch)
tree293d9508eeb1f841c71b0b0517287fd398aded82 /src/core/cgroup.h
parenteaca07ccfdf5d7dabc50afc7e539c2413dd69d3e (diff)
Prep v228: Add remaining updates from upstream (3/3)
Apply remaining fixes and the performed move of utility functions into their own foo-util.[hc] files on the rest of elogind.
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r--src/core/cgroup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h
index 29782c58c..6bef26c48 100644
--- a/src/core/cgroup.h
+++ b/src/core/cgroup.h
@@ -96,6 +96,7 @@ struct CGroupContext {
bool cpu_accounting;
bool blockio_accounting;
bool memory_accounting;
+ bool tasks_accounting;
uint64_t cpu_shares;
uint64_t startup_cpu_shares;
@@ -126,7 +127,7 @@ struct CGroupContext {
// UNNNEEDE void cgroup_context_init(CGroupContext *c);
// UNNEEDED void cgroup_context_done(CGroupContext *c);
// UNNEEDED void cgroup_context_dump(CGroupContext *c, FILE* f, const char *prefix);
-// UNNEEDED void cgroup_context_apply(CGroupContext *c, CGroupMask mask, const char *path, ManagerState state);
+// UNNEEDED void cgroup_context_apply(CGroupContext *c, CGroupMask mask, const char *path, uint32_t netclass_id, ManagerState state);
// UNNEEDED CGroupMask cgroup_context_get_mask(CGroupContext *c);