summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/task_exit.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-12-07 01:04:20 +0000
committergVisor bot <gvisor-bot@google.com>2019-12-07 01:04:20 +0000
commit5648c029a4358d4c2803fba978a3d86cae894766 (patch)
treea0a94433bbc41f3115568149160976c5bd459d89 /pkg/sentry/kernel/task_exit.go
parente880bc78798d9abe8554f82dc2106e6fd85ffc5e (diff)
parent371e210b83c244d8828ad2fa1b3d7cef15fbf463 (diff)
Merge release-20191129.0-18-g371e210 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task_exit.go')
-rw-r--r--pkg/sentry/kernel/task_exit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/task_exit.go b/pkg/sentry/kernel/task_exit.go
index 535f03e50..435761e5a 100644
--- a/pkg/sentry/kernel/task_exit.go
+++ b/pkg/sentry/kernel/task_exit.go
@@ -236,6 +236,7 @@ func (*runExit) execute(t *Task) taskRunState {
type runExitMain struct{}
func (*runExitMain) execute(t *Task) taskRunState {
+ t.traceExitEvent()
lastExiter := t.exitThreadGroup()
// If the task has a cleartid, and the thread group wasn't killed by a