linux/kernel/events
Peter Zijlstra 365a403848 perf: Fix mmap_page::offset computation
There's multiple reason the counter might be unavailable, change the
condition to !->index since perf_event_index() should return 0 for all
those cases.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-1ixr3olci40w8rgv2evv2ldh@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-21 11:01:09 +01:00
..
callchain.c perf: Carve out callchain functionality 2011-11-14 13:31:26 +01:00
core.c perf: Fix mmap_page::offset computation 2011-12-21 11:01:09 +01:00
hw_breakpoint.c perf, arch: Rework perf_event_index() 2011-12-21 11:01:07 +01:00
internal.h Merge branch 'perf/urgent' into perf/core 2011-12-06 06:43:49 +01:00
Makefile perf: Carve out callchain functionality 2011-11-14 13:31:26 +01:00
ring_buffer.c perf: Fix loss of notification with multi-event 2011-12-05 09:33:03 +01:00