MCPcopy Create free account
hub / github.com/cortexproject/cortex / processMapsPath

Function processMapsPath

pkg/util/process/collector.go:126–128  ·  view source on GitHub ↗
(procPath string, pid int)

Source from the content-addressed store, hash-verified

124}
125
126func processMapsPath(procPath string, pid int) string {
127 return filepath.Join(procPath, strconv.Itoa(pid), "maps")
128}
129
130func vmMapsLimitPath(procPath string) string {
131 return filepath.Join(procPath, "sys", "vm", "max_map_count")

Callers 2

TestProcessCollectorFunction · 0.85
getMapsCountMethod · 0.85

Calls 1

JoinMethod · 0.80

Tested by 1

TestProcessCollectorFunction · 0.68