Katarzyna Kujawa
92f831bf0c
Fix #2440 omit cpuacct.usage_all when not available
...
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com >
2020-06-02 09:24:11 +02:00
Katarzyna Kujawa
407e9f9d0d
Add reading of information from cpuacct.usage_all
...
Remove logrus logs from tests
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com >
2020-05-05 08:51:12 +02:00
Sebastiaan van Stijn
402d645c5c
Simplify ticks, as the value is a constant
...
See for example in the Musl libc source code https://git.musl-libc.org/cgit/musl/tree/src/conf/sysconf.c#n29
This removes the cgo dependency for the system package.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-05-04 23:05:46 +02:00
Akihiro Suda
88e8350de2
cgroup2: split fs2 from fs
...
split fs2 package from fs, as mixing up fs and fs2 is very likely to result in
unmaintainable code.
Inspired by containerd/cgroups#109
Fix #2157
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2019-12-06 15:42:10 +09:00
tianye15
28e58a0f6a
Support different field counts of cpuaact.stats
...
Signed-off-by: skilxnTL <tylxltt@gmail.com >
2019-09-29 10:20:58 +08:00
Qiang Huang
a263afaf6c
Rename parent and data
...
'parent' function is confusing with parent cgroup, it's actually
parent path, so rename it to parentPath.
The name 'data' is too common to be identified, rename it to cgroupData
which is exactly what it is.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com >
2015-11-05 19:12:53 +08:00
Michael Crosby
02fdc70837
Add Name() to cgroup subsystems
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2015-10-15 15:19:23 -07:00
Michael Crosby
080df7ab88
Update import paths for new repository
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2015-06-21 19:29:59 -07:00
Michael Crosby
8f97d39dd2
Move libcontainer into subdirectory
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2015-06-21 19:29:15 -07:00