diff options
author | Namhyung Kim <[email protected]> | 2016-01-28 00:40:49 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-01 16:45:44 -0300 |
commit | 0f58474ec835f6fc80af2cde2c7ed5495cd212ba (patch) | |
tree | 7bf1f34cc4cf11c3a5bafe5297d3398ff4234ce7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 744070e0e4ac691bb43608f7bf46a9641a9cf342 (diff) |
perf hists: Update hists' total period when adding entries
Currently the hist entry addition path doesn't update total_period of
hists and it's calculated during 'resort' path. But the resort path
needs to know the total period before doing its job because it's used
for calculating percent limit of callchains in hist entries.
So this patch update the total period during the addition path. It
makes the percent limit of callchains working (again).
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions