14 lines
276 B
Go
14 lines
276 B
Go
//go:build !windows
|
|
|
|
package host
|
|
|
|
import "fmt"
|
|
|
|
func SampleProcessStats(pid int) (ProcessSample, error) {
|
|
return ProcessSample{}, fmt.Errorf("process stats sampling is only supported on Windows")
|
|
}
|
|
|
|
func fileActualSize(_ string, fallback uint64) uint64 {
|
|
return fallback
|
|
}
|