Hidehito Yabuuchi
|
ffd4cd70e2
|
Capitalize static values in tests
|
2018-10-06 18:05:59 +02:00 |
|
Hidehito Yabuuchi
|
ae56cb02b9
|
Use mem::discriminant in impl PartialEq for CgroupError
|
2018-10-06 18:05:59 +02:00 |
|
Hidehito Yabuuchi
|
2149e1c0c4
|
Run rustfmt
|
2018-10-06 18:05:59 +02:00 |
|
Hidehito Yabuuchi
|
5660656e3a
|
Use self short-hand
|
2018-10-01 11:56:12 +02:00 |
|
Levente Kurusa
|
af6ed48e39
|
blkio: use BlkIoData for weight_device, too
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-29 09:41:36 -04:00 |
|
Levente Kurusa
|
4b67af3eef
|
blkio: rename BlkIoTime to BlkIoData
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-28 11:11:19 +01:00 |
|
Levente Kurusa
|
afe1519ed2
|
blkio: parse time/time_recursive
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-27 10:19:19 +01:00 |
|
Levente Kurusa
|
7fa4527c2a
|
memory: parse memory.stat
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-16 17:53:53 +02:00 |
|
Levente Kurusa
|
d9bc157388
|
memory: parse oom_control field
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-16 16:49:04 +02:00 |
|
Levente Kurusa
|
9da8998cd4
|
memory: parse numa_stat field
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-16 16:05:29 +02:00 |
|
Levente Kurusa
|
07421b2aff
|
blkio: parse a bunch of fields
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-16 14:43:09 +02:00 |
|
Levente Kurusa
|
0e350463a1
|
controllers: verify that resource application went ok or not
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-14 15:59:29 +02:00 |
|
Levente Kurusa
|
dbbcb86884
|
devices: correct some documentation
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-05 10:48:12 +02:00 |
|
Levente Kurusa
|
1c213caea5
|
cpuset: parse ranges like cpus & mems
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-05 10:47:53 +02:00 |
|
Levente Kurusa
|
be5db6ba50
|
cpuset: fail if trying to enable memory pressure on a non-root cg
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-04 10:45:32 +02:00 |
|
Levente Kurusa
|
ede7201b73
|
devices: parse files in the devices subsystem
Also, a test!
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-04 10:02:54 +02:00 |
|
Levente Kurusa
|
c82a94b58e
|
tree: add some simple error reporting
There's still plenty to wish for.
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-03 00:11:33 +02:00 |
|
Levente Kurusa
|
acb0c448b1
|
cgroup: make it possible to move a control group to root
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-09-02 15:33:38 +02:00 |
|
Levente Kurusa
|
367ea556ca
|
tests: move tests to tests/ directory and give the user cgroup perms
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-30 13:40:15 +02:00 |
|
Levente Kurusa
|
c8b029b154
|
tests: fix the first few tests
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-30 11:41:54 +02:00 |
|
Levente Kurusa
|
33b66f5b35
|
Most documentation is done
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-29 23:45:20 +02:00 |
|
Levente Kurusa
|
9d270d5159
|
More docs!
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-29 23:01:39 +02:00 |
|
Levente Kurusa
|
caa9241285
|
More documentation!
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-29 18:39:57 +02:00 |
|
Levente Kurusa
|
6ef19363be
|
cpu,cpuacct,cpuset: add first docs
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-28 18:41:37 +02:00 |
|
Levente Kurusa
|
14b23e1857
|
pids: first draft of docs
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-28 16:08:45 +02:00 |
|
Levente Kurusa
|
a65196d7c1
|
Add implementation for From<Command> to CgroupPid
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-28 15:13:42 +02:00 |
|
Levente Kurusa
|
9162c5a6ad
|
Initial work
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
|
2018-08-28 14:52:23 +02:00 |
|