[PATCH 58/64] perf hists browser: Split popup menu actions

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim 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

[PATCH 58/64] perf hists browser: Split popup menu actions

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org 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