git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf stat: Fix aggreate counter reading accounting
[pandora-kernel.git]
/
tools
/
perf
/
util
/
evsel.c
diff --git
a/tools/perf/util/evsel.c
b/tools/perf/util/evsel.c
index
f5cfed6
..
d8575d3
100644
(file)
--- a/
tools/perf/util/evsel.c
+++ b/
tools/perf/util/evsel.c
@@
-90,7
+90,7
@@
int __perf_evsel__read(struct perf_evsel *evsel,
int cpu, thread;
struct perf_counts_values *aggr = &evsel->counts->aggr, count;
- aggr->val = 0;
+ aggr->val =
aggr->ena = aggr->run =
0;
for (cpu = 0; cpu < ncpus; cpu++) {
for (thread = 0; thread < nthreads; thread++) {