OSDN Git Service

perf tools: Apply percent-limit to cumulative percentage
authorNamhyung Kim <namhyung@kernel.org>
Thu, 31 Oct 2013 01:17:39 +0000 (10:17 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:35:02 +0000 (14:35 +0200)
commit14135663f1d770bb057f8bf345e5436c985eb29c
tree390e9bb413cf8b6fb65375d339ce26b0ea2b5315
parentb09955b2a3d5fd02ed31d279f8c0ac29b32abe83
perf tools: Apply percent-limit to cumulative percentage

If -g cumulative option is given, it needs to show entries which don't
have self overhead.  So apply percent-limit to accumulated overhead
percentage in this case.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arun Sharma <asharma@fb.com>
Tested-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-14-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/hists.c
tools/perf/ui/stdio/hist.c
tools/perf/util/sort.h