diff --git a/profile.cgo b/profile.cgo index c6c34068bd..2428d36a05 100644 Binary files a/profile.cgo and b/profile.cgo differ diff --git a/test/integration/vendor/github.com/nginx/agent/v2/src/core/environment.go b/test/integration/vendor/github.com/nginx/agent/v2/src/core/environment.go index 41d377a04a..528550b294 100644 --- a/test/integration/vendor/github.com/nginx/agent/v2/src/core/environment.go +++ b/test/integration/vendor/github.com/nginx/agent/v2/src/core/environment.go @@ -604,11 +604,11 @@ func (env *EnvironmentType) Processes() (result []*Process) { p, _ := process.NewProcessWithContext(ctx, pid) name, _ := p.NameWithContext(ctx) cmd, _ := p.CmdlineWithContext(ctx) - + if env.isNginxProcess(name, cmd) { nginxProcesses[pid] = p } - + } for pid, nginxProcess := range nginxProcesses { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go index 41d377a04a..528550b294 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/environment.go @@ -604,11 +604,11 @@ func (env *EnvironmentType) Processes() (result []*Process) { p, _ := process.NewProcessWithContext(ctx, pid) name, _ := p.NameWithContext(ctx) cmd, _ := p.CmdlineWithContext(ctx) - + if env.isNginxProcess(name, cmd) { nginxProcesses[pid] = p } - + } for pid, nginxProcess := range nginxProcesses {