--- ./vendor/github.com/elastic/elastic-agent-system-metrics/metric/system/process/process_aix.go_orig	2025-05-26 00:38:07.387177292 -0500
+++ ./vendor/github.com/elastic/elastic-agent-system-metrics/metric/system/process/process_aix.go	2025-05-26 00:38:37.466842021 -0500
@@ -46,7 +46,7 @@
 	pid := C.pid_t(0)
 
 	procMap := make(ProcsMap, 0)
-	var wrappedErr err
+	var wrappedErr error
 	var plist []ProcState
 	for {
 		// getprocs first argument is a void*
@@ -201,3 +201,7 @@
 func FillMetricsRequiringMoreAccess(_ int, state ProcState) (ProcState, error) {
 	return state, nil
 }
+
+func GetSelfPid(hostfs resolve.Resolver) (int, error) {
+	return os.Getpid(), nil
+}
