kernel_optimize_test/tools/perf
Arnaldo Carvalho de Melo 52bcd9947b perf stat: Fix aggreate counter reading accounting
Introduced in: c52b12ed, when this sequence:

  count[0] = count[1] = count[2] = 0;

Was replaced with:

  aggr->val = 0;

Which is equivalent to zeroing just the first entry in the 'count'
array.

Fix it by zeroing the three entries with:

  aggr->val = aggr->ena = aggr->run = 0;

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-02-03 17:26:06 -02:00
..
arch
bench
Documentation
scripts
util perf stat: Fix aggreate counter reading accounting 2011-02-03 17:26:06 -02:00
.gitignore
builtin-annotate.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c
builtin-help.c
builtin-inject.c
builtin-kmem.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-kvm.c
builtin-list.c
builtin-lock.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-probe.c
builtin-record.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-report.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-sched.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-script.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-stat.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-test.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin-timechart.c
builtin-top.c perf tools: Fix 64 bit integer format strings 2011-01-22 23:41:57 -02:00
builtin.h
command-list.txt
CREDITS
design.txt
feature-tests.mak
Makefile perf tools: Fix build by checking if extra warnings are supported 2011-01-22 19:29:53 -02:00
MANIFEST
perf-archive.sh
perf.c
perf.h