perf: Introduce is_sampling_event()
authorFranck Bui-Huu <fbuihuu@gmail.com>
Tue, 23 Nov 2010 15:21:43 +0000 (16:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Nov 2010 14:14:54 +0000 (15:14 +0100)
commit6c7e550f13f8ad82efb6a5653ae628c2543c1768
tree1c994b999648fbe51ffe4312e2d6827aedd5f012
parent35d3778a8fe3c8b4a7513565e34d3bde00ce43ec
perf: Introduce is_sampling_event()

and use it when appropriate.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290525705-6265-1-git-send-email-fbuihuu@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
include/linux/perf_event.h
kernel/perf_event.c