perf evlist: Make create_maps() take struct perf_target
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 26 Apr 2012 05:15:19 +0000 (14:15 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 May 2012 18:23:11 +0000 (15:23 -0300)
commitb809ac100e2f12ebf1b58ff522dba15651a77d27
treeb5e4b894ed8cd8d0e1eb3e6252f2204f5bfae764
parent4bd0f2d2c0cf14de9c84c2fe689120c6b0f667c8
perf evlist: Make create_maps() take struct perf_target

Now we have all information that needed to create cpu/thread maps in
struct perf_target, it'd be better using it as an argument.

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/1335417327-11796-6-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-test.c
tools/perf/builtin-top.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h