perf_events: Generalize use of event_filter_match()
authorStephane Eranian <eranian@google.com>
Mon, 3 Jan 2011 16:20:01 +0000 (18:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:08:51 +0000 (15:08 +0100)
commit5632ab12e9e1fcd7e94058567e181d8f35e83798
tree70b077bd489e889bb049ded097119ea382a254f3
parent0b3fcf178deefd7b64154c2c0760a2c63df0b74f
perf_events: Generalize use of event_filter_match()

Replace all occurrences of:
event->cpu != -1 && event->cpu == smp_processor_id()
by a call to:
event_filter_match(event)

This makes the code more consistent and will make the cgroup
patch smaller.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4d220593.2308e30a.48c5.ffff8ae9@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c