mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 08:36:57 +02:00
11 lines
322 B
Go
11 lines
322 B
Go
//go:build !linux
|
|
|
|
package cpupick
|
|
|
|
// perfCPUs is Linux-only sysfs walking; elsewhere report "no distinction".
|
|
// Default already returns nil off-Linux (util.AllowedCPUs has no answer
|
|
// there), so this exists to keep the package compiling everywhere.
|
|
func perfCPUs(allowed []int) ([]int, string) {
|
|
return allowed, ""
|
|
}
|