linux/tools/perf
Frederic Weisbecker 1953287bfe perf tools: Fix call-chain cumul hit based sub-total (fractal mode)
The callchain fractal mode builds each new total hits in a new
branch of profiling by using the parent's hits of the current
branch plus the hits of the children.

This is wrong, the total hits of a branch should be made of the
sum of every children hits, we must ignore the parent hits in
this scope.

This patch also fixes another mistake with the hit counting.

Now the rates are correct.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-08-09 12:54:33 +02:00
..
Documentation perf top: Update man page 2009-08-09 12:54:32 +02:00
util perf tools: Fix call-chain cumul hit based sub-total (fractal mode) 2009-08-09 12:54:33 +02:00
.gitignore perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
Makefile perf: Auto-detect libelf 2009-08-06 20:25:13 +02:00
builtin-annotate.c perf_counter: PERF_SAMPLE_ID and inherited counters 2009-07-22 18:05:56 +02:00
builtin-help.c perf_counter tools: Add more warnings and fix/annotate them 2009-07-01 12:49:48 +02:00
builtin-list.c perf_counter tools: Add more warnings and fix/annotate them 2009-07-01 12:49:48 +02:00
builtin-record.c perf_counter: Fix/complete ftrace event records sampling 2009-08-09 12:53:48 +02:00
builtin-report.c perf tools: Fix call-chain cumul hit based sub-total (fractal mode) 2009-08-09 12:54:33 +02:00
builtin-stat.c perf_counter: Improve perf stat and perf record option parsing 2009-07-22 18:05:56 +02:00
builtin-top.c perf top: Improve interactive key handling 2009-08-09 12:54:31 +02:00
builtin.h perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
command-list.txt perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
design.txt perf_counter: Start documenting HAVE_PERF_COUNTERS requirements 2009-06-12 19:37:30 +02:00
perf.c perf_counter: Detect debugfs location 2009-07-22 18:05:57 +02:00
perf.h Merge branch 'perf-counters-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-perf 2009-07-22 11:41:56 -07:00