]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Fix free_event()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 13 Sep 2010 09:15:58 +0000 (11:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Sep 2010 15:08:42 +0000 (17:08 +0200)
commite646b673e9f8903cdae7eac2f69961f3e6e864c0
treee92b420dcb1375e159842d8ffa03a5230976ab3a
parent8d12be3910ba159b8ae018cc001d6e75f332e279
perf: Fix free_event()

With the context rework stuff we can actually end up freeing an event
before it gets attached to a context.

Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c