diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-20 00:55:35 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-20 00:55:35 +0000 |
commit | 37ec332cb27b4dbf2631585ac388414b34f88e88 (patch) | |
tree | e52699bf58a4a0d1cd0f12bf3563d83b8340806e /pkg | |
parent | 85438cb6ca4ea6081b526e633426ab000eee6fc0 (diff) | |
parent | d35a25cc887d2b52fb7e11ba23da6324054a43d0 (diff) |
Merge release-20201109.0-93-gd35a25cc8 (automated)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/watchdog/watchdog.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/watchdog/watchdog.go b/pkg/sentry/watchdog/watchdog.go index 1d1062aeb..8e3146d8d 100644 --- a/pkg/sentry/watchdog/watchdog.go +++ b/pkg/sentry/watchdog/watchdog.go @@ -338,6 +338,7 @@ func (w *Watchdog) report(offenders map[*kernel.Task]*offender, newTaskFound boo tid := w.k.TaskSet().Root.IDOfTask(t) buf.WriteString(fmt.Sprintf("\tTask tid: %v (goroutine %d), entered RunSys state %v ago.\n", tid, t.GoroutineID(), now.Sub(o.lastUpdateTime))) } + buf.WriteString("Search for 'goroutine <id>' in the stack dump to find the offending goroutine(s)") // Force stack dump only if a new task is detected. w.doAction(w.TaskTimeoutAction, newTaskFound, &buf) |