From: Namhyung Kim Date: Wed, 30 Oct 2013 07:06:59 +0000 (+0900) Subject: perf ui/hist: Add support to accumulated hist stat X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~16^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594dcbf3186e2e1e5c08fa21e8826b90d347f23f;p=pandora-kernel.git 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 Tested-by: Arun Sharma Tested-by: Rodrigo Campos Cc: Frederic Weisbecker Link: http://lkml.kernel.org/r/1401335910-16832-11-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed