Initial commit

This commit is contained in:
eleksir
2024-03-12 23:14:55 +03:00
commit 74eaf3bd75
634 changed files with 259702 additions and 0 deletions

19
vendor/github.com/power-devops/perfstat/config.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
//go:build aix
// +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)
}