const cpuCgroup …
const rootContainer …
const monitoringGroupDir …
const processTask …
const cpusFileName …
const cpusListFileName …
const schemataFileName …
const tasksFileName …
const modeFileName …
const sizeFileName …
const infoDirName …
const monDataDirName …
const monGroupsDirName …
const noPidsPassedError …
const noContainerNameError …
const noControlGroupFoundError …
const llcOccupancyFileName …
const mbmLocalBytesFileName …
const mbmTotalBytesFileName …
const containerPrefix …
const minContainerNameLen …
const unavailable …
const monGroupPrefix …
var rootResctrl …
var pidsPath …
var processPath …
var enabledMBM …
var enabledCMT …
var isResctrlInitialized …
var groupDirectories …
func Setup() error { … }
func prepareMonitoringGroup(containerName string, getContainerPids func() ([]string, error), inHostNamespace bool) (string, error) { … }
func getPids(containerName string) ([]int, error) { … }
func getAllProcessThreads(path string) ([]int, error) { … }
func findGroup(group string, pids []string, includeGroup bool, exclusive bool) (string, error) { … }
func arePIDsInGroup(path string, pids []string, exclusive bool) (bool, error) { … }
func readTasksFile(tasksPath string) (map[string]struct{ … }
func readStatFrom(path string, vendorID string) (uint64, error) { … }
func getIntelRDTStatsFrom(path string, vendorID string) (intelrdt.Stats, error) { … }