Re: [PATCH 21/25] perf stat: Move perf_stat initialization counter process code
From: David Ahern
Date: Wed Jun 10 2015 - 14:47:19 EST
On 6/10/15 12:10 PM, Jiri Olsa wrote:
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index efc4d420f12e..3ababdb83aad 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -290,6 +290,7 @@ static int process_counter(struct perf_evsel *counter)
int i, ret;
aggr->val = aggr->ena = aggr->run = 0;
+ memset(ps->res_stats, 0, sizeof(ps->res_stats));
init_stats()?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/