perf, x86: Restrict the ANY flag
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Mar 2010 11:35:37 +0000 (12:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 2 Mar 2010 14:06:46 +0000 (15:06 +0100)
commit320ebf09cbb6d01954c9a060266aa8e0d27f4638
tree0069898e64171dd89834327b0180c6d90860b46a
parentbb1165d6882f423f90fc7007a88c6c993b7c2ac4
perf, x86: Restrict the ANY flag

The ANY flag can show SMT data of another task (like 'top'),
so we want to disable it when system-wide profiling is
disabled.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
include/linux/perf_event.h
kernel/perf_event.c