Dongsheng Yang 9c105fbc94 perf target: Move the checking of which map function to call into function.
Check for cpu_map__dummy_new() or cpu_map__new() to be called in
perf_evlist__create_maps() is more complicated.

This patch moves the checking work into target.h, combining two
conditions and making perf_evlist__create_maps() more readable.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/b8c41f1fd2c4f0df71eb7b19aea74fb64d46cdda.1386197481.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-12-04 13:46:37 -03:00
..
2013-11-05 15:15:07 -03:00
2011-02-16 13:30:48 +01:00
2012-02-13 23:17:40 -02:00
2012-12-09 08:46:07 -03:00
2013-11-05 15:15:07 -03:00
2013-11-05 15:15:07 -03:00
2013-11-07 11:51:19 -03:00
2013-08-07 17:35:26 -03:00
2013-08-07 17:35:26 -03:00
2013-03-13 17:00:33 -03:00
2013-11-27 14:58:38 -03:00
2013-09-11 10:09:32 -03:00
2013-12-02 09:22:46 -03:00
2013-12-02 09:22:46 -03:00
2013-07-08 17:59:07 -03:00