aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-02-03 20:57:34 +0100
committerIngo Molnar <mingo@elte.hu>2011-02-03 20:57:34 +0100
commit1ebdfa803dc5ced604ebadd26fcb8cdca8e09b85 (patch)
treeae8a876031e6f4ee3280c313e02523cad4bd0121
parentMerge branch 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff)
parentperf stat: Fix aggreate counter reading accounting (diff)
downloadlinux-dev-1ebdfa803dc5ced604ebadd26fcb8cdca8e09b85.tar.xz
linux-dev-1ebdfa803dc5ced604ebadd26fcb8cdca8e09b85.zip
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent
-rw-r--r--tools/perf/util/evsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index f5cfed60af98..d8575d31ee6c 100644
--- 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++) {