|
@@ -7400,7 +7400,7 @@ __perf_event_exit_task(struct perf_event *child_event,
|
|
|
struct perf_event_context *child_ctx,
|
|
struct perf_event_context *child_ctx,
|
|
|
struct task_struct *child)
|
|
struct task_struct *child)
|
|
|
{
|
|
{
|
|
|
- perf_remove_from_context(child_event, !!child_event->parent);
|
|
|
|
|
|
|
+ perf_remove_from_context(child_event, true);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
* It can happen that the parent exits first, and has events
|
|
* It can happen that the parent exits first, and has events
|