mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 00:17:07 +08:00
Add v16.7.2
This commit is contained in:
18
vendor/github.com/power-devops/perfstat/config.go
generated
vendored
Normal file
18
vendor/github.com/power-devops/perfstat/config.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// +build aix
|
||||
|
||||
package perfstat
|
||||
|
||||
/*
|
||||
#cgo LDFLAGS: -lperfstat
|
||||
|
||||
#include <libperfstat.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
func EnableLVMStat() {
|
||||
C.perfstat_config(C.PERFSTAT_ENABLE|C.PERFSTAT_LV|C.PERFSTAT_VG, nil)
|
||||
}
|
||||
|
||||
func DisableLVMStat() {
|
||||
C.perfstat_config(C.PERFSTAT_DISABLE|C.PERFSTAT_LV|C.PERFSTAT_VG, nil)
|
||||
}
|
Reference in New Issue
Block a user