perf_events: Revert: Fix transaction recovery in group_sched_in()
authorStephane Eranian <eranian@google.com>
Wed, 20 Oct 2010 13:25:01 +0000 (15:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Oct 2010 12:18:27 +0000 (14:18 +0200)
commit9ffcfa6f1f63eeac15555b745c292eb9f59130f6
tree803cc11f312da98713fdfc366b7ec79351dffa55
parent96681fc3c9e7d1f89ab64e5eec40b6467c97680f
perf_events: Revert: Fix transaction recovery in group_sched_in()

This patch reverts commit 8e5fc1a (perf_events: Fix transaction
recovery in group_sched_in()) because it had one flaw in case the
group could never be scheduled. It would cause time_enabled to get
negative.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4cbeeeb7.0aefd80a.6e40.0e2f@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c