perf_counter: Fix software counters for fast moving event sources
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 07:29:32 +0000 (09:29 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Aug 2009 10:54:30 +0000 (12:54 +0200)
commit7b4b6658e152ed4568cfff48175d93645df081d1
tree663ff8dc6b7b11fcfbfaf6e24e146e2e29b3489c
parent46ab976443c6c566c8fe6fc72a6733a55ba9fbea
perf_counter: Fix software counters for fast moving event sources

Reimplement the software counters to deal with fast moving
event sources (such as tracepoints). This means being able
to generate multiple overflows from a single 'event' as well
as support throttling.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c