...

Source file src/github.com/Microsoft/hcsshim/internal/uvm/dumpstacks.go

Documentation: github.com/Microsoft/hcsshim/internal/uvm

     1  //go:build windows
     2  
     3  package uvm
     4  
     5  import (
     6  	"context"
     7  )
     8  
     9  func (uvm *UtilityVM) DumpStacks(ctx context.Context) (string, error) {
    10  	if uvm.gc == nil || !uvm.guestCaps.DumpStacksSupported {
    11  		return "", nil
    12  	}
    13  
    14  	return uvm.gc.DumpStacks(ctx)
    15  }
    16  

View as plain text