automation-tests/common/pkg/sysinfo
Kir Kolyshkin 4e44c06f7b pkg/sysinfo/checkCgroupPids: speedup
For some reason this code chose not to use information already fetched,
and call cgroups.FindCgroupMountpoint() instead. This is not a cheap
call, as it has to parse the whole nine yards of /proc/self/mountinfo,
and the info it tries to get (whether the pids controller is present)
is already available from cgMounts map.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-05-22 17:30:12 -07:00
..
README.md Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
numcpu.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
numcpu_linux.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
numcpu_windows.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo_linux.go pkg/sysinfo/checkCgroupPids: speedup 2020-05-22 17:30:12 -07:00
sysinfo_linux_test.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo_solaris.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo_test.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo_unix.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00
sysinfo_windows.go Add more utils for returning defaults 2020-04-01 08:39:44 -04:00

README.md

SysInfo stores information about which features a kernel supports.