From df191c7fd0bb6b36fbf55791a49f3c1daa3135e9 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Thu, 12 Dec 2019 00:56:13 -0800 Subject: vm/gvisor: show a list of processes in case of any failures Signed-off-by: Andrei Vagin --- vm/gvisor/gvisor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm') diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 4e0ffe645..eba72bda1 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -328,7 +328,7 @@ func (inst *instance) guestProxy() (*os.File, error) { } func (inst *instance) Diagnose() ([]byte, bool) { - b, err := osutil.Run(time.Minute, inst.runscCmd("debug", "-stacks", inst.name)) + b, err := osutil.Run(time.Minute, inst.runscCmd("debug", "-stacks", "--ps", inst.name)) if err != nil { b = append(b, []byte(fmt.Sprintf("\n\nError collecting stacks: %v", err))...) } -- cgit mrf-deployment