summaryrefslogtreecommitdiffhomepage
path: root/runsc/main.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-06-20 13:30:39 -0700
committerShentubot <shentubot@google.com>2018-06-20 13:31:31 -0700
commit4ad7315b6759afa81f492ec119080deb9a224101 (patch)
tree0f1e4c51b199301023f0269855013e020cc54ea2 /runsc/main.go
parent5aa7615ec93335a922361728881ab1224a6e9266 (diff)
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
Diffstat (limited to 'runsc/main.go')
-rw-r--r--runsc/main.go1
1 files changed, 1 insertions, 0 deletions
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.