OpenCloudOS-Kernel/tools/perf/ui/browsers
Namhyung Kim 13d1e536b1 perf top: Move toggling event logic into hists browser
Current 'f' key action to enable/disable events won't work if there're
more than one event since perf_evsel_menu__run() doesn't return the key.
So move it to the hists browser loop so that it can be processed as like
other key action, and it's more natural to handle it there IMHO.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1434858076-6533-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-06-22 11:21:11 -03:00
..
Build perf build: Add slang objects building 2015-02-12 11:48:13 -03:00
annotate.c perf annotate: Display total number of samples with --show-total-period 2015-06-19 16:39:18 -03:00
header.c perf ui browsers: Add missing include 2014-10-10 15:53:42 -03:00
hists.c perf top: Move toggling event logic into hists browser 2015-06-22 11:21:11 -03:00
map.c perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
map.h perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
scripts.c perf tools: No need to test against NULL before calling free() 2013-12-26 15:58:52 -03:00