func NewCollector(cgroupPath string, events Events, numCores int) stats.Collector { … } // Finalize terminates libpfm4 to free resources. func Finalize() { … }
func NewCollector(cgroupPath string, events Events, numCores int) stats.Collector { … } // Finalize terminates libpfm4 to free resources. func Finalize() { … }