Re: [PATCH] perf target: Move what map fucntion to call check into function.

2013-11-28 Thread Dongsheng Yang
I will resend the correct one. Sorry for the bother. On 11/28/2013 02:32 PM, Dongsheng Yang wrote: 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 makin

[PATCH] perf target: Move what map fucntion to call check into function.

2013-11-27 Thread Dongsheng Yang
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 --- tools/perf/util/evlis