[PATCH 18/26] perf stat: Introduce read_counters function

2015-06-18 Thread Jiri Olsa
Moving read counters logic into single read_counters function, which will be called for both interval and overall processing legs. The reason is to split reading and processing (following patches) counters code, so we could read counters from other sources (like perf.data) and process them in the

[PATCH 18/26] perf stat: Introduce read_counters function

2015-06-18 Thread Jiri Olsa
Moving read counters logic into single read_counters function, which will be called for both interval and overall processing legs. The reason is to split reading and processing (following patches) counters code, so we could read counters from other sources (like perf.data) and process them in the