[PATCH 6/9] perf stat: move user options to perf_record_opts

2012-10-29 Thread David Ahern
This is required for perf-stat to use perf_evlist__open_counters. And move opts to a stack variable. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra --- tools/perf/builtin-stat.c | 167 +++

[PATCH 6/9] perf stat: move user options to perf_record_opts

2012-10-10 Thread David Ahern
This is required for perf-stat to use perf_evlist__open_counters. And move opts to a stack variable. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra --- tools/perf/builtin-stat.c | 161 +++