...

Source file src/github.com/opencontainers/runc/libcontainer/cgroups/fs/perf_event.go

Documentation: github.com/opencontainers/runc/libcontainer/cgroups/fs

     1  package fs
     2  
     3  import (
     4  	"github.com/opencontainers/runc/libcontainer/cgroups"
     5  	"github.com/opencontainers/runc/libcontainer/configs"
     6  )
     7  
     8  type PerfEventGroup struct{}
     9  
    10  func (s *PerfEventGroup) Name() string {
    11  	return "perf_event"
    12  }
    13  
    14  func (s *PerfEventGroup) Apply(path string, _ *configs.Resources, pid int) error {
    15  	return apply(path, pid)
    16  }
    17  
    18  func (s *PerfEventGroup) Set(_ string, _ *configs.Resources) error {
    19  	return nil
    20  }
    21  
    22  func (s *PerfEventGroup) GetStats(path string, stats *cgroups.Stats) error {
    23  	return nil
    24  }
    25  

View as plain text