projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b93da1
)
perf ui/tui: Add 'F' hotkey to toggle percentage output
author
Namhyung Kim
<namhyung@kernel.org>
Mon, 10 Feb 2014 02:20:10 +0000
(11:20 +0900)
committer
Jiri Olsa
<jolsa@redhat.com>
Wed, 16 Apr 2014 15:16:04 +0000
(17:16 +0200)
Add 'F' hotkey to toggle relative and absolute percentage of filtered
entries.
Suggested-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link:
http://lkml.kernel.org/r/1397145720-8063-7-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/ui/browsers/hists.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/ui/browsers/hists.c
b/tools/perf/ui/browsers/hists.c
index 7ad11477a0f5b3b78d815350219c84a36853078d..4d416984c59d1891d55a80ba845331c74c7d16cc 100644
(file)
--- a/
tools/perf/ui/browsers/hists.c
+++ b/
tools/perf/ui/browsers/hists.c
@@
-1389,6
+1389,7
@@
static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
"C Collapse all callchains\n" \
"d Zoom into current DSO\n" \
"E Expand all callchains\n" \
+ "F Toggle percentage of filtered entries\n" \
/* help messages are sorted by lexical order of the hotkey */
const char report_help[] = HIST_BROWSER_HELP_COMMON
@@
-1494,6
+1495,9
@@
static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
if (env->arch)
tui__header_window(env);
continue;
+ case 'F':
+ symbol_conf.filter_relative ^= 1;
+ continue;
case K_F1:
case 'h':
case '?':