aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2015-04-22 16:18:18 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-05-05 18:13:19 -0300
commitbc7cad429bcdda6f112525c17db9577a1be4c8aa (patch)
treee82f9b139356ad6c8caf6f750ab1e3f42ffb896d /tools/perf/scripts/python
parentb1a9ceef724341ce05b125d39abf9cfc7059b949 (diff)
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 <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions