vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542)

This commit is contained in:
Fabian Raetz
2018-04-21 19:19:12 +02:00
committed by Felix Lange
parent b15eb665ee
commit 744428cb03
12 changed files with 98 additions and 7 deletions

View File

@ -91,6 +91,10 @@ func (self *Swap) Get() error {
return nil
}
func (self *HugeTLBPages) Get() error {
return ErrNotImplemented{runtime.GOOS}
}
func (self *Cpu) Get() error {
var count C.mach_msg_type_number_t = C.HOST_CPU_LOAD_INFO_COUNT
var cpuload C.host_cpu_load_info_data_t