From 4ad7315b6759afa81f492ec119080deb9a224101 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Wed, 20 Jun 2018 13:30:39 -0700 Subject: Add 'runsc debug' command It prints sandbox stacks to the log to help debug stuckness. I expect that many more options will be added in the future. PiperOrigin-RevId: 201405931 Change-Id: I87e560800cd5a5a7b210dc25a5661363c8c3a16e --- runsc/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'runsc/main.go') diff --git a/runsc/main.go b/runsc/main.go index 4d69f5803..cd906e191 100644 --- a/runsc/main.go +++ b/runsc/main.go @@ -88,6 +88,7 @@ func main() { // The string below will be printed above the commands. const internalGroup = "internal use only" subcommands.Register(new(cmd.Boot), internalGroup) + subcommands.Register(new(cmd.Debug), internalGroup) subcommands.Register(new(cmd.Gofer), internalGroup) // All subcommands must be registered before flag parsing. -- cgit v1.2.3