perf cpu_map: Add data arg to cpu_map__build_map callback
authorJiri Olsa <jolsa@kernel.org>
Fri, 16 Oct 2015 10:41:15 +0000 (12:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Oct 2015 21:04:01 +0000 (18:04 -0300)
commit1fe7a30028eeccd92e6fccfbeb8c5c3811b11b64
tree8e2a4a120cd27dfb35084e9514bacec97bc2351a
parentf1cbb8f35719e36803f226d1bbf08ac12cedcd76
perf cpu_map: Add data arg to cpu_map__build_map callback

Adding data arg to cpu_map__build_map callback, so we could pass data
along to the callback. It'll be needed in following patches to retrieve
topology info from perf.data.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Kan Liang <kan.liang@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444992092-17897-41-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/tests/topology.c
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h
tools/perf/util/stat.c