diff options
| author | Peter Zijlstra <[email protected]> | 2010-10-15 09:40:29 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-10-18 17:58:51 +0000 |
| commit | 74c3337c2fc6389d3a57a622a936036b6db6b2e8 (patch) | |
| tree | d87232b7cc19eef0f1fe0a0bb167868513819b31 /lib/dynamic_debug.c | |
| parent | irq_work: Add generic hardirq context callbacks (diff) | |
| download | kernel-74c3337c2fc6389d3a57a622a936036b6db6b2e8.tar.gz kernel-74c3337c2fc6389d3a57a622a936036b6db6b2e8.zip | |
perf: Fix group moving
Matt found we trigger the WARN_ON_ONCE() in perf_group_attach() when we take
the move_group path in perf_event_open().
Since we cannot de-construct the group (we rely on it to move the events), we
have to simply ignore the double attach. The group state is context invariant
and doesn't need changing.
Reported-by: Matt Fleming <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1287135757.29097.1368.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
