]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6d9c03b93cdc82e6f00da067e39c71f3ed2487d
tree70b077bd489e889bb049ded097119ea382a254f3
parente6f6e178a0c33ce31786f0e1a1daec9a539881ac
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