aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2016-01-27 15:40:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-02-01 19:42:31 +0000
commit744070e0e4ac691bb43608f7bf46a9641a9cf342 (patch)
tree9138471caecb6bd303c7b12eddcdefc54b3e056d /tools/perf/scripts/python/sctop.py
parentperf build: Align the names of the build tests: (diff)
downloadkernel-744070e0e4ac691bb43608f7bf46a9641a9cf342.tar.gz
kernel-744070e0e4ac691bb43608f7bf46a9641a9cf342.zip
perf hists: Fix min callchain hits calculation
The total period should be get using hists__total_period() since it takes filtered entries into account. In addition, if callchain mode is 'fractal', the total period should be the entry's period. Signed-off-by: Namhyung Kim <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions