MCPcopy Create free account
hub / github.com/containerd/cgroups / systemdUnitFromPath

Function systemdUnitFromPath

cgroup2/utils.go:441–444  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

439}
440
441func systemdUnitFromPath(path string) string {
442 _, unit := filepath.Split(path)
443 return unit
444}
445
446func readHugeTlbStats(path string) []*stats.HugeTlbStat {
447 hpSizes := hugePageSizes()

Callers 2

TestCPUQuotaPeriodUSecFunction · 0.85
DeleteSystemdMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestCPUQuotaPeriodUSecFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…