diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-04-22 10:18:18 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-05-06 00:13:19 +0300 |
commit | bc7cad429bcdda6f112525c17db9577a1be4c8aa (patch) | |
tree | e82f9b139356ad6c8caf6f750ab1e3f42ffb896d /tools/perf/util/pstack.h | |
parent | b1a9ceef724341ce05b125d39abf9cfc7059b949 (diff) | |
download | linux-bc7cad429bcdda6f112525c17db9577a1be4c8aa.tar.xz |
perf hists browser: Split popup menu actions
Currently perf_evsel__hists_browse() function spins on a huge loop and
handles many key actions. Since it's hard to read and modify, let's
split it out into small helper functions.
This patch introduces do_XXX() functions which corresponds to each goto
label. This way we can call such functions both from key press actions
and popup menu actions.
No functional change intended.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1429687101-4360-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pstack.h')
0 files changed, 0 insertions, 0 deletions