Re: [PATCH v3 3/4] perf stat: Copy counts from prev_raw_counts to evsel->counts

2020-05-07 Thread Jin, Yao
Hi Jiri, On 5/7/2020 11:19 PM, Jiri Olsa wrote: On Thu, May 07, 2020 at 02:58:21PM +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 v3 3/4] perf stat: Copy counts from prev_raw_counts to evsel->counts

2020-05-07 Thread Jiri Olsa
On Thu, May 07, 2020 at 02:58:21PM +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 v3 3/4] perf stat: Copy counts from prev_raw_counts to evsel->counts

2020-05-07 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