summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-02-03 22:57:34 +0300
committerIngo Molnar <mingo@elte.hu>2011-02-03 22:57:34 +0300
commit1ebdfa803dc5ced604ebadd26fcb8cdca8e09b85 (patch)
treeae8a876031e6f4ee3280c313e02523cad4bd0121
parentaba99437f5af7a419a82438f7fab16bb3ddd9b44 (diff)
parent52bcd9947bffae88bb1758f19277d678aaebc2ec (diff)
downloadlinux-1ebdfa803dc5ced604ebadd26fcb8cdca8e09b85.tar.xz
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++) {