aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-10-30 16:06:59 +0900
committerJiri Olsa <[email protected]>2014-06-01 14:35:00 +0200
commit594dcbf3186e2e1e5c08fa21e8826b90d347f23f (patch)
tree04af47780d4cdc8b4cb205a554cd76bf834b3ba9 /lib/test-string_helpers.c
parentbe7f855a3eebe07f797b9e4a43bf59bab8ca3dbe (diff)
perf ui/hist: Add support to accumulated hist stat
Print accumulated stat of a hist entry if requested. To do that, add new HPP_PERCENT_ACC_FNS macro and generate a perf_hpp_fmt using it. The __hpp__sort_acc() function sorts entries by accumulated period value. When accumulated periods of two entries are same (i.e. single path callchain) put the caller above since accumulation tends to put callers on higher position for obvious reason. Also add "overhead_children" output field to be selected by user. Signed-off-by: Namhyung Kim <[email protected]> Tested-by: Arun Sharma <[email protected]> Tested-by: Rodrigo Campos <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions