perf stat: Use perf_evlist__create_maps
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 7 May 2012 05:09:04 +0000 (14:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 May 2012 20:52:22 +0000 (17:52 -0300)
commit77a6f014e9ae330c747c66bebfddf29abf9b89e9
tree0d066e78eb3386ea36eaf1d927e680d3958e680f
parentd67356e7f80f5c2ef487bedc11a91d5fe18c5a15
perf stat: Use perf_evlist__create_maps

Use same function with perf record and top to share the code checks
combinations of different switches.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1336367344-28071-8-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c