perf stat: Move 'interval' into struct perf_stat_config
authorJiri Olsa <jolsa@kernel.org>
Tue, 21 Jul 2015 12:31:25 +0000 (14:31 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2015 19:03:04 +0000 (16:03 -0300)
commitec0d3d1fd292adb80372193c03d859e9cbefd367
tree6b08d81ce93364bbaebf6d0c79bfe039bdaf190f
parent5821522e9484a8b503f89aa546085900b99589e9
perf stat: Move 'interval' into struct perf_stat_config

Moving 'interval' into struct perf_stat_config. 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-6-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