commit | 5632ab12e9e1fcd7e94058567e181d8f35e83798 | [log] [tgz] |
---|---|---|
author | Stephane Eranian <eranian@google.com> | Mon Jan 03 18:20:01 2011 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 07 15:08:51 2011 +0100 |
tree | 70b077bd489e889bb049ded097119ea382a254f3 | |
parent | 0b3fcf178deefd7b64154c2c0760a2c63df0b74f [diff] |
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>