Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169748
b: refs/heads/master
c: 2e2af50
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 23, 2009
1 parent 0d8de96 commit b25928c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c2bfcbe58e0dd39554be88940149f5aa11e17d1
refs/heads/master: 2e2af50b1fab3c40636839a7f439c167ae559533
2 changes: 2 additions & 0 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ list_del_event(struct perf_event *event, struct perf_event_context *ctx)
if (event->group_leader != event)
event->group_leader->nr_siblings--;

event->state = PERF_EVENT_STATE_OFF;

/*
* If this was a group event with sibling events then
* upgrade the siblings to singleton events by adding them
Expand Down

0 comments on commit b25928c

Please sign in to comment.