perf: Simplify perf_event_exit_task_context()
authorPeter Zijlstra <[email protected]>
Mon, 5 May 2014 10:42:29 +0000 (12:42 +0200)
committerIngo Molnar <[email protected]>
Wed, 7 May 2014 11:44:19 +0000 (13:44 +0200)
commit3a497f48637e2aac17eabb84a17f8ac5216028fc
tree9bbebe9cfd32e99b07f5924f7946d8dbe7c547a0
parent683ede43dd412c6cad0d23578a018409ac9c683e
perf: Simplify perf_event_exit_task_context()

Instead of jumping through hoops to make sure to find (and exit) each
event, do it the simple straight fwd way.

Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/core.c