summaryrefslogtreecommitdiffhomepage
path: root/runsc/config/flags.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-27 20:43:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-27 20:43:02 -0700
commit22ac9b07237f79e55b8af64cce02b4753e0c7cab (patch)
tree1aa4b07d47257ff3576fd9b9367da642f0fd3491 /runsc/config/flags.go
parent93d2d37a93640328f01add7d4866bc107ff6a74e (diff)
parent3b8193e762c1cc37df42104f5abeb6fdc7b70c01 (diff)
Merge pull request #4587 from lnsp:stacktrace
PiperOrigin-RevId: 339385609
Diffstat (limited to 'runsc/config/flags.go')
-rw-r--r--runsc/config/flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/config/flags.go b/runsc/config/flags.go
index a5f25cfa2..d3203b565 100644
--- a/runsc/config/flags.go
+++ b/runsc/config/flags.go
@@ -49,6 +49,7 @@ func RegisterFlags() {
flag.String("debug-log-format", "text", "log format: text (default), json, or json-k8s.")
flag.Bool("alsologtostderr", false, "send log messages to stderr.")
flag.Bool("allow-flag-override", false, "allow OCI annotations (dev.gvisor.flag.<name>) to override flags for debugging.")
+ flag.String("traceback", "system", "golang runtime's traceback level")
// Debugging flags: strace related
flag.Bool("strace", false, "enable strace.")