Frederic Weisbecker
5225c45899
perf: Initialize callchains roots's childen hits
...
Each histogram entry has a callchain root that stores the
callchain samples. However we forgot to initialize the
tracking of children hits of these roots, which then got
random values on their creation.
The root children hits is multiplied by the minimum percentage
of hits provided by the user, and the result becomes the minimum
hits expected from children branches. If the random value due
to the uninitialization is big enough, then this minimum number
of hits can be huge and eventually filter every children branches.
The end result was invisible callchains. All we need to
fix this is to initialize the children hits of the root.
Reported-by: Christoph Hellwig <[email protected] >
Signed-off-by: Frederic Weisbecker <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Arnaldo Carvalho de Melo <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: 2.6.32.x-2.6.35.y <[email protected] >
2010-08-27 01:51:36 +02:00
..
arch
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2010-08-06 09:30:52 -07:00
bench
perf options: Check v type in OPT_U?INTEGER
2010-05-17 15:43:38 -03:00
Documentation
perf man pages: Fix cut'n'paste error
2010-07-28 11:30:10 -03:00
scripts
perf, sched migration: Librarize task states and event headers helpers
2010-08-02 01:32:00 +02:00
util
perf: Initialize callchains roots's childen hits
2010-08-27 01:51:36 +02:00
.gitignore
perf tools: .gitignore += config.make config.make.autogen
2010-06-17 10:24:31 -03:00
builtin-annotate.c
perf annotate: Sort by hottest lines in the TUI
2010-08-10 16:11:42 -03:00
builtin-bench.c
perf options: Type check all the remaining OPT_ variants
2010-05-17 16:22:41 -03:00
builtin-buildid-cache.c
perf buildid: add perfconfig option to specify buildid cache dir
2010-06-05 09:34:04 -03:00
builtin-buildid-list.c
perf tools: Remove unneeded code for tracking the cwd in perf sessions
2010-07-27 11:46:12 -03:00
builtin-diff.c
perf tools: Remove unneeded code for tracking the cwd in perf sessions
2010-07-27 11:46:12 -03:00
builtin-help.c
perf options: Type check all the remaining OPT_ variants
2010-05-17 16:22:41 -03:00
builtin-inject.c
perf inject: Add missing bits
2010-05-04 10:48:22 -03:00
builtin-kmem.c
perf: add perf-inject builtin
2010-05-02 13:36:56 -03:00
builtin-kvm.c
perf options: Type check all the remaining OPT_ variants
2010-05-17 16:22:41 -03:00
builtin-list.c
perf list: Fix large list output by using the pager
2009-08-13 09:05:48 +02:00
builtin-lock.c
perf options: Type check OPT_BOOLEAN and fix the offenders
2010-05-17 16:22:37 -03:00
builtin-probe.c
perf probe: Rename common fields/functions from kprobe to probe.
2010-07-30 12:01:38 -03:00
builtin-record.c
perf tools: Release session and symbol resources on exit
2010-07-30 18:31:28 -03:00
builtin-report.c
perf report: Speed up exit path
2010-08-05 19:46:47 -03:00
builtin-sched.c
perf: Use event__process_task from perf sched
2010-06-01 00:10:32 +02:00
builtin-stat.c
perf tools: Add the ability to specify list of cpus to monitor
2010-06-05 09:33:01 -03:00
builtin-test.c
perf options: Type check OPT_BOOLEAN and fix the offenders
2010-05-17 16:22:37 -03:00
builtin-timechart.c
perf timechart: Adjust confusing if indentation
2010-08-05 19:38:02 -03:00
builtin-top.c
perf: expose event__process function
2010-08-04 12:41:23 -03:00
builtin-trace.c
perf trace: Clean up #includes
2010-08-05 19:38:02 -03:00
builtin.h
perf: add perf-inject builtin
2010-05-02 13:36:56 -03:00
command-list.txt
perf inject: Add missing bits
2010-05-04 10:48:22 -03:00
CREDITS
perf_counter tools: Add CREDITS file for Git contributors
2009-06-24 19:54:29 +02:00
design.txt
perf: Fix few typos + cosmetics
2010-01-13 17:39:44 +01:00
feature-tests.mak
perf tools: Fix build error on read only source.
2010-08-18 13:32:37 -03:00
Makefile
perf tools: Fix build error on read only source.
2010-08-18 13:32:37 -03:00
MANIFEST
perf tools: Make target to generate self contained source tarball
2010-06-05 09:33:35 -03:00
perf-archive.sh
perf buildid: add perfconfig option to specify buildid cache dir
2010-06-05 09:34:04 -03:00
perf.c
perf buildid: add perfconfig option to specify buildid cache dir
2010-06-05 09:34:04 -03:00
perf.h
perf options: Type check OPT_BOOLEAN and fix the offenders
2010-05-17 16:22:37 -03:00