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

Function NewPerfEvent

cgroup1/perf_event.go:21–25  ·  view source on GitHub ↗
(root string)

Source from the content-addressed store, hash-verified

19import "path/filepath"
20
21func NewPerfEvent(root string) *PerfEventController {
22 return &PerfEventController{
23 root: filepath.Join(root, string(PerfEvent)),
24 }
25}
26
27type PerfEventController struct {
28 root string

Callers 1

defaultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…