Remove cpuset cgroup for listing on raw driver.
Also a couple of fixes/simplifications.
This commit is contained in:
parent
aa7154c5e2
commit
3854ea6970
@ -77,10 +77,9 @@ func Register() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Cgroup susbsystems we support listing (should be the minimal set we need stats from).
|
||||
// Cgroup subsystems we support listing (should be the minimal set we need stats from).
|
||||
var supportedSubsystems map[string]struct{} = map[string]struct{}{
|
||||
"cpu": struct{}{},
|
||||
"cpuset": struct{}{},
|
||||
"cpuacct": struct{}{},
|
||||
"memory": struct{}{},
|
||||
"cpu": {},
|
||||
"cpuacct": {},
|
||||
"memory": {},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user