linux_old1/kernel/events
Eric B Munson 0d6412085b events: Ensure that timers are updated without requiring read() call
The event tracing infrastructure exposes two timers which should be updated
each time the value of the counter is updated.  Currently, these counters are
only updated when userspace calls read() on the fd associated with an event.
This means that counters which are read via the mmap'd page exclusively never
have their timers updated.  This patch adds ensures that the timers are updated
each time the values in the mmap'd page are updated.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1308932786-5111-1-git-send-email-emunson@mgebm.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-07-01 11:06:34 +02:00
..
Makefile perf: Split up buffer handling from core code 2011-06-09 12:57:54 +02:00
core.c events: Ensure that timers are updated without requiring read() call 2011-07-01 11:06:34 +02:00
hw_breakpoint.c hw breakpoints: Move to kernel/events/ 2011-05-03 15:26:43 +02:00
internal.h perf: Split up buffer handling from core code 2011-06-09 12:57:54 +02:00
ring_buffer.c perf_events: Fix perf buffer watermark setting 2011-07-01 11:06:32 +02:00