perf stat: Introduce evlist methods to allocate/free the stats
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Mar 2013 14:24:21 +0000 (11:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Mar 2013 14:34:09 +0000 (11:34 -0300)
commitd134ffb919ab142b2359ae45a0cf4a5bfa1ff283
tree1f9268d69ec3b43294b782e7a7521bc06fc14001
parenta7e191c376fad084d9f3c7ac89a1f7c47462ebc8
perf stat: Introduce evlist methods to allocate/free the stats

Reducing the noise in the main logic.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-o219lnci04hlilxi6711wtcr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c