Re: [PATCH v2 1/2] perf evsel: Create counts for collecting summary data

2020-05-06 Thread Jin, Yao
Hi Jiri, On 5/5/2020 7:50 AM, Jiri Olsa wrote: On Sat, May 02, 2020 at 10:07:04AM +0800, Jin Yao wrote: It would be useful to support the overall statistics for perf-stat interval mode. For example, report the summary at the end of "perf-stat -I" output. But since perf-stat can support many

Re: [PATCH v2 1/2] perf evsel: Create counts for collecting summary data

2020-05-04 Thread Jiri Olsa
On Sat, May 02, 2020 at 10:07:04AM +0800, Jin Yao wrote: > It would be useful to support the overall statistics for perf-stat > interval mode. For example, report the summary at the end of > "perf-stat -I" output. > > But since perf-stat can support many aggregation modes, such as > --per-thread,

[PATCH v2 1/2] perf evsel: Create counts for collecting summary data

2020-05-01 Thread Jin Yao
It would be useful to support the overall statistics for perf-stat interval mode. For example, report the summary at the end of "perf-stat -I" output. But since perf-stat can support many aggregation modes, such as --per-thread, --per-socket, -M and etc, we need a solution which doesn't bring