You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lparstat.go
    path of file: ./repos/hubble-ui/backend/vendor/github.com/power-devops/perfstat
    
    the code of the file until where you have to start completion: //go:build aix
// +build aix

package perfstat

/*
#cgo LDFLAGS: -lperfstat

#include <lib
    
func PartitionStat() (*PartitionConfig, error) {
	var part C.perfstat_partition_config_t

	rc := C.perfstat_partition_config(nil, &part, C.sizeof_perfstat_partition_config_t, 1)
	if rc != 1 {
		return nil, fmt.Errorf("perfstat_partition_config() error")
	}
	p := perfstatpartitionconfig2partitionconfig(part)
	return &p, nil

}