Hi Jiri,
On 5/18/2020 8:47 PM, Jiri Olsa wrote:
On Thu, May 14, 2020 at 01:36:38PM +0800, Jin Yao wrote:
SNIP
evlist__for_each_entry(evsel_list, counter) {
if (counter->err)
@@ -394,6 +403,7 @@ static void runtime_stat_reset(struct perf_stat_config
*config)
static voi
On Thu, May 14, 2020 at 01:36:38PM +0800, Jin Yao wrote:
SNIP
>
> evlist__for_each_entry(evsel_list, counter) {
> if (counter->err)
> @@ -394,6 +403,7 @@ static void runtime_stat_reset(struct perf_stat_config
> *config)
> static void process_interval(void)
> {
> str
Currently perf-stat supports to print counts at regular interval (-I),
but it's not very easy for user to get the overall statistics.
The patch uses 'evsel->prev_raw_counts' to get counts for summary.
Copy the counts to 'evsel->counts' after printing the interval results.
Next, we just follow the
3 matches
Mail list logo