perf stat report: Add support to initialize aggr_map from file
authorJiri Olsa <jolsa@kernel.org>
Thu, 5 Nov 2015 14:40:58 +0000 (15:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 19:28:43 +0000 (16:28 -0300)
commit68d702f7a1202dd39d9fa01b7bea92ba9e5785d9
treed1ea4de2349568c9a27271be36dcf14ddd2b98eb
parent62ba18ba938a8740ab18e02342b282d7378986f7
perf stat report: Add support to initialize aggr_map from file

Using perf.data's perf_env data to initialize aggregate config.

Reported-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
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/1446734469-11352-15-git-send-email-jolsa@kernel.org
[ s/stat/st/g, s/socket/socket_id/g to fix 'already defined' build error with older distros (e.g. RHEL6.7) ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c