]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Introduce perf_evsel__alloc_stats function
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:17 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 14:46:00 +0000 (11:46 -0300)
commit23a54905cefbe023061510aeda1caf2fe5b90b9a
treee20b51a83e32859812870723c676af04a99003e8
parenta10c2088c77d9e76295223944c3b24c97267db1e
perf stat: Introduce perf_evsel__alloc_stats function

Move all stat allocation logic related to stat object under single
function. This way we can use it separately for stat object out of
evlist object.

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