summaryrefslogtreecommitdiffstats
path: root/src/shared/cgroup-setup.h
diff options
context:
space:
mode:
authorwineway <wangyuweihx@gmail.com>2022-08-06 13:14:44 +0200
committerLennart Poettering <lennart@poettering.net>2022-08-11 14:25:58 +0200
commitc8340822cfe269121e638c1e44d2ba5b8fe70b03 (patch)
tree101b1d665d9583220760c5a0e632b885d7ef3468 /src/shared/cgroup-setup.h
parentMerge pull request #24260 from systemd/coverity-update (diff)
downloadsystemd-c8340822cfe269121e638c1e44d2ba5b8fe70b03.tar.xz
systemd-c8340822cfe269121e638c1e44d2ba5b8fe70b03.zip
core/cgroup: CPUWeight/CPUShares support idle input
Signed-off-by: wineway <wangyuweihx@gmail.com>
Diffstat (limited to 'src/shared/cgroup-setup.h')
-rw-r--r--src/shared/cgroup-setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cgroup-setup.h b/src/shared/cgroup-setup.h
index 7eabce2451..95a515339d 100644
--- a/src/shared/cgroup-setup.h
+++ b/src/shared/cgroup-setup.h
@@ -12,6 +12,7 @@ bool cg_is_legacy_wanted(void);
bool cg_is_hybrid_wanted(void);
int cg_weight_parse(const char *s, uint64_t *ret);
+int cg_cpu_weight_parse(const char *s, uint64_t *ret);
int cg_cpu_shares_parse(const char *s, uint64_t *ret);
int cg_blkio_weight_parse(const char *s, uint64_t *ret);