]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - tools/perf/builtin-top.c
perf top: Add --percentage option
authorNamhyung Kim <namhyung@kernel.org>
Fri, 7 Feb 2014 03:06:07 +0000 (12:06 +0900)
committerJiri Olsa <jolsa@redhat.com>
Wed, 16 Apr 2014 15:16:03 +0000 (17:16 +0200)
commit33db4568e1f41efe6d0e4695483f968fc1135bf3
tree864186165ad27a133c773d36dd83b20cf5a19abc
parentf2148330544a697481219b5bc34261f6dd049bfb
perf top: Add --percentage option

The --percentage option is for controlling overhead percentage
displayed.  It can only receive either of "relative" or "absolute".
Move the parser callback function into a common location since it's
used by multiple commands now.

For more information, please see previous commit same thing done to
"perf report".

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1397145720-8063-4-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/Documentation/perf-top.txt
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/util/hist.c
tools/perf/util/hist.h