[PATCH 8/9] perf stat: move to perf_evlist__open_counters

2012-10-29 Thread David Ahern
Removes a lot of duplicated code moving to the common open method. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra --- tools/perf/builtin-stat.c | 103 ++--- 1 file changed, 22 inserti

[PATCH 8/9] perf stat: move to perf_evlist__open_counters

2012-10-10 Thread David Ahern
Removes a lot of duplicated code moving to the common open method. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra --- tools/perf/builtin-stat.c | 103 ++--- 1 file changed, 22 inserti