|
@@ -294,6 +294,8 @@ list_del_event(struct perf_event *event, struct perf_event_context *ctx)
|
|
if (event->group_leader != event)
|
|
if (event->group_leader != event)
|
|
event->group_leader->nr_siblings--;
|
|
event->group_leader->nr_siblings--;
|
|
|
|
|
|
|
|
+ event->state = PERF_EVENT_STATE_OFF;
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* If this was a group event with sibling events then
|
|
* If this was a group event with sibling events then
|
|
* upgrade the siblings to singleton events by adding them
|
|
* upgrade the siblings to singleton events by adding them
|