perf stat: Introduce struct perf_stat_config
authorJiri Olsa <jolsa@kernel.org>
Tue, 21 Jul 2015 12:31:22 +0000 (14:31 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2015 19:02:29 +0000 (16:02 -0300)
commit421a50f3fafaf271bb3293378eaafca71337dfec
treeccd7ad591cd039b4e31115515013ba8e45b23c46
parent5a023b57a8e96327925a39312bccc443a7c540b6
perf stat: Introduce struct perf_stat_config

Moving 'aggr_mode' into new struct. The point is to centralize the base
stat config so it could be used localy together with other stat routines
in other parts of perf code.

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/1437481927-29538-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/stat.h