aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-05-11 02:13:55 -0400
committerIngo Molnar <mingo@kernel.org>2012-05-11 02:13:55 -0400
commit5dcefda0fd87fefa440abc9b9d3f1089229f8911 (patch)
treef19697dc461b40e277109fbba659d614892bb0d2 /tools/perf/ui/browsers
parentc4f400e837713f677de94390c57e7dc7567e0286 (diff)
parent5a5626b1b4bf8467891c9297ffda979db97ed5ec (diff)
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core: - perf_target: abstraction for --uid, --pid, --tid, --cpu, --all-cpus handling, eliminating code duplicated in the tools, having constraints that apply to all of them, from Namhyung Kim - Fixes for handling fallback to cpu-clock on PPC, from David Ahern - Fix for processing events with unknown size, from Jiri Olsa - Compilation fix on 32-bit, from Jiri Olsa Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/ui/browsers')
-rw-r--r--tools/perf/ui/browsers/annotate.c6
-rw-r--r--tools/perf/ui/browsers/hists.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c
index f171b4627cb1..06367c1df720 100644
--- a/tools/perf/ui/browsers/annotate.c
+++ b/tools/perf/ui/browsers/annotate.c
@@ -547,9 +547,9 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx,
547 struct map_symbol *ms = self->b.priv; 547 struct map_symbol *ms = self->b.priv;
548 struct symbol *sym = ms->sym; 548 struct symbol *sym = ms->sym;
549 const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, " 549 const char *help = "<-/ESC: Exit, TAB/shift+TAB: Cycle hot lines, "
550 "H: Go to hottest line, ->/ENTER: Line action, " 550 "H: Hottest line, ->/ENTER: Line action, "
551 "O: Toggle offset view, " 551 "O: Offset view, "
552 "S: Toggle source code view"; 552 "S: Source view";
553 int key; 553 int key;
554 554
555 if (ui_browser__show(&self->b, sym->name, help) < 0) 555 if (ui_browser__show(&self->b, sym->name, help) < 0)
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c
index 466827e91b87..a372a4b02635 100644
--- a/tools/perf/ui/browsers/hists.c
+++ b/tools/perf/ui/browsers/hists.c
@@ -941,7 +941,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
941 goto zoom_dso; 941 goto zoom_dso;
942 case 't': 942 case 't':
943 goto zoom_thread; 943 goto zoom_thread;
944 case 's': 944 case '/':
945 if (ui_browser__input_window("Symbol to show", 945 if (ui_browser__input_window("Symbol to show",
946 "Please enter the name of symbol you want to see", 946 "Please enter the name of symbol you want to see",
947 buf, "ENTER: OK, ESC: Cancel", 947 buf, "ENTER: OK, ESC: Cancel",
@@ -969,7 +969,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
969 "E Expand all callchains\n" 969 "E Expand all callchains\n"
970 "d Zoom into current DSO\n" 970 "d Zoom into current DSO\n"
971 "t Zoom into current Thread\n" 971 "t Zoom into current Thread\n"
972 "s Filter symbol by name"); 972 "/ Filter symbol by name");
973 continue; 973 continue;
974 case K_ENTER: 974 case K_ENTER:
975 case K_RIGHT: 975 case K_RIGHT: