diff options
| author | Dongsheng Yang <[email protected]> | 2013-12-04 17:56:40 -0500 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-04 13:46:37 -0300 |
| commit | 9c105fbc94a67ea5943d309d9a78ca669e0ddc61 (patch) | |
| tree | 0de6e9599cbd1bd1e2a58cdb5050818be1b8ec1a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2f37573507643407d0a8f38c676ed2e90b795db3 (diff) | |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/b8c41f1fd2c4f0df71eb7b19aea74fb64d46cdda.1386197481.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions