aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index fb851ec34461..8be2574b89b6 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -4983,6 +4983,7 @@ void perf_event_exit_task(struct task_struct *child)
4983 * the events from it. 4983 * the events from it.
4984 */ 4984 */
4985 unclone_ctx(child_ctx); 4985 unclone_ctx(child_ctx);
4986 update_context_time(child_ctx);
4986 spin_unlock_irqrestore(&child_ctx->lock, flags); 4987 spin_unlock_irqrestore(&child_ctx->lock, flags);
4987 4988
4988 /* 4989 /*