perf report tui: Improve multi event session support
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 6 Mar 2011 16:07:30 +0000 (13:07 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 6 Mar 2011 16:14:53 +0000 (13:14 -0300)
commit7f0030b211579939461468f25b80c73e293c46e0
treee0992d0a0c958526df603f9c18671a9612ff5b75
parente248de331a452f8771eda6ed4bb30d92c82df28b
perf report tui: Improve multi event session support

When multiple events were used in 'perf record', allow the user to
choose which one is wanted before showing the per event histograms.

Annotations will be performed on the chosen event.

Allow going back and forth from event to event quickly using just the
arrow keys and enter.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: William Cohen <wcohen@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/hist.h
tools/perf/util/ui/browsers/hists.c