[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

[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 dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Ingo Molnar mi...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Peter Zijlstra pet...@infradead.org ---

[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

[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 dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Ingo Molnar mi...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Peter Zijlstra pet...@infradead.org ---