perf stat: Move perf_evlist__(alloc|free|reset)_stats into stat object
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:16 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 14:44:37 +0000 (11:44 -0300)
commit24e34f68e21a47a582b3cc2eccdb835b80b1830a
tree967dd4dc1fc15494b29f4c6ae1bf8b1de70187d4
parenta939512d10a5583a32ae85c1bff6c4ae63a8a517
perf stat: Move perf_evlist__(alloc|free|reset)_stats into stat object

Moving perf_evlist__(alloc|free|reset)_stats into stat object,
so it could be used in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1435310967-14570-12-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/evlist.h
tools/perf/util/stat.c
tools/perf/util/stat.h